Class MucNameSampleStream

Namespace
NOpenNLP.Tools.Formats.Muc
Assembly
NOpenNLP.Tools.dll
public class MucNameSampleStream : FilterObjectStream<string?, NameSample?>, IObjectStream<NameSample?>, IDisposable
Inheritance
MucNameSampleStream
Implements
Inherited Members

Constructors

MucNameSampleStream(ITokenizer, IObjectStream<string?>)

protected MucNameSampleStream(ITokenizer tokenizer, IObjectStream<string?> samples)

Parameters

tokenizer ITokenizer
samples IObjectStream<string>

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

Returns

NameSample

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