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

# Entities supported for the country es

The following entities are supported for the country es (Spain)

entity | description | example
--- | --- | ---
address | A postal address. In general, a score of one is given to an address that includes a numbered, common format street address (for example "23 North Road"), a known city (for example "London"), and a postal code in a viable format for the country (for example "SW1A 2AA"). Deviations from this form lead to score penalties. The ordering of these elements varies by country. OpenText recommends that you use prefiltering to improve the performance for this grammar. See Configure Prefiltering. This entity returns the addresses in a normalized format by default. The normalized form standardizes apartment and house numbers, expands shortened forms of region names, removes additional punctuation, and converts the text to uppercase. For example "ABIDEI HURRIYET CD TANER PALAS APT 9, KAT:7, D:9, 34437 ISTANBUL". The exact order depends on the country. You can turn off normalization by setting normalize_addresses=false in the address_stoplist.lua script. This option can improve performance when you do not need normalization. | Alameda de Colón,26, 2o G. 29001 Málaga Apartado 324, 33400 AVILÉS, ASTURIAS, SPAIN Apartamento 27 Avenida Juan Xxiii 20, 41006, Sevilla Avda Américo Vespucio,5. Edificio Cartuja, bloque 1, 2o. 41092 Sevilla Avenida Juan Xxiii 20,41006,Sevilla VDA RAMON Y CAJAL 3, Esc:2 Piso:1º Pta:B, 28703, MADRID
address/city/context | A city or town, with context. | Ciudad: Sevilla
address/city/landmark | A city or town landmark. | Ciudad
address/city/nocontext | A city or town, without context. | Sevilla
address/country/context | A country, with context. | País: España
address/country/landmark | A country landmark. | País
address/country/nocontext | A country, without context. | España
address/landmark | A postal address landmark. | dirección postal
address/postcode/context | A postal code, with context. | código postal: 41006
address/postcode/landmark | A postal code landmark. | código postal
address/postcode/nocontext | A postal code, without context. | 41006
address/streetlocation/context | A street location (house number and street name), with context. | dirección postal: Apartado 324 dirección postal: Apartamento 27 Avenida Juan Xxiii 20 dirección postal: Avda Américo Vespucio, 5. Edificio Cartuja, bloque 1, 2o. dirección postal: Avenida Juan Xxiii 20 dirección postal: VDA RAMON Y CAJAL 3, Esc:2 Piso:1º Pta:B
address/streetlocation/landmark | A street location landmark. | dirección postal
address/streetlocation/nocontext | A street location (house number and street name), without context. | Apartado 324 Apartamento 27 Avenida Juan Xxiii 20 Avda Américo Vespucio, 5. Edificio Cartuja, bloque 1, 2o. Avenida Juan Xxiii 20 VDA RAMON Y CAJAL 3, Esc:2 Piso:1º Pta:B
banking/iban/context | 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: ES7921000813610123456789
banking/iban/nocontext | An International Bank Account Number (IBAN), without context. | ES7921000813610123456789
banking/swiftcode/context | A SWIFT/BIC code, with context. | SWIFT code: XXXXES00BBB
banking/swiftcode/nocontext | A SWIFT/BIC code, without context. | XXXXES00BBB
driving/context | A driving license number with context. This entity matches both the driving license number, and the personal number or driver number, if present. On the standard European driving license, these are fields 5 and 4d.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. | Autorización para la conducción de vehículos: 12345678-A
driving/landmark | A driving license landmark. | Autorización para la conducción de vehículos
driving/nocontext | A driving license number, without context.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. | 12345678-A
health/ehic/context | An EHIC personal identification number with context. | TSE: 123456789012
health/ehic/landmark | An EHIC landmark | TSE
health/ehic/nocontext | An EHIC personal identification number without context. | 123456789012
health/id/context | A Spanish health insurance card number with context. | CatSalut: ABCD 1 123456 12 1
health/id/landmark | A health number landmark. | CatSalut
health/id/nocontext | A health number, such as a British NHS number, French Carte Vitale number or Japanese Health Insurance Card number, without context. | ABCD 1 123456 12 1
id/context | A national identity number with context. For information about the supported ID numbers, see Supported National ID Numbers. | DNI: 00000000T Número de la Seguridad Social: 281234567840
id/landmark | A national identity number landmark.3 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. | DNI Número de la Seguridad Social
id/nocontext | A national identity number without context. For information about the supported ID numbers, see Supported National ID Numbers.4 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. | 00000000T 281234567840 Z1234567R
internet/email/context | An email address, with context. | correo electrónico: jsmith@mailserver.com
internet/email/landmark | An email address landmark. | correo electrónico
internet/email/nocontext | An email address, without context. | jsmith@mailserver.com
name | A full personal name. Romanized names can be in title case or upper case, and can be in the order given name surname or surname given name. CJKVT native script names must be surname given name. For Japanese, either form can include honorifics.5 This entity returns the names in a normalized format, in the form GIVEN NAME SURNAME, for example JOHN SMITH. You can turn off normalization by setting normalize_names=false in the name_stoplist.lua script. You can also turn off score adjustment, by setting rescore_names=false in the name_stoplist.lua script. This option can improve performance when you do not need the normalization or score refinement. | Alicia delas Cobo GE Pau Romero Srta P. Romero
name/given_name/context | A given name with context. For CJKVT the context landmark should be in CJKVT native script. | nombre: Pau
name/given_name/landmark | A given name landmark. For CJKVT it will be in native script. | nombre
name/given_name/nocontext | A given name, without context. | Pau
name/landmark | A full name landmark. | nombre
name/post_title | A title that follows a name. | GE
name/pre_title | A title that precedes a name. | Srta
name/surname/context | A surname with context. For CJKVT the landmark will be in native script | apellido: Romero
name/surname/landmark | A surname landmark. | apellido
name/surname/nocontext | A surname without context. | Romero
name/title_surname | A title and surname. | Dr Romero Srta delas Romero
nationality/adj/context | A nationality adjective with context. | nacionalidad: español
nationality/adj/landmark | A nationality adjective landmark. | nacionalidad
nationality/adj/nocontext | A nationality adjective without context. | español
nationality/any/context | Any combination of nationality adjective and noun landmark and value. | PAÍS: España
nationality/any/landmark | Any nationality adjective or landmark. | PAÍS
nationality/any/nocontext | Any nationality adjective or noun. | España
nationality/noun/context | A nationality noun with context. | PAÍS: España
nationality/noun/landmark | A nationality noun landmark. | PAÍS
nationality/noun/nocontext | A nationality noun without context. | España
passport/context | A passport number with context. | pasaporte: BC858683
passport/landmark | A passport landmark. For information about cases where the landmark and passport number do not match or have an ambiguous match, see Ambiguous Entities. | pasaporte
passport/nocontext | A passport number without context. | BC858683
postcode/context | A postal code with context. | código postal: 41006
postcode/landmark | A postal code landmark. | código postal
postcode/nocontext | A postal code without context. | 41006
telephone/context | A telephone number with context. For the telephone_cjkvt grammar, numbers can be ASCII or full-width numbers. This entity returns the telephone number in the normalized format +NNNNN, starting with the country code. For example +12012224344.6 To ensure that this entity performs correctly, set your TangibleCharacters configuration to include the following characters: ()+-. For more information, see Configure Tangible Characters. | teléfono móvil: +34 91 714 6300
telephone/landmark | A telephone number landmark. For the telephone_cjkvt grammar, landmarks are available only in CJKVT native script. | teléfono móvil
telephone/nocontext | A telephone number without context. For the telephone_cjkvt grammar, numbers can be ASCII or full-width numbers. This entity returns the telephone number in the normalized format +NNNNN, starting with the country code. For example +12042439955.7 To ensure that this entity performs correctly, set your TangibleCharacters configuration to include the following characters: ()+-. For more information, see Configure Tangible Characters. | +34 91 714 6300
tin/context | A tax identification number with context. For more examples, see Example Tax Identification Numbers.8 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. | NIF: K0000000T Número de identificación fiscal: 00000000T Número de identificación fiscal: Z1234567R
tin/landmark | A tax identification number landmark. | NIF Número de identificación fiscal
tin/nocontext | A tax identification number without context. For more examples, see Example Tax Identification Numbers.9 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. | 00000000T K0000000T Z1234567R
tin/vatin/context | A VAT identification number with context. | NIF: ESA0011012B
tin/vatin/landmark | A VAT identification number landmark. | NIF
tin/vatin/nocontext | A VAT identification number without context. | ESA0011012B

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: Entities supported for the country es