Overview¶
docs | |
---|---|
tests | |
package |
Create Markov models trained on Internet Archive text files.
- Free software: BSD license
Installation¶
pip install ia-markov
Quick Start¶
from ia_markov import MarkovModel
m = MarkovModel()
m.train_model('FuturistManifesto')
m.model.make_sentence()
'Courage, audacity, and revolt will be drunk with love and admiration for us.'
Documentation¶
Development¶
To run the all tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows | set PYTEST_ADDOPTS=--cov-append
tox
|
---|---|
Other | PYTEST_ADDOPTS=--cov-append tox
|