opennlp.tools.formats.ad
Class ADParagraphStream
java.lang.Object
opennlp.tools.util.FilterObjectStream<java.lang.String,ADParagraphStream.Paragraph>
opennlp.tools.formats.ad.ADParagraphStream
- All Implemented Interfaces:
- ObjectStream<ADParagraphStream.Paragraph>
public class ADParagraphStream
- extends FilterObjectStream<java.lang.String,ADParagraphStream.Paragraph>
Stream filter which merges text lines into paragraphs, 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.
http://www.linguateca.pt/documentos/Afonso2006ArvoresDeitadas.pdf
Note: Do not use this class, internal use only!
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADParagraphStream
public ADParagraphStream(ObjectStream<java.lang.String> lineStream)
read
public ADParagraphStream.Paragraph read()
throws java.io.IOException
- Description copied from interface:
ObjectStream
- Returns the next object. Calling this method repeatedly until it returns
null will return each object from the underlying source exactly once.
- Returns:
- the next object or null to signal that the stream is exhausted
- Throws:
java.io.IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.