Class ADSentenceStream
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.
http://www.linguateca.pt/documentos/Afonso2006ArvoresDeitadas.pdf
public class ADSentenceStream : FilterObjectStream<string?, ADSentenceStream.Sentence?>, IObjectStream<ADSentenceStream.Sentence?>, IDisposable
- Inheritance
-
ADSentenceStream
- Implements
- Inherited Members
Constructors
ADSentenceStream(IObjectStream<string?>)
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.
http://www.linguateca.pt/documentos/Afonso2006ArvoresDeitadas.pdf
public ADSentenceStream(IObjectStream<string?> lineStream)
Parameters
lineStreamIObjectStream<string>
Methods
Read()
Returns the next object. Calling this method repeatedly until it returns
null will return each object from the underlying source exactly once.
public override ADSentenceStream.Sentence? Read()
Returns
- ADSentenceStream.Sentence
the next object or
nullto signal that the stream is exhausted
Exceptions
- IOException
if there is an error during reading
- IOException
if there is an error during reading