TextPredictor!

Megan Williams
April 25th, 2015

Background

  • Natural language processing (NLP) is a field of computer science, artificial intelligence, and linguistics concerned with the interations between computers and human (natural) languages.

  • As such, NLP is related to the area of human–computer interaction.

  • The goal of the Data Science Specialization Capstone Project is to create an application that can facilitate this interaction through text prediction

What is TextPredictor! and How does it work?

  • The TextPredictor! application uses a predictive text algorithm to predict what word is likely to come next based on the user input.

  • The TextPredictor! application employs the Kneser-ney smoothing method, which is primarily used to calculate the probability distribution of n-grams in a document based on their histories. It is widely considered the most effective method of smoothing due to its use of absolute discounting by subtracting a fixed value from the probabilitys lower order terms to omit n-grams with lower frequencies.

How do I use TextPredictor! ?

TextPredictor! is easy to use

  • First, type the word or sentence of your choosing in the top left panel

  • Then, select how many words you would like for this app to predict for you

  • Finally, click “submit”. BE PATIENT. This process may take up to 60 seconds

  • NOTE: If you do not input text, or if you input text that is not present at least 5 times in the datasets used to create this application, then you will get a warning message asking you to choose a different word or phrase.

The End!

To try TextPredictor!, follow this link: https://meganrwilliams.shinyapps.io/Final_Project/