Predicting next word
Pedro Camacho
September 1, 2017
Why this is important for the company?
Predicting the next word will help us:
Type faster
Suggest possible typos
Have fun
How it works?
before the app:
Calculate ngrams frequencies
Rank those ngrams and only select their names
Writes a file for easy access to the list
This process is done before any prediction takes place
Therefore the app runs fast even if the fitting process takes a lot of time
The app
App loads the ranked list of ngrams
User write words
Application uses the last 2 words to make prediction
Displays prediction using the last word and last 2 words
Next steps
Find more heterogeneous corpus
Rent server power to:
——Fit more lines of text
——Use up to 4-ngrams (now is 3-ngrams)
This will allow us to have better prediction and predict using the last 3 words.
More information
here is the
app
here is the [project's repository]