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