markov_brain is a generic markov chain text generation module in python.
It was written as an easy-to-use black box for other applications.
Example usage can be found in test_markov_brain.py. Simply create
a new Brain() using the "past_memory" configuration to load any previous
knowledge.
... [More]
Adding more 'memory' is done by calling remember(words_list).
Generating text is done by calling speak_about(subject, max_chars=140). [Less]
This site uses cookies to give you the best possible experience.
By using the site, you consent to our use of cookies.
For more information, please see our
Privacy Policy