Named Entity Recognition 25.4
Named Entity Recognition User and Programming Guide

# EntityComponentFieldN

A comma-separated list of entity components that you want to return as fields, associated with the entities specified by the EntityN parameter.

To use this option you must:

- set `OutputSimpleMatchInfo` to `False` for edktool.
- set `EnableComponents` to `True` for edktool.
- define components in the entity definition.

You configure `EntityComponentFieldN` in a similar way to EntityFieldN. Set `EntityComponentFieldN` to a comma-separated list of entity components to return as fields.

For example, for the following configuration:

    Entity0=testgrammar/testentity
    EntityField0=FIELD0
    EntityComponentField0=Name,Age

And the following data:

    name    age
    geoff   45
    jane    54

An entity with the following pattern:

    <grammar name="testgrammar">
    <entity name="testentity" type="public">
    <pattern>name\s+age(\n(?A=Name:\w+)\s+(?A=Age:\d+)){1,}</pattern>
    </entity>
    </grammar>

Returns the following values as fields:

    #DREFIELD Name="geoff"
    #DREFIELD Age="45"
    #DREFIELD Name="jane"
    #DREFIELD Age="54"

Type: | String
Default: | None
Required: | No
Configuration Section: | Eduction
Example: | `Entity0=testgrammar/testentity EntityField0=FIELD0 EntityComponentField0=Name,Age`
See Also: | EntityN 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: EntityComponentFieldN