Table of Contents

Constructor EntityDefinition

Namespace
LMKit.TextAnalysis
Assembly
LM-Kit.NET.dll

EntityDefinition(NamedEntityType)

Creates a definition for one of the built‐in enum types.

public EntityDefinition(NamedEntityRecognition.NamedEntityType entityType)

Parameters

entityType NamedEntityRecognition.NamedEntityType

A value from NamedEntityRecognition.NamedEntityType EXCEPT Custom.

Exceptions

ArgumentException

Thrown if entityType is Custom.

EntityDefinition(string)

Creates a definition for a fully custom entity label.

public EntityDefinition(string label)

Parameters

label string

The custom string label (e.g. “DiseaseName”). Cannot be null or whitespace.

Exceptions

ArgumentException

Thrown if label is null, empty, or whitespace.