Blink The Things 84e8dd6671 | 4 years ago | |
---|---|---|
.gitignore | 4 years ago | |
COPYING | 4 years ago | |
README.md | 4 years ago | |
markov.py | 4 years ago | |
requirements.txt | 4 years ago |
$ python3 -m venv venv
$ . venv/bin/activate
(venv) $ pip install -r requirements.txt
(venv) $ python -m spacy download en_core_web_sm
Generate a novel using Markov chains.
(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