Skip to content

Latest commit

 

History

History
112 lines (76 loc) · 2.88 KB

README.rst

File metadata and controls

112 lines (76 loc) · 2.88 KB

Overview

docs Documentation Status
tests
Travis-CI Build Status Requirements Status
Coverage Status Coverage Status
package PyPI Package latest release PyPI Wheel Supported versions Supported implementations

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

https://python-ia-markov.readthedocs.io/

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