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

# name grammar

The name grammar is found in the sets PII, PHI, PCI.

entity | description | examples | components | checksum
--- | --- | --- | --- | ---
name/CC | 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.1 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. | John Smith | ✔️ | ❌
name/given_name/context/CC | A given name with context. For CJKVT the context landmark should be in CJKVT native script. | Forename: John 名前: 恵 | ✔️ | ❌
name/given_name/landmark/CC | A given name landmark. For CJKVT it will be in native script. | Forename 名前 | ❌ | ❌
name/given_name/nocontext/CC | A given name, without context. | John 直樹 | ❌ | ❌
name/landmark/CC | A full name landmark. | 名前 name | ❌ | ❌
name/post_title/CC | A title that follows a name. | Esq | ❌ | ❌
name/pre_title/CC | A title that precedes a name. | Ms | ❌ | ❌
name/surname/context/CC | A surname with context. For CJKVT the landmark will be in native script | Surname: Smith 名字: 山田 | ✔️ | ❌
name/surname/landmark/CC | A surname landmark. | Surname 名字 | ❌ | ❌
name/surname/nocontext/CC | A surname without context. | Smith 山田 | ❌ | ❌
name/title_surname/CC | A title and surname. | Mr. Smith 譚医生 | ✔️ | ❌

The following components are produced by the above entities.

components | description | examples | context
--- | --- | --- | ---
FORENAME | forename of an individual | MOHAMMED | Mohammed Hussein
INITIAL | initial, as part of a name | A | A. Buajan Junior
PATRONYMIC | patronymic | ДМИТРИЕВНА | Анастасия Дмитриевна Смирнова
POST_TITLE | post title of an individual | JR | Klaus Acar Jr
PRE_TITLE | pre-title as part of a name | MR | Mr Anatoli Salich Jr
SURNAME | surname/family name of an individual | HUSSEIN | Mohammed Hussein
SURNAMEPREFIX | prefix of a surname | AL | Wassim Al Kaabi

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