Predict Next Word App

A Shiny R Application

Predict Next Word

Introducing an interactive Shiny R application that can predict the next word based on the phrase/sentence/word you enter. It’s intuitive and easy to use

How Does It Work?

If you have a phrase, sentence or word then this application can predict the succeeding word with the highest probability.

Here are the steps:

  1. The user enters the required phrase, sentence or word
  2. The application utilizes its trained Decision Tree to figure out which word occurs next
  3. The application outputs the results

The Internal of the Applications

At the core, the application uses Trigram Markov model for prediction.

You can read more about it here N-grams using Markov Models.

The accuracy of the application is not very impressive. I hope to increase it the next iteration/release.

On this slide you can get link to the application

You can play with this app by single click on the link.

PredictWord - Find out of the next word