aaronmerriam/perjury — pull request #4 by rockymeza (2012-10-08 03:03:52+00:00)
Title: added MarkovGenerator

Takes a corpus and spits out made-up content based on the corpus.

```python
>>> from perjury.generators.markov import MarkovGenerator
>>> markov = MarkovGenerator('...')
```

Comes with a built-in Shakespeare generator with corpus from .

```python
>>> from perjury.generators.markov import shakespeare
>>> print shakespeare.word()
father
>>> print shakespeare.sentence()
Piercing the go:
Thou and 'O have still before To-morrow, away:
Your and own,
Of name tell, by liv'd lord doth with this main gave
In is and he.
```