Class ConlluPOSSampleStream
public class ConlluPOSSampleStream : FilterObjectStream<ConlluSentence?, POSSample?>, IObjectStream<POSSample?>, IDisposable
- Inheritance
-
ConlluPOSSampleStream
- Implements
- Inherited Members
Constructors
ConlluPOSSampleStream(IObjectStream<ConlluSentence?>, ConlluTagset)
public ConlluPOSSampleStream(IObjectStream<ConlluSentence?> samples, ConlluTagset tagset)
Parameters
samplesIObjectStream<ConlluSentence>tagsetConlluTagset
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 POSSample? Read()
Returns
- POSSample
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