MikaelaKlein / markov

A simple Markov chain generator done purely for fun.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

markov

Just a fun little experiment in producing Markov chains.

You really shouldn't use this, it's mostly just for me. Uses JSON for serialization. Python 2.6+ or Python 3.3+.

Usage

You can test the main code via:

python markov.py

Which will dump out some text based on Python's random docs.

You can also test against some Project Gutenberg works, by first loading the the data with:

python guten_mark.py parse

Then producing a quote using:

python guten_mark.py quote

License

New BSD

About

A simple Markov chain generator done purely for fun.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%