I have created a Shiny app that predicts the next word based on data that was used on twitter, blog, and the news. Feel feel to try it! https://ainsleehampel.shinyapps.io/TestFinal/
- The Goal of the shiny app is to predict the next word.
1/2/2020
I have created a Shiny app that predicts the next word based on data that was used on twitter, blog, and the news. Feel feel to try it! https://ainsleehampel.shinyapps.io/TestFinal/
Real world data is never cleaned. So after briefly looking over the data, I know it needed some work.
## [1] "How are you? Btw thanks for the RT. You gonna be in DC anytime soon? Love to see you. Been way, way too long." ## [2] "When you meet someone special... you'll know. Your heart will beat more rapidly and you'll smile for no reason." ## [3] "they've decided its more fun if I don't." ## [4] "So Tired D; Played Lazer Tag & Ran A LOT D; Ughh Going To Sleep Like In 5 Minutes ;)" ## [5] "Words from a complete stranger! Made my birthday even better :)"
First, I combined the twitter, news, and blog data.
To clean data, I removed case sensitive letters, numbers and punctuation.