Astrid Deschenes
January 12th, 2019
The goal of this project is to implement an algorithm to predict the next word in a sentence, given one or more words as input.
The algorithm implements the Kneser-Ney Smoothing1 model:
The algorithm is implemented in a Shiny3 application. The application displays the predicted next word from a fragment of a sentence given by the user.
[1] Daniel Jurafsky and James H. Martin (2018) Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition. Third Edition Draft.
[2] Smitha Milli (2015) Kneser-Ney Smoothing. http://smithamilli.com/blog/kneser-ney/
[3] Winston Chang, Joe Cheng, JJ Allaire, Yihui Xie and Jonathan McPherson (2018). shiny: Web Application Framework for R. R package version 1.2.0. https://CRAN.R-project.org/package=shiny