2 Commits

2 changed files with 30 additions and 1 deletions
Split View
  1. +30
    -0
      README.md
  2. +0
    -1
      requirements.txt

+ 30
- 0
README.md View File

@ -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
````

+ 0
- 1
requirements.txt View File

@ -3,7 +3,6 @@ catalogue==1.0.0
certifi==2020.6.20
chardet==3.0.4
cymem==2.0.4
en-core-web-sm==2.3.1
idna==2.10
murmurhash==1.0.4
numpy==1.19.4


Loading…
Cancel
Save