Interface | Description |
---|---|
LanguageModel |
A language model can calculate the probability p (between 0 and 1) of a
certain
sequence of tokens , given its underlying vocabulary. |
Class | Description |
---|---|
NGramLanguageModel |
A
LanguageModel based on a NGramModel
using Stupid Backoff to get the probabilities of the ngrams. |
Copyright © 2018 The Apache Software Foundation. All rights reserved.