Named Entity Recognition Grammars Package 25.2
Named Entity Recognition Grammars User Guide

# tin grammar

The tin grammar is found in the set PII.

entity | description | examples | components | checksum
--- | --- | --- | --- | ---
tin/context/CC | A tax identification number with context. For more examples, see Example Tax Identification Numbers.1 By default, when there are multiple possible matches, post-processing returns only one country, which is the most efficient option. You can enable ambiguous entity matching by setting ambiguous_entities=true in the pii_postprocessing.lua script. This option returns multiple possible country matches. | ITIN: 911-92-3333 TIN-numre: 101111113 | ✔️ | ✓
tin/landmark/CC | A tax identification number landmark. | ITIN TIN-numre | ❌ | ❌
tin/nocontext/CC | A tax identification number without context. For more examples, see Example Tax Identification Numbers.2 By default, when there are multiple possible matches, post-processing returns only one country, which is the most efficient option. You can enable ambiguous entity matching by setting ambiguous_entities=true in the pii_postprocessing.lua script. This option returns multiple possible country matches. | 756.3047.5009.62 Z1234567R | ✔️ | ✓
tin/vatin/context/CC | A VAT identification number with context. | NUIS: ALK99999999L VAT Reg No GB 980 7806 84 | ✔️ | ✓
tin/vatin/landmark/CC | A VAT identification number landmark. | NUIS VAT Reg No | ❌ | ❌
tin/vatin/nocontext/CC | A VAT identification number without context. | GB 980 7806 84 ALK99999999L | ✔️ | ✓

The following components are produced by the above entities.

components | description | examples | context
--- | --- | --- | ---
BUSINESS_NUMBER |  | 12302 6635 | 12302 6635 RC 0001
CODE | VAT identification number, minus the country code | U10223006 | ATU10223006
LANDMARK | landmark indicating the entity type | رخصة قيادة | رخصة قيادة: 1234567
PAN | Permanent Account Number | AAPFU0939F | 27AAPFU0939F1ZV

In the tables, ✔️ indicates that the item is always used, and ❌ that the item is never used. The ✓ symbol indicates that the item is only used for some entities (that is, for some but not all countries or languages). For details, refer to the relevant entity page.

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Named Entity Recognition Grammars Package 25.2

Topic Title: tin grammar