Next Word Predictor App

Madhuri Gupta
July 17, 2016

Aim

To predict the next word corresponding to a word or phrase entered by user thereby providing quick and comfortable typing functionality.

About Us

NEXT WORD PREDICTOR app helps the user type quickly by predicting the most frequently used word ensuing a word/phrase input by user.

It has been developed as a part of Data Science Specialization Capstone Project at Coursera.

This is my first take on Text Analytics and I have tried to explore and execute as permitted by time and resources. The app may not predict a word for every sentence but I have tried to train the model using diverse data sources like news, twitter and blogs to provide a next word prediction. It covers 65% of total dataset provided by Swift Key.

Source code for the app - ui.R and server.R files are available on the GitHub.

Approach & Algorithm

Data Courtesy: Switft Key

How to use:

To provide you with the most suitable word, you are required to enter a word or a phrase in the text box provided in app and Click Predict Next Word button.

The phrase entered will then be used to find the most frequently used combination of words resembling the input using the dataset provided by Swift Key. The model then displays the recommended word in the output text box.

Note: Please note that the app may take some time to display the first prediction as data needs to be loaded on server before executing the search algorithm.

Snapshot:

App Overview

Click Here to Begin App