Predict_Word

Warwick Taylor
11 September 2017

What's the Next Word?

  • Here is a web-based application that tries to predict the next word that you are going to type.

How It Works

  • The application looks at groups of words (called n-grams) to find any that match with the text that has been typed. The longest groups of words are four words long. If there is a match between the last words of the that have been typed and the first few words of the n-grams, the last word of the most common n-gram is displayed.

How to Use It

  • To start the application go to:

    https://waterman3.shinyapps.io/shinyapp/

  • Once the application starts, type the text for which you want the next word predicted, in the box and push the Ready button.

  • To try again, push the reload button on the right of the toolbar at the top of the screen.

To Find Out More

What Next?

  • Predict_Word could be further developed to :

  • allow the user to type in the word they really wanted in the case that the word was not the right one so that the application would learn give a better predicition.

  • make a better prediction, based on the context of what the user writes rather than on the last two or three words typed.