N-gram text prediction.
N-gram data preparation:
- Task 2c.R - Exploration, analysis and n-gram data generation functions
- Task 3.R - Prediction functions (entered text cleaning, n-gram extraction, next word prediction)
- Task 3 main.R - prediction accuracy
Shiny app:
- shiny_app/ui.R - User interface
- shiny_app/server.R - Server side code
- shiny_app/predict.R - Prediction function
- shiny_app/sharedheader.R - Prediction function
- shiny_app/ngrams 0.30.rds - 1-4-grams, 0.3% training sample
- shiny_app/ngrams 1.00.rds - 1-4-grams, 1.0% training sample
- shiny_app/ngrams 5.00.rds - 1-4-grams, 5.0% training sample
Milestone report:
- docs/.Rprofile
- docs/custom.css
- docs/milestone_report.Rmd
- docs/milestone_report.html
Final presentation:
- docs/presentation-rpubs.html
- docs/presentation.Rpres
- docs/presentation.md