Table of Contents

Class PiiExtraction.PiiEntityDefinition

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

Describes one PII entity type that the extractor should recognize. Supports both built-in PII categories and fully custom labels.

public sealed class PiiExtraction.PiiEntityDefinition
Inheritance
PiiExtraction.PiiEntityDefinition
Inherited Members

Constructors

PiiEntityDefinition(PiiEntityType)

Creates a definition for one of the built-in PII categories.

PiiEntityDefinition(string)

Creates a definition for a fully custom PII label.

Properties

EntityType

The PII category to extract (e.g. EmailAddress, SocialSecurityNumber), or Custom for user-defined labels.

IsBuiltIn

True if this definition represents one of the pre-defined PII categories.

Label

The string key/name for this entity. For built-in types, equals EntityType.ToString(); for custom types, contains the user-provided label.

Methods

ToString()