Man pages for justinnafe/NextWord
Provides tools to help predict the next word

buildModelBuild a model based on N-gram probabilities
calcFrequencyCalculate the frequencies of the tokens
calcProbsWithPosCalculate the prbabilities of tokens with POS.
cleanTextClean the text
evaluateModelEvaluate the N-gram model
getPosGet the POS
getPosProbsGet the POS probabilities.
getTokensGet the tokens
joinProbsCalculate the probabilities of the token occuring and the POS...
ngramngram tokenizes the text and returns a character vector with...
predictPredict the next word
removeUnknownPosRemove the tokens that have unknown POS.
tagTextTag the text with POS
justinnafe/NextWord documentation built on May 18, 2017, 1:12 p.m.