Roman Vodonenko
8/19/2015
Afetr inputting united states the appication predicts america as the next word
Just type in the phrase and click Pedict the Word
https://vodonenko.shinyapps.io/word_prediction_app
phrase <- "great wall of"
for(j in 1:5){
phrase <- paste(phrase, suggest.word(phrase))
print(phrase)
}
[1] "great wall of china"
[1] "great wall of china s"
[1] "great wall of china s one"
[1] "great wall of china s one child"
[1] "great wall of china s one child policy"