Class ConlluLemmaSampleStream

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

Constructors

ConlluLemmaSampleStream(IObjectStream<ConlluSentence?>, ConlluTagset)

public ConlluLemmaSampleStream(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 LemmaSample? Read()

Returns

LemmaSample

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