capstone_slides

Chad A.S. Mullikin
10 September, 2017

Word Predictor

Generate predictions for next antipated word.

  • Takes a tworam and finds the highest probabilty threegram containing the twogram.
  • Can take longer strings, but only uses the last two words to determine the prediction.
  • Using less words still allows for suggestions to be made.

Instructions

  • Select the type of prediction desired, either tweet, news, or blog.
  • Enter text and click 'Get Propsed Word'

How It Works

  • The app simply uses precomuted ngram frequency data. Given a string of words, the app selects the last two and susbsets the appropriate threegram list to find all threegrams contatining those two words. It then returns the last word in the threegram that is most common.
  • If only one word is provided, it will return the last word in the most frequent twogram containing the input word.
  • If no word is provided, it will return the most common word.