Class ConstitParseSampleStream
- Namespace
- NOpenNLP.Tools.Formats.Frenchtreebank
- Assembly
- NOpenNLP.Tools.dll
public class ConstitParseSampleStream : FilterObjectStream<byte[]?, Parse?>, IObjectStream<Parse?>, IDisposable
- Inheritance
-
ConstitParseSampleStream
- Implements
- Inherited Members
Constructors
ConstitParseSampleStream(IObjectStream<byte[]?>)
protected ConstitParseSampleStream(IObjectStream<byte[]?> samples)
Parameters
samplesIObjectStream<byte[]>
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