Class ConlluPOSSampleStream

Namespace
NOpenNLP.Tools.Formats.Conllu
Assembly
NOpenNLP.Tools.dll
public class ConlluPOSSampleStream : FilterObjectStream<ConlluSentence?, POSSample?>, IObjectStream<POSSample?>, IDisposable
Inheritance
ConlluPOSSampleStream
Implements
Inherited Members

Constructors

ConlluPOSSampleStream(IObjectStream<ConlluSentence?>, ConlluTagset)

public ConlluPOSSampleStream(IObjectStream<ConlluSentence?> samples, ConlluTagset tagset)

Parameters

samples IObjectStream<ConlluSentence>
tagset ConlluTagset

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