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

Package opennlp.tools.sentdetect

# Class SDEventStream

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

All Implemented Interfaces:
  `AutoCloseable`, `opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>`

public class SDEventStream extends AbstractEventStream<opennlp.tools.sentdetect.SentenceSample>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SDEventStream(opennlp.tools.util.ObjectStream<opennlp.tools.sentdetect.SentenceSample> samples, opennlp.tools.sentdetect.SDContextGenerator cg, opennlp.tools.sentdetect.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(opennlp.tools.util.ObjectStream<opennlp.tools.sentdetect.SentenceSample> samples, opennlp.tools.sentdetect.SDContextGenerator cg, opennlp.tools.sentdetect.EndOfSentenceScanner scanner)
    Initializes the current instance.
    Parameters:
      `samples` - An `stream` of `samples`.
      `cg` - The `SDContextGenerator` to be used.
      `scanner` - The `scanner` to be used.