# Uses of Class
opennlp.tools.dictionary.Dictionary

Packages that use Dictionary
Package
Description
opennlp.tools.dictionary
opennlp.tools.namefind
opennlp.tools.ngram
opennlp.tools.parser
opennlp.tools.parser.chunking
opennlp.tools.parser.treeinsert
opennlp.tools.postag
opennlp.tools.sentdetect
opennlp.tools.tokenize
opennlp.tools.util.featuregen
opennlp.tools.util.model

- ## Uses of Dictionary in opennlp.tools.dictionary

  Methods in opennlp.tools.dictionary that return Dictionary
  Modifier and Type
  Method
  Description
  `static Dictionary`
  Dictionary.`parseOneEntryPerLine(Reader in)`
  Reads a `Dictionary` which has one entry per line.

- ## Uses of Dictionary in opennlp.tools.namefind

  Constructors in opennlp.tools.namefind with parameters of type Dictionary
  Modifier
  Constructor
  Description
  ``
  `DictionaryNameFinder(Dictionary dictionary)`
  Initializes a `DictionaryNameFinder` with the provided `Dictionary` and `DictionaryNameFinder.DEFAULT_TYPE`.
  ``
  `DictionaryNameFinder(Dictionary dictionary, String type)`
  Initializes a `DictionaryNameFinder` with the provided `Dictionary` and a `type`.

- ## Uses of Dictionary in opennlp.tools.ngram

  Methods in opennlp.tools.ngram that return Dictionary
  Modifier and Type
  Method
  Description
  `Dictionary`
  NGramModel.`toDictionary()`
  Creates a dictionary which contain all `StringList` which are in the current `NGramModel`.
  `Dictionary`
  NGramModel.`toDictionary(boolean caseSensitive)`
  Creates a dictionary which contains all `StringList`s which are in the current `NGramModel`.

- ## Uses of Dictionary in opennlp.tools.parser

  Fields in opennlp.tools.parser declared as Dictionary
  Modifier and Type
  Field
  Description
  `protected final Dictionary`
  AbstractParserEventStream.`dict`
  Methods in opennlp.tools.parser that return Dictionary
  Modifier and Type
  Method
  Description
  `static Dictionary`
  AbstractBottomUpParser.`buildDictionary(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> data, opennlp.tools.parser.HeadRules rules, int cutoff)`
  Creates a n-gram `Dictionary` from the specified data stream using `HeadRules` and specified cut-off.
  `static Dictionary`
  AbstractBottomUpParser.`buildDictionary(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> data, opennlp.tools.parser.HeadRules rules, opennlp.tools.util.TrainingParameters params)`
  Creates a n-gram `Dictionary` from the specified data stream using the specified head rule and specified cut-off.
  Constructors in opennlp.tools.parser with parameters of type Dictionary
  Modifier
  Constructor
  Description
  ``
  `AbstractParserEventStream(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> d, opennlp.tools.parser.HeadRules rules, opennlp.tools.parser.ParserEventTypeEnum etype, Dictionary dict)`

- ## Uses of Dictionary in opennlp.tools.parser.chunking

  Constructors in opennlp.tools.parser.chunking with parameters of type Dictionary
  Modifier
  Constructor
  Description
  ``
  `BuildContextGenerator(Dictionary dict)`
  Instantiates a `BuildContextGenerator` for making decisions about combining constituents using a `Dictionary`.
  ``
  `ParserEventStream(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> d, opennlp.tools.parser.HeadRules rules, opennlp.tools.parser.ParserEventTypeEnum etype, Dictionary dict)`
  Instantiates a `ParserEventStream` based on the specified data stream of the `type` using `head rules`.

- ## Uses of Dictionary in opennlp.tools.parser.treeinsert

  Constructors in opennlp.tools.parser.treeinsert with parameters of type Dictionary
  Modifier
  Constructor
  Description
  ``
  `ParserEventStream(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> d, opennlp.tools.parser.HeadRules rules, opennlp.tools.parser.ParserEventTypeEnum etype, Dictionary dict)`
  Instantiates a `ParserEventStream` based on the specified data stream of the `type` using `head rules`.

- ## Uses of Dictionary in opennlp.tools.postag

  Fields in opennlp.tools.postag declared as Dictionary
  Modifier and Type
  Field
  Description
  `protected Dictionary`
  POSTaggerFactory.`ngramDictionary`
  Methods in opennlp.tools.postag that return Dictionary
  Modifier and Type
  Method
  Description
  `static Dictionary`
  POSTaggerME.`buildNGramDictionary(opennlp.tools.util.ObjectStream<opennlp.tools.postag.POSSample> samples, int cutoff)`
  Constructs an `nGram dictionary` from an `ObjectStream` of samples.
  Constructors in opennlp.tools.postag with parameters of type Dictionary
  Modifier
  Constructor
  Description
  ``
  `DefaultPOSContextGenerator(int cacheSize, Dictionary dict)`
  Deprecated.
  Use `DefaultPOSContextGenerator(Dictionary)` instead.
  ``
  `DefaultPOSContextGenerator(Dictionary dict)`
  Initializes a `DefaultPOSContextGenerator` instance.

- ## Uses of Dictionary in opennlp.tools.sentdetect

  Methods in opennlp.tools.sentdetect that return Dictionary
  Modifier and Type
  Method
  Description
  `Dictionary`
  SentenceDetectorFactory.`getAbbreviationDictionary()`
  `Dictionary`
  SentenceModel.`getAbbreviations()`
  Methods in opennlp.tools.sentdetect with parameters of type Dictionary
  Modifier and Type
  Method
  Description
  `static SentenceDetectorFactory`
  SentenceDetectorFactory.`create(String subclassName, String languageCode, boolean useTokenEnd, Dictionary abbrDictionary, char[] eosChars)`
  Instantiates a `SentenceDetectorFactory` via a given `subclassName`.
  `protected void`
  SentenceDetectorFactory.`init(String languageCode, boolean useTokenEnd, Dictionary abbreviationDictionary, char[] eosCharacters)`
  Constructors in opennlp.tools.sentdetect with parameters of type Dictionary
  Modifier
  Constructor
  Description
  ``
  `SentenceDetectorFactory(String languageCode, boolean useTokenEnd, Dictionary abbreviationDictionary, char[] eosCharacters)`
  Creates a `SentenceDetectorFactory`.
  ``
  `SentenceDetectorME(SentenceModel model, Dictionary abbDict)`
  Instantiates a `SentenceDetectorME` with an existing `SentenceModel`.
  ``
  `ThreadSafeSentenceDetectorME(SentenceModel model, Dictionary abbDict)`
  Deprecated.
  Instantiates a `ThreadSafeSentenceDetectorME` with an existing `SentenceModel`.

- ## Uses of Dictionary in opennlp.tools.tokenize

  Methods in opennlp.tools.tokenize that return Dictionary
  Modifier and Type
  Method
  Description
  `Dictionary`
  TokenizerFactory.`getAbbreviationDictionary()`
  `Dictionary`
  TokenizerModel.`getAbbreviations()`
  Methods in opennlp.tools.tokenize with parameters of type Dictionary
  Modifier and Type
  Method
  Description
  `static TokenizerFactory`
  TokenizerFactory.`create(String subclassName, String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, Pattern alphaNumericPattern)`
  Factory method the framework uses instantiate a new `TokenizerFactory`.
  `protected void`
  TokenizerFactory.`init(String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, Pattern alphaNumericPattern)`
  Constructors in opennlp.tools.tokenize with parameters of type Dictionary
  Modifier
  Constructor
  Description
  ``
  `ThreadSafeTokenizerME(TokenizerModel model, Dictionary abbDict)`
  Deprecated.
  Instantiates a `ThreadSafeTokenizerME` with an existing `TokenizerModel`.
  ``
  `TokenizerFactory(String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, Pattern alphaNumericPattern)`
  Instantiates a `TokenizerFactory`.
  ``
  `TokenizerME(TokenizerModel model, Dictionary abbDict)`
  Instantiates a `TokenizerME` with an existing `TokenizerModel`.

- ## Uses of Dictionary in opennlp.tools.util.featuregen

  Methods in opennlp.tools.util.featuregen with parameters of type Dictionary
  Modifier and Type
  Method
  Description
  `void`
  DictionaryFeatureGenerator.`setDictionary(String name, Dictionary dict)`
  `void`
  DictionaryFeatureGenerator.`setDictionary(Dictionary dict)`
  Constructors in opennlp.tools.util.featuregen with parameters of type Dictionary
  Modifier
  Constructor
  Description
  ``
  `DictionaryFeatureGenerator(String prefix, Dictionary dict)`
  Initializes a `DictionaryFeatureGenerator` with the specified parameters.
  ``
  `DictionaryFeatureGenerator(Dictionary dict)`
  Initializes a `DictionaryFeatureGenerator` with the specified `Dictionary`.

- ## Uses of Dictionary in opennlp.tools.util.model

  Methods in opennlp.tools.util.model that return Dictionary
  Modifier and Type
  Method
  Description
  `Dictionary`
  DictionarySerializer.`create(InputStream in)`
  Methods in opennlp.tools.util.model with parameters of type Dictionary
  Modifier and Type
  Method
  Description
  `void`
  DictionarySerializer.`serialize(Dictionary dictionary, OutputStream out)`