# Markov Chain Text Generator A project by @MonkeyBean2 Use [Turbowarp](https://turbowarp.org/732388172) for long text ### Gram Length "Grams" are tiny sections of text. Set the gram length to something like 2, 3, 4, or 5. Smaller gram lengths make the text less realistic, but more interesting (in my opinion) as the markov chain is less constrained, and longer gram lengths make the text more realistic, as the markov chain has to pick from larger groups of words, which will more accuratly resemble the patterns found in the source text. ### Text Enter some long text to get it to work well (but not too much, because it is rather slow, so I reccomend using [Turbowarp](https://turbowarp.org/732388172) for large text) ### Starter The starter is simply a gram on which to start. ### How it works This project uses a [Markov Chain](https://en.wikipedia.org/wiki/Markov_chain). Markov chains work by analyzing the probability that a certain gram will come after another gram. In the generation faze, It picks a gram, looks at all the grams that could come after it, and randomly picks one according to the probabilities. ### Comment the funny sentences this comes up with! Have fun!