Using a Markov chain to generate readable nonsense with 20 lines of Python

Lobsters·22 points·carlana·almost 3 years ago·benhoyt.com

Describes a simple Markov chain algorithm to generate reasonable-sounding but utterly nonsensical text, and presents some example outputs as well as a Python implementation.

Read the full article at benhoyt.com →

Related stories

Related topics