# Uses of Class
opennlp.tools.dictionary.Dictionary

Packages that use Dictionary
Package
Description
opennlp.tools.cmdline.namefind
opennlp.tools.dictionary
Package related to parsing and storing dictionaries.
opennlp.tools.namefind
Package related to finding proper names and numeric amounts.
opennlp.tools.ngram
Package related to computing and storing n-gram frequencies.
opennlp.tools.parser
Package containing common code for performing full syntactic parsing.
opennlp.tools.parser.chunking
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
opennlp.tools.parser.treeinsert
Package containing experimental code for performing full syntactic parsing using attachment decisions.
opennlp.tools.postag
Package related to part-of-speech tagging.
opennlp.tools.sentdetect
Package related to identifying sentence boundaries.
opennlp.tools.tokenize
Contains classes related to finding token or words in a string.
opennlp.tools.util.featuregen
This package contains classes for generating sequence features.
opennlp.tools.util.model

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

  Methods in opennlp.tools.cmdline.namefind that return Dictionary
  Modifier and Type
  Method
  Description
  `static Dictionary`
  CensusDictionaryCreatorTool.`createDictionary(ObjectStream<StringList> sampleStream)`
  Creates a dictionary.

- ## 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(ObjectStream<Parse> data, HeadRules rules, int cutoff)`
  Creates a n-gram `Dictionary` from the specified data stream using `HeadRules` and specified cut-off.
  `static Dictionary`
  AbstractBottomUpParser.`buildDictionary(ObjectStream<Parse> data, HeadRules rules, 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(ObjectStream<Parse> d, HeadRules rules, 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(ObjectStream<Parse> d, HeadRules rules, 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(ObjectStream<Parse> d, HeadRules rules, 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(ObjectStream<POSSample> samples, int cutoff)`
  Constructs a `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)`
  Initializes a `DefaultPOSContextGenerator` instance.
  ``
  `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`.

- ## 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
  ``
  `TokenizerFactory(String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, Pattern alphaNumericPattern)`
  Instantiates a `TokenizerFactory`.

- ## 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)`
  ``
  `DictionaryFeatureGenerator(Dictionary dict)`

- ## 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)`