PosSampleStream (Apache OpenNLP :: Core :: Runtime 3.0.0-M4 API)
Description: declaration: package: opennlp.tools.parser, class: PosSampleStream

Package opennlp.tools.parser

# Class PosSampleStream

java.lang.Object
opennlp.tools.util.FilterObjectStream<opennlp.tools.parser.Parse,opennlp.tools.postag.POSSample>
opennlp.tools.parser.PosSampleStream

All Implemented Interfaces:
  `AutoCloseable`, `opennlp.tools.util.ObjectStream<opennlp.tools.postag.POSSample>`

public class PosSampleStream extends FilterObjectStream<opennlp.tools.parser.Parse,opennlp.tools.postag.POSSample>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PosSampleStream(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> in)`
  Initializes a `instance`.

- ## Method Summary

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

  - ### PosSampleStream

    public PosSampleStream(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> in)
    Initializes a `instance`.
    Parameters:
      `in` - A `stream` used as input.

- ## Method Details

  - ### read

    public opennlp.tools.postag.POSSample read() throws IOException
    Throws:
      `IOException`