## Uses of Class
opennlp.tools.lemmatizer.LemmaSample

- Packages that use LemmaSample
  Package | Description
  --- | ---
  opennlp.tools.cmdline.lemmatizer | Classes giving access to the opennlp.tools.lemmatizer functionalities.
  opennlp.tools.formats | Experimental package related to converting various corpora to OpenNLP Format.
  opennlp.tools.formats.conllu |
  opennlp.tools.lemmatizer | Package related with the lemmatizer tool

- - ### Uses of LemmaSample in opennlp.tools.cmdline.lemmatizer

    Methods in opennlp.tools.cmdline.lemmatizer with parameters of type LemmaSample
    Modifier and Type | Method and Description
    --- | ---
    `void` | LemmatizerFineGrainedReportListener.`correctlyClassified(LemmaSample reference, LemmaSample prediction)`
    `void` | LemmaEvaluationErrorListener.`missclassified(LemmaSample reference, LemmaSample prediction)`
    `void` | LemmatizerFineGrainedReportListener.`missclassified(LemmaSample reference, LemmaSample prediction)`

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

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

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

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

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

  - ### Uses of LemmaSample in opennlp.tools.lemmatizer

    Methods in opennlp.tools.lemmatizer that return LemmaSample
    Modifier and Type | Method and Description
    --- | ---
    `protected LemmaSample` | LemmatizerEvaluator.`processSample(LemmaSample reference)` Evaluates the given reference `LemmaSample` object.
    `LemmaSample` | LemmaSampleStream.`read()`

    Methods in opennlp.tools.lemmatizer with parameters of type LemmaSample
    Modifier and Type | Method and Description
    --- | ---
    `protected Iterator<Event>` | LemmaSampleEventStream.`createEvents(LemmaSample sample)`
    `protected LemmaSample` | LemmatizerEvaluator.`processSample(LemmaSample reference)` Evaluates the given reference `LemmaSample` object.

    Method parameters in opennlp.tools.lemmatizer with type arguments of type LemmaSample
    Modifier and Type | Method and Description
    --- | ---
    `static LemmatizerModel` | LemmatizerME.`train(String languageCode, ObjectStream<LemmaSample> samples, TrainingParameters trainParams, LemmatizerFactory posFactory)`

    Constructor parameters in opennlp.tools.lemmatizer with type arguments of type LemmaSample
    Constructor and Description
    `LemmaSampleEventStream(ObjectStream<LemmaSample> d, LemmatizerContextGenerator cg)` Creates a new event stream based on the specified data stream using the specified context generator.
    `LemmaSampleSequenceStream(ObjectStream<LemmaSample> samples, LemmatizerContextGenerator contextGenerator)`

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