Ben Hoyt personal blog

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

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.
Points
230
HN comments
71
Submissions
1
Cited by
0 commenters

Software EngineeringMath & Algorithms2024

On Hacker News

SubmittedTitle on HNPointsComments
Jan 1, 2024Using a Markov chain to generate readable nonsense with 20 lines of Python by benhoyt23071

More from Ben Hoyt

All 21 posts →

Related posts from the same era