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

# banking grammar

The banking grammar is found in the set PII.

entity | description | examples | components | checksum
--- | --- | --- | --- | ---
banking/account_number/context/CC | An individual bank account number, with context. | "Bank account number: 1234567" | ✔️ | ❌
banking/account_number/landmark/CC | An individual bank account number landmark. | Bank account number. | ❌ | ❌
banking/account_number/nocontext/CC | An individual bank account number, without context. | 1234567 | ✔️ | ❌
banking/context/CC | Bank account numbers sufficient to identify an individual account, with context. | Bank account details: 40-38-02 31618080 | ✔️ | ✓
banking/iban/context/CC | An International Bank Account Number (IBAN), with context. The IBAN number can have spaces, hyphens (-), or periods (.) as delimiters between different components of the IBAN. | "IBAN: DE75512108001245126199" IBAN: GB33-BUKB-2020-1555-5555-55 | ❌ | ✓
banking/iban/landmark | An International Bank Account Number (IBAN) landmark. | IBAN | ❌ | ❌
banking/iban/nocontext/CC | An International Bank Account Number (IBAN), without context. | DE75512108001245126199 | ❌ | ✓
banking/landmark/CC | A bank account landmark. | Bank account details | ❌ | ❌
banking/nocontext/CC | Bank account numbers sufficient to identify an individual account, without context. | 40-38-02 31618080 | ✔️ | ✓
banking/roll_number/context/gb | A UK building society roll number, with context. | Roll number: 1234/123456789 | ✔️ | ❌
banking/roll_number/landmark/gb | A UK building society roll number landmark. | Roll number | ❌ | ❌
banking/roll_number/nocontext/gb | A UK building society roll number, without context. | 1234/123456789 | ✔️ | ❌
banking/routing_number/context/CC | A routing number, usually used to identify a bank branch, with context. | Sort code: 40-38-02 | ✔️ | ❌
banking/routing_number/landmark/CC | A routing number landmark. | Sort code | ❌ | ❌
banking/routing_number/nocontext/CC | A routing number, usually used to identify a bank branch, without context. | 40-38-02 | ✔️ | ❌
banking/swiftcode/context/CC | A SWIFT/BIC code, with context. | SWIFT code: EFGHCAVVV | ❌ | ❌
banking/swiftcode/landmark | A SWIFT/BIC code landmark. | SWIFT Number SWIFT code | ❌ | ❌
banking/swiftcode/nocontext/CC | A SWIFT/BIC code, without context. | EFGHCAVVV | ❌ | ❌

The following components are produced by the above entities.

components | description | examples | context
--- | --- | --- | ---
ACCOUNT_NUMBER | bank account number | 1234567890 | Bank details: 033088 1234567890
BANK_CODE | bank code number | 20041 | 20041 01005 0500013M026 06
CHECK_DIGIT | checksum digit | 9 | 032180000118359719
CHECK_DIGITS | checksum digits | 06 | 20041 01005 0500013M026 06
ROLL_NUMBER | building society roll number |  | 1234/123456789
ROUTING_NUMBER | bank routing number, usually used to identify a bank branch | 033088 | Bank details: 033088 1234567890

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: banking grammar