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.'

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