Full back-off language model, loaded from file in ARPA format.
This class does not build the model but allows you to use a pre-computed one. You can use the tool ngram-count from for instance SRILM to actually build the model.
Store Ngrams with their probabilities and backoffs.
This class is used in order to abstract the physical storage layout, and enable memory/speed tradeoffs.
Return backoff value of a given ngram tuple
Return probability of given ngram tuple
This is a simple unsmoothed language model. This class can both hold and compute the model.
alias of LMNGramProtocol
alias of LMSentenceProtocol
Language Model Server