## Uses of Interface
opennlp.tools.postag.TagDictionary

- Packages that use TagDictionary
  Package | Description
  --- | ---
  opennlp.tools.postag | Package related to part-of-speech tagging.

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

    Subinterfaces of TagDictionary in opennlp.tools.postag
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `MutableTagDictionary` Interface that allows `TagDictionary` entries to be added and removed.

    Classes in opennlp.tools.postag that implement TagDictionary
    Modifier and Type | Class and Description
    --- | ---
    `class` | `POSDictionary` Provides a means of determining which tags are valid for a particular word based on a tag dictionary read from a file.

    Fields in opennlp.tools.postag declared as TagDictionary
    Modifier and Type | Field and Description
    --- | ---
    `protected TagDictionary` | POSTaggerFactory.`posDictionary`
    `protected TagDictionary` | POSTaggerME.`tagDictionary` Tag dictionary used for restricting words to a fixed set of tags.

    Methods in opennlp.tools.postag that return TagDictionary
    Modifier and Type | Method and Description
    --- | ---
    `TagDictionary` | POSTaggerFactory.`createEmptyTagDictionary()`
    `TagDictionary` | POSTaggerFactory.`createTagDictionary(File dictionary)`
    `TagDictionary` | POSTaggerFactory.`createTagDictionary(InputStream in)`
    `TagDictionary` | POSTaggerFactory.`getTagDictionary()`

    Methods in opennlp.tools.postag with parameters of type TagDictionary
    Modifier and Type | Method and Description
    --- | ---
    `static POSTaggerFactory` | POSTaggerFactory.`create(String subclassName, byte[] featureGeneratorBytes, Map<String,Object> resources, TagDictionary posDictionary)`
    `static POSTaggerFactory` | POSTaggerFactory.`create(String subclassName, Dictionary ngramDictionary, TagDictionary posDictionary)` Deprecated.
    `protected void` | POSTaggerFactory.`init(byte[] featureGeneratorBytes, Map<String,Object> resources, TagDictionary posDictionary)`
    `protected void` | POSTaggerFactory.`init(Dictionary ngramDictionary, TagDictionary posDictionary)` Deprecated.
    `void` | POSTaggerFactory.`setTagDictionary(TagDictionary dictionary)`

    Constructors in opennlp.tools.postag with parameters of type TagDictionary
    Constructor and Description
    `DefaultPOSSequenceValidator(TagDictionary tagDictionary)`
    `POSTaggerFactory(byte[] featureGeneratorBytes, Map<String,Object> resources, TagDictionary posDictionary)`
    `POSTaggerFactory(Dictionary ngramDictionary, TagDictionary posDictionary)` Deprecated. this constructor is here for backward compatibility and is not functional anymore in the training of 1.8.x series models

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