A Markov model trained on Internet Archive text files.
Project description
A Markov model trained on Internet Archive text files.
Free software: BSD license
Installation
pip install ia-markov
Quick Start
import ia_markov 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.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.1.2.tar.gz
(18.5 kB
view hashes)
Built Distribution
Close
Hashes for ia_markov-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cf0fe2f419f0477fec3131347d2bff3494fe764a243958438dc9d801af9b3c2 |
|
MD5 | 9ef283936323a78e925f5488a3677c15 |
|
BLAKE2b-256 | 5cb71fc6cf604326e3d4595fef966b32b6f51c5e6b388cb53f6f35bed303effb |