Named Entity Recognition Grammars Package 26.3
Named Entity Recognition Grammars User Guide

# Enable Context Checks for the Name Grammar

You can turn on additional context checks for the names grammar, which can eliminate some false positive matches. This option adds a small performance penalty to the extraction speed, so it is turned off by default.

For example, with this option turned on, Named Entity Recognition does not match M Records as a name when it matches in the string A&M Records.

To enable this feature, you can use the following configuration.

    [Eduction]
    ContextCharsBeforeMatch=5
    ContextCharsAfterMatch=5
    PostProcessingDefaultParameters=LuaParams

    [LuaParams]
    IDOL_PXI_NAME_CHECK_CONTEXT=TRUE

Alternatively, you can set `IDOL_PXI_NAME_CHECK_CONTEXT` as an environment variable.

Copyright 2026 Open Text
Version 26.3 | Last updated July 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.3

Topic Title: Enable Context Checks for the Name Grammar