Named Entity Recognition 25.4
Named Entity Recognition User and Programming Guide

# EntityN

A comma-separated list of entities to extract. Entities are defined in the grammar file that you set in the ResourceFiles parameter. Replace `N` with the zero-based rank of the entity.

You must associate each entity with a field by setting EntityFieldN.

You cannot use the entity name `entities/ZoneStartN` or `entities/ZoneEndN` (where `N` is a numeric value). These entity names are reserved for use by Named Entity Recognition.

If you do not define an `EntityN` parameter, Named Entity Recognition looks for all entities in all loaded grammar files. In this case, Named Entity Recognition automatically generates the `EntityFieldN` settings from the entities found in grammar files, by converting the entity names to uppercase and replacing slashes with an underscore. For example, for the entity `edk_common_entities/place`, Named Entity Recognition generates the entity field: `EDK_COMMON_ENTITIES_PLACE`.

If you want to use several entities, you can use wildcard expressions instead of typing a lengthy comma-separated list. For example:

    Entity0=place/city1/*,place/city2/*
    EntityField0=CITY
    Entity1=place/*/spabo
    EntityField1=BOLIVIAN_PLACE

You can use the * wildcard to match any number of characters, or the ? wildcard to match a single character.

Type: | String
Default: | None
Required: | No
Configuration Section: | Eduction
Example: |
    Entity0=edk_common_entities/ss_number
    EntityField0=SOCIAL_SECURITY_NUMBER
    EntityZone0=0
    Entity1=edk_common_entities/postal_address
    EntityField1=SHIPPING_ADDRESS
    EntityZone1=1
    ZoneStart0=Social Security:
    ZoneEnd0=Shipping Address
    ZoneStart1=Shipping Address:
    ZoneEnd1=Billing Address
See Also: | EntityFieldN EntityMinScoreN EntityZoneN

Copyright 2013-2025 Open Text
Version 25.4 | Last updated October 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: Knowledge Discovery Named Entity Recognition 25.4

Topic Title: EntityN