Markov Chains

This page demonstrates generating text from a Markov chain. The program reads in text from The Nature of Code and text from A Midsummer Night's Dream generates a new text from character-based "n-gram" probabilities from the source texts. Each text is weighted accordingly to the slider below. File issues and view source on github.

nature of codeshakespeare