Package opennlp.tools.languagemodel
package opennlp.tools.languagemodel
-
ClassDescriptionA language model can calculate the probability p (between 0 and 1) of a certain sequence of tokens, given its underlying vocabulary.A
LanguageModelbased on aNGramModelusing Stupid Backoff to get the probabilities of the ngrams.