Verence
01. Februrary 2018
Predicts next word you will type
The future depends strongly on the past.
That is also valid for natual text: The next written word depend on priorly written words.
Idea: Create a model to predict next word.
Looks up to three words in the “past” to predict the next word.
There for the model was trained by public available text posted on twitter, bolgs and news.
After cleaning the training data the most common uni/two/three/four-Grams were put in a separate organized dictionary.
To save storage space - only the hash-value of the N-Gram were stored in the dictionary not the N-Gram it self
Number of suggested words and used N-Grams are configurable.
Shiny demo application is availible on here.