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

opennlp.tools.formats.convert

## Class POSToSentenceSampleStream

- java.lang.Object
- - opennlp.tools.util.FilterObjectStream<T,SentenceSample>
  - - opennlp.tools.formats.convert.AbstractToSentenceSampleStream<POSSample>
    - - opennlp.tools.formats.convert.POSToSentenceSampleStream

- All Implemented Interfaces:
    AutoCloseable, ObjectStream<SentenceSample>

      public class POSToSentenceSampleStream
      extends AbstractToSentenceSampleStream<POSSample>

  Note: Do not use this class, internal use only!

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `POSToSentenceSampleStream(Detokenizer detokenizer, ObjectStream<POSSample> samples, int chunkSize)`

  - ### Method Summary

    - ### Methods inherited from class opennlp.tools.formats.convert.AbstractToSentenceSampleStream

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

    - #### POSToSentenceSampleStream

          public POSToSentenceSampleStream(Detokenizer detokenizer,
                                           ObjectStream<POSSample> samples,
                                           int chunkSize)

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