Table of Contents

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

entityType PiiExtraction.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

label string

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

Exceptions

ArgumentException

Thrown if label is null, empty, or whitespace.