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

# Entities supported for the country se

The following entities are supported for the country se (Sweden)

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. | BOX 1121, SE-111 81 STOCKHOLM, SWEDEN Goetaplatsen 9,41134 Stockholm genomgångslägenhet 19 Goetaplatsen 9, 41134 Stockholm
address/city/context | A city or town, with context. | Staden: Stockholm
address/city/landmark | A city or town landmark. | Staden
address/city/nocontext | A city or town, without context. | Stockholm
address/country/context | A country, with context. | Land: Sverige
address/country/landmark | A country landmark. | Land
address/country/nocontext | A country, without context. | Sverige
address/landmark | A postal address landmark. | adressplats
address/postcode/context | A postal code, with context. | POSTKODER: 41134
address/postcode/landmark | A postal code landmark. | POSTKODER
address/postcode/nocontext | A postal code, without context. | 41134
address/streetlocation/context | A street location (house number and street name), with context. | adress: BOX 1121 adress: Goetaplatsen 9 adress: genomgångslägenhet 19 Goetaplatsen 9
address/streetlocation/landmark | A street location landmark. | adress
address/streetlocation/nocontext | A street location (house number and street name), without context. | BOX 1121 Goetaplatsen 9 genomgångslägenhet 19 Goetaplatsen 9
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: SE7280000810340009783242
banking/iban/nocontext | An International Bank Account Number (IBAN), without context. | SE7280000810340009783242
banking/swiftcode/context | A SWIFT/BIC code, with context. | SWIFT code: XXXXSE00BBB
banking/swiftcode/nocontext | A SWIFT/BIC code, without context. | XXXXSE00BBB
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. | B-körkort: 123456-1234A
driving/landmark | A driving license landmark. | B-körkort
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. | 123456-1234A
health/ehic/context | An EHIC personal identification number with context. | EU-kort: 12345678-1234
health/ehic/landmark | An EHIC landmark | EU-kort
health/ehic/nocontext | An EHIC personal identification number without context. | 12345678-1234
id/context | A national identity number with context. For information about the supported ID numbers, see Supported National ID Numbers. | Samordningsnummer: 870978-9997 personnummer: 870918-9990
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. | Samordningsnummer personnummer
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. | 870918-9990 870978-9997
internet/email/context | An email address, with context. | e-post: jsmith@mailserver.com
internet/email/landmark | An email address landmark. | e-post
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. | Christel af Ejdetjrn Esq Mr S. Lindholm Sara Lindholm
name/given_name/context | A given name with context. For CJKVT the context landmark should be in CJKVT native script. | förnamn: Sara
name/given_name/landmark | A given name landmark. For CJKVT it will be in native script. | förnamn
name/given_name/nocontext | A given name, without context. | Sara
name/landmark | A full name landmark. | namn
name/post_title | A title that follows a name. | Esq
name/pre_title | A title that precedes a name. | Mr
name/surname/context | A surname with context. For CJKVT the landmark will be in native script | efternamn: Lindholm
name/surname/landmark | A surname landmark. | efternamn
name/surname/nocontext | A surname without context. | Lindholm
name/title_surname | A title and surname. | Dr Lindholm Mr af Lindholm
nationality/adj/context | A nationality adjective with context. | nationalitet: svenska
nationality/adj/landmark | A nationality adjective landmark. | nationalitet
nationality/adj/nocontext | A nationality adjective without context. | svenska
nationality/any/context | Any combination of nationality adjective and noun landmark and value. | land: Sverige
nationality/any/landmark | Any nationality adjective or landmark. | land
nationality/any/nocontext | Any nationality adjective or noun. | Sverige
nationality/noun/context | A nationality noun with context. | land: Sverige
nationality/noun/landmark | A nationality noun landmark. | land
nationality/noun/nocontext | A nationality noun without context. | Sverige
passport/context | A passport number with context. | PASS: 62366643
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. | PASS
passport/nocontext | A passport number without context. | 62366643
postcode/context | A postal code with context. | POSTKODER: 41134
postcode/landmark | A postal code landmark. | POSTKODER
postcode/nocontext | A postal code without context. | 41134
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. | mobiltelefon: +46 (0) 8 671 30 00
telephone/landmark | A telephone number landmark. For the telephone_cjkvt grammar, landmarks are available only in CJKVT native script. | mobiltelefon
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. | +46 (0) 8 671 30 00
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. | Skatteregistreringsnummer: 870978-9997 skattebetalarens identifikationsnummer: 870918-9990
tin/landmark | A tax identification number landmark. | Skatteregistreringsnummer skattebetalarens identifikationsnummer
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. | 870918-9990 870978-9997
tin/vatin/context | A VAT identification number with context. | Momsnr: SE556188840401
tin/vatin/landmark | A VAT identification number landmark. | Momsnr
tin/vatin/nocontext | A VAT identification number without context. | SE556188840401

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 se