>

Artificial Intelligence Law

Technology, Law, and Policy

$title =

Markov Chain Generator

;

$content = [

A Simple Markov Model:
Consonants and Vowels

V C 0.128 0.872 0.663 0.337

This page stochastically generates a Markov Chain by selecting the next letter type (consonant C or vowel V) at each step of the chain based only on the letter type at the previous step and the transition probabilities Andrey Markov calculated in his famous paper. Press the Start button below and watch the totals converge to the overall proportion of vowels that Markov hand-counted in the first 20,000 characters of Eugene Onegin (approximately 43%).

ObservedV→VV→CC→VC→C
Count0000
Share––––

Share = fraction of moves out of each state

Vowels
0
–
Consonants
0
–
Steps: 0 Current: – Last 12:

Running % vowels over time (dashed white line: long-run expectation, V / C):

Built with Claude Code

];