Class NamedEntityRecognition.EntityDefinition
- Namespace
- LMKit.TextAnalysis
- Assembly
- LM-Kit.NET.dll
Describes one entity type that the extractor should recognize. Supports both built‐in types (via NamedEntityRecognition.NamedEntityType) and fully custom labels.
public sealed class NamedEntityRecognition.EntityDefinition
- Inheritance
-
NamedEntityRecognition.EntityDefinition
- Inherited Members
Constructors
- EntityDefinition(NamedEntityType)
Creates a definition for one of the built‐in enum types.
- EntityDefinition(string)
Creates a definition for a fully custom entity label.
Properties
- EntityType
If EntityType is not Custom, this indicates which built‐in category to extract (e.g. Person, Location). If EntityType is Custom, use Label to determine the actual name.
- IsBuiltIn
Returns true if this definition represents a built‐in type, false if it’s custom.
- Label
The string key/name for this entity. For built‐in types, this matches EntityType.ToString(). For custom types, this is the user‐provided label.