Named Entity Recognition Grammars Package 26.2
Named Entity Recognition Grammars User Guide

# location grammar

The location grammar is found in the set PHI.

entity | description | examples | components | checksum
--- | --- | --- | --- | ---
location/us | A US subdivision smaller than a state, such as towns, cities, and counties. Scores are boosted by the presence of a state, a zipcode, or a nearby landmark value. For example, "Houston" scores 0.4, while "Houston, Texas" scores 0.65 and "city of Houston, Texas" scores 1. State names are normalized in the results to the fullest form (for example, TX to TEXAS). | Bozeman MT 59715-3890 town of Alamo in the state of Indiana | ✔️ | ❌

The following components are produced by the above entities.

components | description | examples | context
--- | --- | --- | ---
POSTCODE | postal code | 1210 | Schlosshoferstrasse 20,1210 Vienna

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 2026 Open Text
Version 26.2 | Last updated April 2026

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 26.2

Topic Title: location grammar