Skip to content

Commit

Permalink
add supported entities
Browse files Browse the repository at this point in the history
  • Loading branch information
zsimjee committed Dec 10, 2024
1 parent 2e9674d commit fe36f6d
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,48 @@ guard = Guard().use(

```

### Supported Entities
The following entities are supported by this validator. You may use any combination of them together in the validator init

- "CREDIT_CARD",
- "CRYPTO",
- "DATE_TIME",
- "EMAIL_ADDRESS",
- "IBAN_CODE",
- "IP_ADDRESS",
- "NRP",
- "LOCATION",
- "PERSON",
- "PHONE_NUMBER",
- "MEDICAL_LICENSE",
- "URL",
- "US_BANK_NUMBER",
- "US_DRIVER_LICENSE",
- "US_ITIN",
- "US_PASSPORT",
- "US_SSN",
- "UK_NHS",
- "ES_NIF",
- "ES_NIE",
- "IT_FISCAL_CODE",
- "IT_DRIVER_LICENSE",
- "IT_VAT_CODE",
- "IT_PASSPORT",
- "IT_IDENTITY_CARD",
- "PL_PESEL",
- "SG_NRIC_FIN",
- "SG_UEN",
- "AU_ABN",
- "AU_ACN",
- "AU_TFN",
- "AU_MEDICARE",
- "IN_PAN",
- "IN_AADHAAR",
- "IN_VEHICLE_REGISTRATION",
- "IN_VOTER",
- "IN_PASSPORT",
- "FI_PERSONAL_IDENTITY_CODE"

# API Reference

**`__init__(self, entities: List[str], model_name: str = "urchade/gliner_small-v2.1", on_fail: Optional[Callable] = None)`**
Expand Down

0 comments on commit fe36f6d

Please sign in to comment.