Class ChunkerFactory

Namespace
NOpenNLP.Tools.Chunker
Assembly
NOpenNLP.Tools.dll
public class ChunkerFactory : BaseToolFactory
Inheritance
ChunkerFactory
Derived
Inherited Members

Constructors

ChunkerFactory()

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

public ChunkerFactory()

Properties

ContextGenerator

public virtual IChunkerContextGenerator ContextGenerator { get; }

Property Value

IChunkerContextGenerator

SequenceValidator

public virtual ISequenceValidator<TokenTag> SequenceValidator { get; }

Property Value

ISequenceValidator<TokenTag>

Methods

Create(string?)

public static ChunkerFactory Create(string? subclassName)

Parameters

subclassName string

Returns

ChunkerFactory

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