Count which words follow which in a small corpus, turn the counts into probabilities, write sentences by drawing from them, and measure surprise with perplexity.
This interactive visualization needs JavaScript.