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 20, 2019, 5:16 a.m.