Named Entity Recognition 25.4
Named Entity Recognition User and Programming Guide

# EntityAdvancedFieldN

A comma-separated list of advanced fields to return, 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 `EntityAdvancedFieldN` in a similar way to EntityFieldN. You set `EntityAdvancedFieldN` to a comma-separated list of advanced fields that you want to return. The value of the advanced field is the output of simple operations (`min`, `max`, `sum`, and `ave`) on the values of entity components.

For example, for the following configuration:

    Entity0=testgrammar/testentity
    EntityField0=FIELD0
    EntityAdvancedField0=OfferPrice:max(price1 price2),BidPrice:min(price1 price2)

And the following data:

    share price1 price2
    Com1  165    167
    Com2  1890   1880

An entity with the following pattern:

    <grammar name="testgrammar">
    <entity name="testentity" type="public">
    <pattern>(?A=price1:\d+)\s+(?A=price2:\d+)</pattern>
    </entity>
    </grammar>

Returns the following results as fields:

    #DREFIELD FIELD0="165 167"
    #DREFIELD OfferPrice="167"
    #DREFIELD BidPrice="165"
    #DREFIELD FIELD0="1890 1880"
    #DREFIELD OfferPrice="1890"
    #DREFIELD BidPrice="1880"

Type: | String
Default: | None
Required: | No
Configuration Section: | Any section that you have defined for Named Entity Recognition settings
Example: | `Entity0=testgrammar/testentity EntityField0=FIELD0 EntityAdvancedField0=OfferPrice:max(price1 price2),BidPrice:min(price1 price2)`
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: EntityAdvancedFieldN