Package opennlp.tools.formats.conllu

# Class ConlluTokenSampleStream

java.lang.Object
opennlp.tools.util.FilterObjectStream<ConlluSentence,opennlp.tools.tokenize.TokenSample>
opennlp.tools.formats.conllu.ConlluTokenSampleStream

All Implemented Interfaces:
  `AutoCloseable`, `opennlp.tools.util.ObjectStream<opennlp.tools.tokenize.TokenSample>`

public class ConlluTokenSampleStream extends opennlp.tools.util.FilterObjectStream<ConlluSentence,opennlp.tools.tokenize.TokenSample>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ConlluTokenSampleStream(opennlp.tools.util.ObjectStream<ConlluSentence> samples)`
  Initializes a `ConlluTokenSampleStream`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `opennlp.tools.tokenize.TokenSample`
  `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

  - ### ConlluTokenSampleStream

    public ConlluTokenSampleStream(opennlp.tools.util.ObjectStream<ConlluSentence> samples)
    Initializes a `ConlluTokenSampleStream`.
    Parameters:
      `samples` - The `samples` used as input.

- ## Method Details

  - ### read

    public opennlp.tools.tokenize.TokenSample read() throws IOException
    Throws:
      `IOException`