buildModel | Build a model based on N-gram probabilities |
calcFrequency | Calculate the frequencies of the tokens |
calcProbsWithPos | Calculate the prbabilities of tokens with POS. |
cleanText | Clean the text |
evaluateModel | Evaluate the N-gram model |
getPos | Get the POS |
getPosProbs | Get the POS probabilities. |
getTokens | Get the tokens |
joinProbs | Calculate the probabilities of the token occuring and the POS... |
ngram | ngram tokenizes the text and returns a character vector with... |
predict | Predict the next word |
removeUnknownPos | Remove the tokens that have unknown POS. |
tagText | Tag the text with POS |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.