Nate Foulkes
February 2022
Capstone project for the Data Science Specialization hosted by Coursera
Administered by: Roger Peng, Jeff Leek, and Brian Caffo of Johns Hopkins
AFINN lexicon within Tidytext. This package did a great job of language detection and profanity removal. Much faster compared to creating a list of acceptable words using regular expressions.Time prediction for last word using a few random sentences:
word user.self sys.self elapsed
1 end 0.20 0 0.22
2 sandwich 0.20 0 0.20
3 time 0.17 0 0.17
4 the 0.18 0 0.18
Directions
The app opens in a static state. The prediction algorithm will not run unless the user taps the predict button.
The outcome will be the top three predictions for the next word.