2023-11-24

Word Prediction App: Predict the Next Word !!!

Introduction

  • Welcome to the Word Prediction App !

  • The App is based on Corpus of English words/sentences from Blogs, News and Twitter

  • The App is limited to 10% sample of the corpus, to limit the size to publish the app initially.

  • Use the word or small phrases to predict the Next Word

User Interface

App Home

  • Where the App is located and can be used

Enter Text Here

  • User gives the input as word or small phrase here

Input Text

  • The text provided by the user to predict next word appears here. Exactly same what user provide in Enter Text Here box.

Predicted Next Word

  • The predicted Next Word is shown here.

About the App

  • This is home for detailed description about the app

Algorithm

Algorithm

1. Twitter, Blog, and News words or phrases were used to create n-gram algorithm.
2. Upto 4-gram model has been used in this prototype App. And is used to pick the words.
3. The last words in the input will match the 4-gram first, subsequently then to 3-gram, and 2-gram.
4. The most frequent word is the displayed as the predicted word.
5. If App couldn’t find the word in sample used in this prototype, result will display “Words do not match! Try next.”

Shiny App

Link for Shiny App

https://akhadka525.shinyapps.io/WordPredictingApp/

Link for GitHub Page

https://github.com/akhadka525/Data-Science-Capstone/tree/shinyapp/WordPredictingApp

Data Source and Acknowledgement

Thank You !!!