Class POSToTokenSampleStream
Note: Do not use this class, internal use only!
public class POSToTokenSampleStream : FilterObjectStream<POSSample?, TokenSample?>, IObjectStream<TokenSample?>, IDisposable
- Inheritance
-
POSToTokenSampleStream
- Implements
- Inherited Members
Constructors
POSToTokenSampleStream(IDetokenizer, IObjectStream<POSSample?>)
Note: Do not use this class, internal use only!
public POSToTokenSampleStream(IDetokenizer detokenizer, IObjectStream<POSSample?> samples)
Parameters
detokenizerIDetokenizersamplesIObjectStream<POSSample>
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