Easy web publishing from R
Write
R Markdown
documents in RStudio.
Share them here on RPubs.
(It’s free, and couldn’t be simpler!)
Get Started
Recently Published
Next Word Prediction App – Shiny Demo
This Shiny app predicts the next word in a user-typed phrase using a small n-gram backoff model. It uses trigram, bigram, and unigram frequencies from a sample English text corpus. Users type a phrase into the input box, click “Predict Next Word,” and the app outputs the most likely next word in real time. The app demonstrates a simple predictive text algorithm with a clean and interactive interface.
Plot
interaction2
Plot
interaction