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