Skip to main content

A Markov model trained on Internet Archive text files.

Project description

Create Markov models trained on Internet Archive text files.

  • Free software: BSD license

Installation

pip install ia-markov

Quick Start

from ia_markov import Composer

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.3 (2018-7-22)

  • EOL Py2.7 and Windows support

  • Fix docs CI build

0.1.2 (2018-7-21)

  • Test mocks when downloading corpus

  • Deprecate Windows/appveyor support

0.1.1 (2018-7-14)

  • Fixed failing flake8 check tests

  • Updated travis CI build config

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.3.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ia_markov-0.1.3-py2.py3-none-any.whl (4.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ia-markov-0.1.3.tar.gz.

File metadata

  • Download URL: ia-markov-0.1.3.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ia-markov-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e20ae03c63834565f8b6db8d264beab2cf23e04958ac0eb55f4c76c857d26946
MD5 566b68356699275c1ec7c2794f7f0edd
BLAKE2b-256 e00286c22b1f6b1ce06909e9b64c0029d2a2d5556242c106f0098d61130a4423

See more details on using hashes here.

File details

Details for the file ia_markov-0.1.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ia_markov-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 85769f013ec521598a2f807f3f0636ab9f778b841a594cf33ad6d5efdae787ac
MD5 2b00f41248730262bfb8d3a6df410480
BLAKE2b-256 a35269f088b31cacc28d0d57edfc113abe3177ee64dcd7843d9260ee97808f19

See more details on using hashes here.

Supported by

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