Named Entity Recognition 25.3
Named Entity Recognition User and Programming Guide

# Sample Configuration File

The following shows the configuration for a sample Named Entity Recognition task:

    [Eduction]
    ResourceFiles=C:\MyGrammar\gram1.ecr,C:\MyGrammar\gram2.ecr
    ZoneStart0=<TEXT>
    ZoneEnd0=</TEXT>
    ZoneStart1=acknowledgements
    ZoneEnd1=introduction
    Entity0=common/aus_holidays
    EntityField0=HOLIDAYS
    EntityZone0=0
    Entity1=common/us_holidays
    EntityField1=HOLIDAYS
    EntityZone1=0
    Entity2=us/social_security_number
    EntityField2=SS_NUMBER
    EntityZone2=1
    SearchFields=DRECONTENT

    [Logging]
    LogLevel=Full

This sample uses two grammar files. It searches for all Australian and U.S. holidays in the `DRECONTENT` field between the text <Text> and </Text>, adding the matches as additional fields `HOLIDAYS`. It also searches for a single social security number in `DRECONTENT` between the text acknowledgements and introduction and adds the results as a new field `SS_NUMBER`.

Copyright 2013-2025 Open Text
Version 25.3 | Last updated July 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.3

Topic Title: Sample Configuration File