Press space. Uses the Markov Model (very simple AI / pattern detection) paired with 200 THOUSAND words from the Brown Corpus to auto complete sentences! Now, 200k is only about 1/6 of the entire size of the Brown Corpus. I could include all 1.2m words from it, but then the project size would exceed 50MB. So you are stuck with this junky and buggy auto complete. It works, but it's missing a lot. The idea is there at least. Also because it can't really "see" the rest of the sentence it just autocompletes based off of the last word in the sentence (getting updated every repeat)
there was a small error in the code. I fixed it. It now should work properly Note: Extra randomization tends to be very random and make no sense at all. Used just for fun to be honest. If there is no instance of a word in the starting sentence, it will choose a completely random word to replace it. This pretty much contains ALL basic words however, so this shouldn't be a problem.