Description Usage Arguments Details Value See Also
This function predicts next word using back-off algorithm.
1 | predict_Backoff(testline, modelsList, isDebugMode = F)
|
testline |
Line on which we are performing algorithm to predict next word |
modelsList |
List having all Ngram models generated by |
isDebugMode |
for debugging purpose, this will print out debug statements |
This function predicts next word based on previous N number of words using N-gram models generated by generateTDM
.
next predicted word
generateTDM
TermDocumentMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.