Markov Chain Algorithm (cont)
Example text:
this is mine, this is yours, this is ours (end)
Example outputs from this text:
- this is ours
- this is mine this is ours
- this is mine this is mine this is ours
- this is mine this is yours this is ours
- this is mine this is yours this is mine this is ours
- 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
|