[prev] [index] [next]

Markov Chain Algorithm (cont)

Example text:

this is mine, this is yours, this is ours (end)

Example outputs from this text:

  1.   this is ours
  2.   this is mine this is ours
  3.   this is mine this is mine this is ours
  4.   this is mine this is yours this is ours
  5.   this is mine this is yours this is mine this is ours
  6.   this is mine this is mine this is yours this is mine this is mine

Assumes that we don't want to generate more than fifteen words