SDEventStream (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

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 and 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 Detail

    - #### SDEventStream

          public SDEventStream(ObjectStream<SentenceSample> samples,
                               SDContextGenerator cg,
                               EndOfSentenceScanner scanner)

      Initializes the current instance.
      Parameters:
        `samples` -

Copyright © 2026 The Apache Software Foundation. All rights reserved.