## Uses of Class
opennlp.tools.postag.POSSample

- Packages that use POSSample
  Package | Description
  --- | ---
  opennlp.tools.cmdline.postag |
  opennlp.tools.formats | Experimental package related to converting various corpora to OpenNLP Format.
  opennlp.tools.formats.ad | Experimental package related to the `Arvores Deitadas corpus` format.
  opennlp.tools.formats.conllu | Experimental package related to the CoNNL-U format.
  opennlp.tools.formats.convert |
  opennlp.tools.formats.masc | Experimental package related to the `MASC` corpus format.
  opennlp.tools.formats.ontonotes | Experimental package related to the OntoNotes 4.0 format.
  opennlp.tools.parser | Package containing common code for performing full syntactic parsing.
  opennlp.tools.postag | Package related to part-of-speech tagging.

- - ### Uses of POSSample in opennlp.tools.cmdline.postag

    Methods in opennlp.tools.cmdline.postag with parameters of type POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | POSTaggerFineGrainedReportListener.`correctlyClassified​(POSSample reference, POSSample prediction)` |
    `void` | POSEvaluationErrorListener.`misclassified​(POSSample reference, POSSample prediction)` |
    `void` | POSTaggerFineGrainedReportListener.`misclassified​(POSSample reference, POSSample prediction)` |

  - ### Uses of POSSample in opennlp.tools.formats

    Methods in opennlp.tools.formats that return POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `POSSample` | ConllXPOSSampleStream.`read()` |

    Methods in opennlp.tools.formats that return types with arguments of type POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `ObjectStream<POSSample>` | ConllXPOSSampleStreamFactory.`create​(String[] args)` |
    `ObjectStream<POSSample>` | WordTagSampleStreamFactory.`create​(String[] args)` |

  - ### Uses of POSSample in opennlp.tools.formats.ad

    Methods in opennlp.tools.formats.ad that return POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `POSSample` | ADPOSSampleStream.`read()` |

    Methods in opennlp.tools.formats.ad that return types with arguments of type POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `ObjectStream<POSSample>` | ADPOSSampleStreamFactory.`create​(String[] args)` |

  - ### Uses of POSSample in opennlp.tools.formats.conllu

    Methods in opennlp.tools.formats.conllu that return POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `POSSample` | ConlluPOSSampleStream.`read()` |

    Methods in opennlp.tools.formats.conllu that return types with arguments of type POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `ObjectStream<POSSample>` | ConlluPOSSampleStreamFactory.`create​(String[] args)` |

  - ### Uses of POSSample in opennlp.tools.formats.convert

    Methods in opennlp.tools.formats.convert that return POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `POSSample` | ParseToPOSSampleStream.`read()` |

    Methods in opennlp.tools.formats.convert that return types with arguments of type POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `ObjectStream<POSSample>` | ParseToPOSSampleStreamFactory.`create​(String[] args)` |

    Methods in opennlp.tools.formats.convert with parameters of type POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected String[]` | POSToSentenceSampleStream.`toSentence​(POSSample sample)` |

    Constructor parameters in opennlp.tools.formats.convert with type arguments of type POSSample
    Constructor | Description
    --- | ---
    `POSToSentenceSampleStream​(Detokenizer detokenizer, ObjectStream<POSSample> samples, int chunkSize)` | Initializes a `POSToSentenceSampleStream`.
    `POSToTokenSampleStream​(Detokenizer detokenizer, ObjectStream<POSSample> samples)` | Initializes a `POSToTokenSampleStream`.

  - ### Uses of POSSample in opennlp.tools.formats.masc

    Methods in opennlp.tools.formats.masc that return POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `POSSample` | MascPOSSampleStream.`read()` | Reads the next sample.

    Methods in opennlp.tools.formats.masc that return types with arguments of type POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `ObjectStream<POSSample>` | MascPOSSampleStreamFactory.`create​(String[] args)` |

  - ### Uses of POSSample in opennlp.tools.formats.ontonotes

    Methods in opennlp.tools.formats.ontonotes that return types with arguments of type POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `ObjectStream<POSSample>` | OntoNotesPOSSampleStreamFactory.`create​(String[] args)` |

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

    Methods in opennlp.tools.parser that return POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `POSSample` | PosSampleStream.`read()` |

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

    Methods in opennlp.tools.postag that return POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `static POSSample` | POSSample.`parse​(String sentenceString)` | Parses a `sentenceString`.
    `protected POSSample` | POSEvaluator.`processSample​(POSSample reference)` | Evaluates the given reference `POSSample` object.
    `POSSample` | WordTagSampleStream.`read()` | Parses the next sentence and return the next `POSSample` object.

    Methods in opennlp.tools.postag that return types with arguments of type POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `Sequence<POSSample>` | POSSampleSequenceStream.`read()` |

    Methods in opennlp.tools.postag with parameters of type POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Iterator<Event>` | POSSampleEventStream.`createEvents​(POSSample sample)` |
    `protected POSSample` | POSEvaluator.`processSample​(POSSample reference)` | Evaluates the given reference `POSSample` object.

    Method parameters in opennlp.tools.postag with type arguments of type POSSample
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Dictionary` | POSTaggerME.`buildNGramDictionary​(ObjectStream<POSSample> samples, int cutoff)` | Constructs a `nGram dictionary` from an `ObjectStream` of samples.
    `void` | POSTaggerCrossValidator.`evaluate​(ObjectStream<POSSample> samples, int nFolds)` | Starts the evaluation.
    `static void` | POSTaggerME.`populatePOSDictionary​(ObjectStream<POSSample> samples, MutableTagDictionary dict, int cutoff)` | Populates a `POSDictionary` from an `ObjectStream` of samples.
    `static POSModel` | POSTaggerME.`train​(String languageCode, ObjectStream<POSSample> samples, TrainingParameters trainParams, POSTaggerFactory posFactory)` |
    `Event[]` | POSSampleSequenceStream.`updateContext​(Sequence<POSSample> pss, AbstractModel model)` |

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