Calin
2017-03-10
Design an application that - based on user input - is able to predict the following word in a sentence
# load data containers
load("20th_corpus_freq.Rdata")
dim(ngram_stats)
[1] 6 8
Once the ngrams are clean and easy to use, several other methods can be used: Backoff smoothing with discounting, Katz BackOff (include Good-Turing with Backoff Smoothing), Jelinek-Mercer Smoothing. These methods will be explored in the next Data Science specialization :-)