A Markov model trained on Internet Archive text files.
Project description
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 |
Changelog
0.2.0 (2018-7-29)
Added ability to set custom hidden state sizes
Fix flaky model test
0.1.3 (2018-7-22)
EOL Py2.7 and Windows support
Fix docs CI build
0.1.2 (2018-7-21)
Test mocks when downloading corpus
Deprecate Windows/appveyor support
0.1.1 (2018-7-14)
Fixed failing flake8 check tests
Updated travis CI build config
0.1.0 (2016-11-27)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ia-markov-0.2.0.tar.gz
(18.8 kB
view hashes)
Built Distribution
Close
Hashes for ia_markov-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a2821bf7584a71c7aed46e9c077d0fda34899f5c4a68eb84e42bdf1f82bc348 |
|
MD5 | c966907eba9123af79dcc0143ce74f7a |
|
BLAKE2b-256 | 8f25b74a2553c46ee1a4f7893e6a56ec4b91b6e9c387246b713544714da87c3c |