Constructor PiiEntityDefinition
- Namespace
- LMKit.TextAnalysis
- Assembly
- LM-Kit.NET.dll
PiiEntityDefinition(PiiEntityType)
Creates a definition for one of the built-in PII categories.
public PiiEntityDefinition(PiiExtraction.PiiEntityType entityType)Parameters
- entityTypePiiExtraction.PiiEntityType
- A value from PiiExtraction.PiiEntityType except Custom. 
Exceptions
- ArgumentException
- Thrown if - entityType== Custom.
PiiEntityDefinition(string)
Creates a definition for a fully custom PII label.
public PiiEntityDefinition(string label)Parameters
- labelstring
- The custom string label (e.g. “PassportNumber”). Cannot be null or whitespace. 
Exceptions
- ArgumentException
- Thrown if - labelis null, empty, or whitespace.