Class OntoNotesNameSampleStream

Namespace
NOpenNLP.Tools.Formats.Ontonotes
Assembly
NOpenNLP.Tools.dll

Name Sample Stream parser for the OntoNotes 4.0 corpus.

public class OntoNotesNameSampleStream : FilterObjectStream<string?, NameSample?>, IObjectStream<NameSample?>, IDisposable
Inheritance
OntoNotesNameSampleStream
Implements
Inherited Members

Constructors

OntoNotesNameSampleStream(IObjectStream<string?>)

Name Sample Stream parser for the OntoNotes 4.0 corpus.

public OntoNotesNameSampleStream(IObjectStream<string?> samples)

Parameters

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