Class OntoNotesParseSampleStream

Namespace
NOpenNLP.Tools.Formats.Ontonotes
Assembly
NOpenNLP.Tools.dll
public class OntoNotesParseSampleStream : FilterObjectStream<string?, Parse?>, IObjectStream<Parse?>, IDisposable
Inheritance
OntoNotesParseSampleStream
Implements
Inherited Members

Constructors

OntoNotesParseSampleStream(IObjectStream<string?>)

public OntoNotesParseSampleStream(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 Parse? Read()

Returns

Parse

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