Package opennlp.tools.sentdetect

# Class SDEventStream

java.lang.Object
opennlp.tools.util.AbstractEventStream<SentenceSample>
opennlp.tools.sentdetect.SDEventStream

All Implemented Interfaces:
  `AutoCloseable`, `ObjectStream<Event>`

public class SDEventStream extends AbstractEventStream<SentenceSample>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SDEventStream(ObjectStream<SentenceSample> samples, SDContextGenerator cg, EndOfSentenceScanner scanner)`
  Initializes the current instance.

- ## Method Summary

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

  `close, read, reset`

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

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

- ## Constructor Details

  - ### SDEventStream

    public SDEventStream(ObjectStream<SentenceSample> samples, SDContextGenerator cg, EndOfSentenceScanner scanner)
    Initializes the current instance.
    Parameters:
      `samples` - An `stream` of `samples`.
      `cg` - The `SDContextGenerator` to be used.
      `scanner` - The `scanner` to be used.