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
- entityTypeNamedEntityRecognition.NamedEntityType
- A value from NamedEntityRecognition.NamedEntityType EXCEPT Custom. 
Exceptions
- ArgumentException
- Thrown if - entityTypeis Custom.
EntityDefinition(string)
Creates a definition for a fully custom entity label.
public EntityDefinition(string label)Parameters
- labelstring
- The custom string label (e.g. “DiseaseName”). Cannot be null or whitespace. 
Exceptions
- ArgumentException
- Thrown if - labelis null, empty, or whitespace.