From bb41219c80f9b848e253781892abec6b4a7ca746 Mon Sep 17 00:00:00 2001 From: Blink The Things Date: Thu, 5 Nov 2020 09:37:49 -0500 Subject: [PATCH] Add README.md --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b201a60 --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# NaNoGenMo 2020 + +## Install + +```` +$ python3 -m venv venv +$ . venv/bin/activate +(venv) $ pip install -r requirements.txt +(venv) $ python -m spacy download en_core_web_sm +```` + +## markov.py + +Generate a novel using Markov chains. + +### Usage + +```` +(venv) $ python markov.py -h +usage: markov.py [-h] [-s SEED] input [input ...] + +Generate a novel using Markov chains. + +positional arguments: + input used to construct Markov transition matrix + +optional arguments: + -h, --help show this help message and exit + -s SEED, --seed SEED seed for random number generator + ```` \ No newline at end of file