ConlluLemmaSampleStream (Apache OpenNLP :: Core :: Formats 3.0.0-M4 API)
Description: declaration: package: opennlp.tools.formats.conllu, class: ConlluLemmaSampleStream

Package opennlp.tools.formats.conllu

# Class ConlluLemmaSampleStream

java.lang.Object
opennlp.tools.util.FilterObjectStream<ConlluSentence,opennlp.tools.lemmatizer.LemmaSample>
opennlp.tools.formats.conllu.ConlluLemmaSampleStream

All Implemented Interfaces:
  `AutoCloseable`, `opennlp.tools.util.ObjectStream<opennlp.tools.lemmatizer.LemmaSample>`

public class ConlluLemmaSampleStream extends opennlp.tools.util.FilterObjectStream<ConlluSentence,opennlp.tools.lemmatizer.LemmaSample>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ConlluLemmaSampleStream(opennlp.tools.util.ObjectStream<ConlluSentence> samples, ConlluTagset tagset)`
  Initializes a `ConlluLemmaSampleStream`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `opennlp.tools.lemmatizer.LemmaSample`
  `read()`

  ### Methods inherited from class opennlp.tools.util.FilterObjectStream

  `close, reset`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ConlluLemmaSampleStream

    public ConlluLemmaSampleStream(opennlp.tools.util.ObjectStream<ConlluSentence> samples, ConlluTagset tagset)
    Initializes a `ConlluLemmaSampleStream`.
    Parameters:
      `samples` - The `samples` used as input.
      `tagset` - The `ConlluTagset` to use. Must not be `null`.

- ## Method Details

  - ### read

    public opennlp.tools.lemmatizer.LemmaSample read() throws IOException
    Throws:
      `IOException`