Class ConlluLemmaSampleStream
public class ConlluLemmaSampleStream : FilterObjectStream<ConlluSentence?, LemmaSample?>, IObjectStream<LemmaSample?>, IDisposable
- Inheritance
-
ConlluLemmaSampleStream
- Implements
- Inherited Members
Constructors
ConlluLemmaSampleStream(IObjectStream<ConlluSentence?>, ConlluTagset)
public ConlluLemmaSampleStream(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 LemmaSample? Read()
Returns
- LemmaSample
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