Class NameSampleDataStreamFactory

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

Factory producing OpenNLP NameSampleDataStreams.

public class NameSampleDataStreamFactory : AbstractSampleStreamFactory<NameSample?>, IObjectStreamFactory<NameSample?>
Inheritance
NameSampleDataStreamFactory
Implements
Inherited Members

Properties

Parameters

The parameters this format accepts, in the order they should be listed in help.

public override IEnumerable<IFormatParameter> Parameters { get; }

Property Value

IEnumerable<IFormatParameter>

Methods

Create(IFormatParameterValues)

Creates the IObjectStream<T> over the corpus named by values.

public override IObjectStream<NameSample?> Create(IFormatParameterValues values)

Parameters

values IFormatParameterValues

the parsed values of Parameters

Returns

IObjectStream<NameSample>

a stream of samples

RegisterFactory()

public static void RegisterFactory()