Ivy Woo
16 Feb, 2021
Given some text input from the app user,
the Shiny app outputs prediction(s) of the next word following the text.
4-gram model :
The app reads the last 3 words (at most) of the input, and output the prediction(s) of the next word as the one(s) having the highest probability to appear after those 3 words.
This is how it looks like:
The app can be accessed at:
https://ivywoo.shinyapps.io/ShinyTextPrediction/
Detailed documentation can be found in this Github repo:
https://github.com/ivy-woo/TextPredictionApp