markovify (pypi): A simple, extensible Markov chain generator. Uses include generating random semi-plausible sentences based on an existing text.
Keywords: markov|chain|text