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

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

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

    Classes in opennlp.tools.postag that implement POSContextGenerator
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ConfigurablePOSContextGenerator` | A context generator for the POS Tagger.
    `class` | `DefaultPOSContextGenerator` | A context generator for the POS Tagger.

    Fields in opennlp.tools.postag declared as POSContextGenerator
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected POSContextGenerator` | POSTaggerME.`contextGen` | The feature context generator.

    Methods in opennlp.tools.postag that return POSContextGenerator
    Modifier and Type | Method | Description
    --- | --- | ---
    `POSContextGenerator` | POSTaggerFactory.`getPOSContextGenerator()` |
    `POSContextGenerator` | POSTaggerFactory.`getPOSContextGenerator​(int cacheSize)` |

    Methods in opennlp.tools.postag with parameters of type POSContextGenerator
    Modifier and Type | Method | Description
    --- | --- | ---
    `static List<Event>` | POSSampleEventStream.`generateEvents​(String[] sentence, String[] tags, Object[] additionalContext, POSContextGenerator cg)` |
    `static List<Event>` | POSSampleEventStream.`generateEvents​(String[] sentence, String[] tags, POSContextGenerator cg)` |

    Constructors in opennlp.tools.postag with parameters of type POSContextGenerator
    Constructor | Description
    --- | ---
    `POSSampleEventStream​(ObjectStream<POSSample> samples, POSContextGenerator cg)` | Initializes the current instance with the given samples and the given `POSContextGenerator`.
    `POSSampleSequenceStream​(ObjectStream<POSSample> psi, POSContextGenerator pcg)` |