In Part 1 of this Coding Challenge, I discuss the concepts of “N-grams” and “Markov Chains” as they relate to text. I use Markova chains to generate text automatically based on a source text.

Programming from A to Z – Markov Chains URL:

Part 2:

Support this channel on Patreon:

Send me your questions and coding challenges!:


GitHub Repo with all the info for Programming from A to Z:

Links discussed in this session:
Google’s Ngram Viewer:
n-gram on Wikipedia:
Chris Harrison’s Web Trigrams:
Allison Parrish’s( Generative Course Descriptions:
Allison Parrish’s website:
Michael Walker’s King James Programming:
Victor Powell’s Markov Chains Explained:
Flooper’s Perlin Noise song:

Source Code for the all Video Lessons:


For More Programming from A to Z videos:

For More Coding Challenges:

Help us caption & translate this video!