Word-based PHP Markov chain text generator

This is a very simple word-based Markov chain text generator. Try it below by entering some text or by selecting one of the pre-selected texts available.

The source code of this generator is available under the terms of the MIT license. This is a fork of Hay Kranen's Markov chain text generator by WhiteFangs, you can find it on GitHub. Instead of working at the letters level, it works at the words level. See the original posting of the letter-based generator here.

Input text