Package opennlp.tools.formats.ad

# Class ADSentenceStream

java.lang.Object
opennlp.tools.util.FilterObjectStream<String,ADSentenceStream.Sentence>
opennlp.tools.formats.ad.ADSentenceStream

All Implemented Interfaces:
  `AutoCloseable`, `opennlp.tools.util.ObjectStream<ADSentenceStream.Sentence>`

@Internal public class ADSentenceStream extends opennlp.tools.util.FilterObjectStream<String,ADSentenceStream.Sentence>
Stream filter which merges text lines into sentences, following the Arvores Deitadas syntax.

Information about the format:
Susana Afonso. "Árvores deitadas: Descrição do formato e das opções de análise na Floresta Sintáctica".
12 de Fevereiro de 2006.

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

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static final record`
  `ADSentenceStream.Sentence`
  `static class`
  `ADSentenceStream.SentenceParser`
  Parses a sample of AD corpus.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ADSentenceStream(opennlp.tools.util.ObjectStream<String> lineStream)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ADSentenceStream.Sentence`
  `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

  - ### ADSentenceStream

    public ADSentenceStream(opennlp.tools.util.ObjectStream<String> lineStream)

- ## Method Details

  - ### read

    public ADSentenceStream.Sentence read() throws IOException
    Throws:
      `IOException`