Skip to main content

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

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

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)

Uploaded Source

Built Distribution

ia_markov-0.1.1-py2.py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page