Enum EntityKind
- Namespace
- LMKit.Extraction.Taxonomy
- Assembly
- LM-Kit.NET.dll
Identifies the semantic kind of an extracted entity, such as an email address, phone number, IBAN, or postal code.
public enum EntityKind
Fields
Unknown = 0No specific entity kind was detected.
PersonFullName = 1Full name of a person.
GivenName = 2Given (first) name.
MiddleName = 3Middle name.
FamilyName = 4Family (last) name.
HonorificPrefix = 5Honorific prefix (e.g., Mr., Dr.).
HonorificSuffix = 6Honorific suffix (e.g., Jr., III).
OrganizationName = 7Organization or company name.
Department = 8Department within an organization.
JobTitle = 9Job title or position.
EmailAddress = 10Email address (validated with RFC-compliant rules).
PhoneNumber = 11Telephone number (validated for structure).
FaxNumber = 12Fax number (validated for structure).
SocialHandle = 13Social media handle (e.g., @handle).
Username = 14Username or login identifier.
WebsiteUri = 15Website or homepage URI (validated as a well-formed URL).
AddressFull = 16Full address as a single combined line.
StreetAddress = 17Street address including number and optional unit.
HouseNumber = 18House or building number.
StreetName = 19Street name.
Unit = 20Unit, apartment, or suite identifier.
Building = 21Building, tower, or block name.
Floor = 22Floor number.
POBox = 23Post office box number.
Neighborhood = 24Neighborhood name.
SubLocality = 25Sub-locality such as a district, ward, or arrondissement.
City = 26City or locality.
District = 27District, borough, or municipality (when distinct from city).
County = 28County or administrative area level 2.
StateOrProvince = 29State, province, or administrative area level 1.
AdministrativeArea = 30Generic administrative area when the specific level is unknown.
PostalCode = 31Postal or ZIP code (validated for structure).
Country = 32Country name.
CountryIso2 = 33ISO 3166-1 alpha-2 country code (e.g., US, FR).
CountryIso3 = 34ISO 3166-1 alpha-3 country code (e.g., USA, FRA).
Latitude = 35Geographic latitude coordinate.
Longitude = 36Geographic longitude coordinate.
Date = 37Calendar date without time component.
Time = 38Time of day without date component.
DateTime = 39Combined date and time.
Duration = 40Duration or time span.
Age = 41Age value.
TimeZone = 42Time zone identifier.
CurrencyAmount = 43Monetary amount (numeric, currency-agnostic).
CurrencyCode = 44ISO 4217 currency code (e.g., EUR, USD). Validated.
TaxId = 45Generic tax identification number.
VatNumber = 46VAT registration number.
Iban = 47International Bank Account Number. Validated with MOD-97 checksum.
SwiftBic = 48SWIFT/BIC bank identifier code. Validated for structure.
BankAccountNumber = 49Bank account number.
RoutingNumber = 50Bank routing or sort code number.
CreditCardNumber = 51Credit or debit card number.
CreditCardExpiryMonth = 52Credit card expiry month.
CreditCardExpiryYear = 53Credit card expiry year.
CreditCardCvv = 54Credit card security code (CVV/CVC). Handle with care.
NationalIdNumber = 55Country-specific national identification number.
PassportNumber = 56Passport number.
DriverLicenseNumber = 57Driver's license number.
LicensePlate = 58Vehicle license plate number.
SerialNumber = 59Generic serial number.
Uuid = 60Universally Unique Identifier. Validated for GUID format.
Guid = 61Globally Unique Identifier (alias of UUID in .NET). Validated.
Isbn10 = 62ISBN-10 book identifier.
Isbn13 = 63ISBN-13 book identifier.
Issn = 64International Standard Serial Number.
Uri = 65Generic URI or URL. Validated for well-formed structure.
IpV4Address = 66IPv4 network address. Validated.
IpV6Address = 67IPv6 network address. Validated.
MacAddress = 68MAC (hardware) address. Validated for format.
Integer = 69Integer numeric value.
Decimal = 70Decimal or floating-point numeric value.
Percentage = 71Percentage value.
MeasurementValue = 72Numeric measurement magnitude.
MeasurementUnit = 73Measurement unit (e.g., kg, m, °C).
Range = 74Textual range (e.g., "5-10").
Boolean = 75Boolean true/false value.
LanguageCode = 76ISO 639 language code (e.g., en, fr).
Locale = 77BCP 47 locale tag (e.g., en-US, fr-FR).
Remarks
Entity kinds are automatically detected from the field name during schema construction (see TextExtractionElement). When a matching validator exists for the detected kind, the extraction pipeline can verify that the extracted value conforms to the expected format and report the result via Validation.