Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Implements an entity extractor for International Bank Account Numbers. These codes are assigned to individual bank accounts (mostly EU, Middle East, & Caribbean).


Operates On:  Lexical Items with TOKEN with HAS_DIGIT, and possibly other flags as specified below.

Saga_is_recognizer

Info

See https://en.wikipedia.org/wiki/International_Bank_Account_Number

Include Page
Generic Configuration Parameters
Generic Configuration Parameters

Configuration Parameters

  • Parameter
    summaryResource name with the IBAN patterns
    defaultISO3166-1_alpha-2.txt
    namefilename
  • Parameter
    summaryName of the field holding the IBAN code
    defaultcode
    nameccfieldname
  • Parametersummary

    Name of the field holding the length of the codedefaultIBAN lengthnamelenfieldname
    Saga_config_stage
    boundaryFlagstext block split
    requiredFlagstoken, semantic tag
    titleDefault Config
    skipFlagsskip
    "filename": "ISO3166-1_alpha-2.txt",
    "ccfieldname": "code",
    "lenfieldname" "IBAN length",

    Example Output

    The following shows sample output from the IBAN.

    saga_graph
    Code Block
    languagetext
    ^-[GB82WEST12345698765432]-V-[BE71096123456769]-V-[FR7630006000011234567890189]-V-[GB98MIDL07009312345678]-^ 
    ^---------[{IBAN}]---------^------[{IBAN}]------^-----------[{IBAN}]------------^---------[{IBAN}]---------^ 

    Output Flags

    Lex-Item Flags:

    • SEMANTIC_TAG - Identifies all lexical items which are semantic tags.
    • BANK- Identifies a Bank account number.
    • IBAN- Account number with IBAN format.HAS_DIGIT - Tokens produced with at least one digit character are tagged as HAS_DIGIT 

    Vertex Flags:

    Info

    No vertices are created in this stage