Class ParseToPOSSampleStream

Namespace
NOpenNLP.Tools.Formats.Convert
Assembly
NOpenNLP.Tools.dll

Note: Do not use this class, internal use only!

public class ParseToPOSSampleStream : FilterObjectStream<Parse?, POSSample?>, IObjectStream<POSSample?>, IDisposable
Inheritance
ParseToPOSSampleStream
Implements
Inherited Members

Constructors

ParseToPOSSampleStream(IObjectStream<Parse?>)

Note: Do not use this class, internal use only!

public ParseToPOSSampleStream(IObjectStream<Parse?> samples)

Parameters

samples IObjectStream<Parse>

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 POSSample? Read()

Returns

POSSample

the next object or null to signal that the stream is exhausted

Exceptions

IOException

if there is an error during reading

IOException

if there is an error during reading