Sentence Generator

How it works. Load in a text file (or several). Then click on "Create some text". It will start at the beginning of the last file you loaded in then randomly find a match given the last x number of letters (where x is the depth).
A depth of 2 or 3 will give garbled words, a depth of 10-13 gives the best compromise of accuracy and randomness as this is enough to compare 2-3 previous words.
It has no real intelligence. This example demonstrates apparent intelligence and can be used as a counter to some neural network models which preport to have generating meaningful sentences.
The missing element is "syntax" and as a result the missing internal model of grammar.
However it is quite fun
(When loading in a long file it can take several seconds to process).
Depth: Remove newlines