Class ConlluTokenSampleStream

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

Constructors

ConlluTokenSampleStream(IObjectStream<ConlluSentence?>)

public ConlluTokenSampleStream(IObjectStream<ConlluSentence?> samples)

Parameters

samples IObjectStream<ConlluSentence>

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 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