Next Word Prediction App

This project demonstrates a Shiny application that predicts the next word based on a user-entered phrase.


Problem Statement

Word prediction is used in search engines, mobile keyboards, and messaging apps to improve typing efficiency.

This app predicts the next most likely word from a phrase.


Data and Algorithm

The app uses a simple rule-based approach inspired by n-gram models.

It predicts the next word based on the last word entered by the user.


How the App Works

  1. User enters a phrase
  2. Clicks the predict button
  3. The app displays one predicted next word

The app is simple, fast, and easy to use.


Conclusion

This app demonstrates how text prediction models can be deployed using Shiny.

Future improvements could include using larger datasets and advanced models.