Class LemmatizerFactory

Namespace
NOpenNLP.Tools.Lemmatizer
Assembly
NOpenNLP.Tools.dll
public class LemmatizerFactory : BaseToolFactory
Inheritance
LemmatizerFactory
Inherited Members

Constructors

LemmatizerFactory()

Creates a LemmatizerFactory that provides the default implementation of the resources.

public LemmatizerFactory()

Properties

ContextGenerator

public virtual ILemmatizerContextGenerator ContextGenerator { get; }

Property Value

ILemmatizerContextGenerator

SequenceValidator

public virtual ISequenceValidator<string> SequenceValidator { get; }

Property Value

ISequenceValidator<string>

Methods

Create(string?)

public static LemmatizerFactory Create(string? subclassName)

Parameters

subclassName string

Returns

LemmatizerFactory

ValidateArtifactMap()

Validates the parsed artifacts. If something is not valid subclasses should throw an InvalidFormatException.

Note: Subclasses should generally invoke super.validateArtifactMap at the beginning of this method.

public override void ValidateArtifactMap()

Exceptions

InvalidFormatException