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.1.tar.gz
(16.0 kB
view hashes)
Built Distribution
Close
Hashes for ia_markov-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea414b0d7049a312e28355df7a032c9af7f7258f63878dc5f39624203b305599 |
|
MD5 | c2078c71ae18da22978158af7cfe2c95 |
|
BLAKE2b-256 | d2f33b7a4b2a7db9badbe130c8d54a5a021789af19f6d75b6b19688031fc9e76 |