Text Algorithm
A Shiny web application where users input a word or sentence, and algorithm predicts the next 3 most likely words.
- Trained on blogs, news, and Twitter data
- Data was cleaned to create a corpora (e.g., converted to lower case, remove punctuation, profanity, and white spaces)
- Built a n-gram language model
- Uses pre-computed frequency tables for speed
Goal: provide fast and accurate text prediction similar to smartphone keyboards.