Description Usage Arguments Format Details Author(s) See Also
Katz
Katz Statistical Learning Model
1 |
x |
a CVSet containing training and test Corpus objects |
train |
Train Corpus object. Ignored if x is a CVSet, required otherwise. |
test |
Test Corpus object. Ignored if x is a CVSet, required otherwise. |
modelSize |
Numeric between 1, for unigram to 5 for quintgram. |
openVocabulary |
Logical. If TRUE, preprocessing will replace all words in the test corpus that are not in the training corpus with the pseudo-word UNK. If FALSE, all words in test corpus are assumed to be in the training corpus. The default is TRUE. |
An object of class R6ClassGenerator
of length 24.
Encapsulates a Statistical Language Model implementing the Katz backoff algorithm.
John James, jjames@dataScienceSalon.org
Other Statistical Language Model Classes: KN
,
MKN
, SLM0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.