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