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,- ObjectStream<ADSentenceStream.Sentence>
@Internal
public class ADSentenceStream
extends 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 SummaryNested ClassesModifier and TypeClassDescriptionstatic final recordstatic classParses a sample of AD corpus.
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class opennlp.tools.util.FilterObjectStreamclose, reset
- 
Constructor Details- 
ADSentenceStream
 
- 
- 
Method Details- 
readDescription copied from interface:ObjectStreamReturns the nextObjectStreamobject. Calling this method repeatedly until it returnsnullwill return each object from the underlying source exactly once.- Returns:
- The next object or nullto signal that the stream is exhausted.
- Throws:
- IOException- Thrown if there is an error during reading.
 
 
-