READ INSTRUCTIONS BEFORE USING! REPORT ANY BUGS YOU ENCOUNTER! Press space and input any phrase to predict the next word. Note that only the last letter of your phrase will be considered in the prediction. Press 1 to delete a selected item from the corpus. Press 2 to add a phrase to the corpus. Press 3 to delete all items from the corpus. Press 4 to replace the corpus with user suggestions. Press 5 to replace the corpus with comments on my profile. Press 0 to view variables DO NOT: -enter one-word phrases -use punctuation -press the green flag -bash random letters -input words that don't exist in the corpus -input nothing If you have any questions, let me know in the comments! If you want to add any phrases to the default corpus, please tell me. I'll add anything you want as long as it is appropriate. I won't change typos.
How does it work? This is a bigram AI model trained on the corpus shown. Bigrams take the last word of a phrase to predict the most likely next word. A corpus is the words and phrases the AI knows. For example, if the AI's corpus is "The quick brown fox jumped over the lazy dogs", and then you input "the", then the next word will likely be "quick" or "lazy". Remember that bigrams only consider the final word in a phrase before making a prediction. Trigrams consider the last TWO words in a phrase before making a prediction. Generally, an N-gram considers the last N-1 words to predict the next word. Usually, a vast and diverse corpus is better for predicting phrases (preferably more than 20 entries in the corpus), while a uniform corpus may help with specific tasks. Applications of N-gram AI in real life: -Spell check -Emails -Texting