opennlp.tools.ngram (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

# Package opennlp.tools.ngram

Package related to computing and storing n-gram frequencies.

See: Description

- Class Summary
  Class | Description
  --- | ---
  NGramCharModel | The `NGramCharModel` can be used to create character ngrams.
  NGramGenerator | Generates an nGram, with optional separator, and returns the grams as a list of strings
  NGramModel | The `NGramModel` can be used to crate ngrams and character ngrams.
  NGramUtils | Utility class for ngrams.

## Package opennlp.tools.ngram Description

Package related to computing and storing n-gram frequencies.

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