Predict the next word using a given model. The prediction method uses a backoff method if the token is not present in highest N-gram.
1 |
model |
A list of N-gram data.frames sorted in descending order based on the probability of the token and POS sequence occuring. |
input |
Character vector of words. |
cleanedPosText |
Boolean indicating if the text has already been cleaned and tagged with POS. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.