# Package opennlp.tools.languagemodel

Package related to language models

See: Description

- Interface Summary
  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 Summary
  Class | Description
  --- | ---
  NGramLanguageModel | A `LanguageModel` based on a `NGramModel` using Stupid Backoff to get the probabilities of the ngrams.

## Package opennlp.tools.languagemodel Description

Package related to language models

Copyright © 2026 The Apache Software Foundation. All rights reserved.