In this web content, the author discusses how to generate text using a simple Markov chain algorithm. The algorithm involves recording pairs of words from an input text and generating random sequences of words based on those pairs. The author notes that using two words to select a third word produces a good balance between coherence and creativity in the generated text. The author provides examples of generated text using different input texts, such as the Ten Commandments and various books. They also share a Python implementation of the algorithm. The author finds it fascinating how such a simple algorithm can produce interesting and creative output. They also highlight the clever design choice of including capital letters and punctuation in the recorded words. The author encourages readers to have fun generating text using their own inputs. [Word count: 199]
https://benhoyt.com/writings/markov-chain/