Named Entity Recognition 26.3
Named Entity Recognition User and Programming Guide

# Post-Processing with the Named Entity Recognition API

To perform post-processing in an application built on the Named Entity Recognition API, add post-processing tasks to the Named Entity Recognition engine. You can add the tasks:

- when you create the engine, if you construct the engine by supplying a configuration. When you create a Named Entity Recognition engine from a configuration the configuration automatically adds any post-processing tasks in the configuration to the engine.

  See `EdkEngineCreateFromConfigFile` (C API), the `EdkEngine` constructor (Java API), `EDKFactory::GetTextExtractionEngine` (.NET API), or call the `.engine()` method in the edk.sdk.EdkFactory class (Python API).

- after you create the engine, by calling the appropriate function:

  - `EdkEngineAddPostProcessingTask` in the C API.
  - `addPostProcessingTask` in the Java API.
  - `.add_post_processor()` method in the `edk.sdk.EdkEngine` class in the Python API.

The following functions allow you to specify a minimum score that a match must have for it to return in the results after all post-processing tasks have completed:

- `EdkEngineSetPostProcessingThreshold` in the C API.
- `setPostProcessingThreshold` in the Java API.
- assign to the `.post_processing_theshold` property of the `EdkEngine` in the Python API.

The matches returned by the `EdkGetNextMatch` function in the C API, by iterating over the matches in the Java API, or by iterating over an `EdkSession` instance in the Python API, reflect any modifications made by post-processing. If a post-processing task discards a match or its score does not meet the threshold you have specified, it is not returned at all.

If you configure a post-processing task that processes matches en masse, the API does not return matches until all input has been received. This is necessary because an en masse post-processing task requires all of the matches at the same time.

The Named Entity Recognition SDK includes reference documentation for the API. For more information about the SDK, see Named Entity Recognition SDK Package.

Copyright 2013-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: Knowledge Discovery Named Entity Recognition 26.3

Topic Title: Post-Processing with the Named Entity Recognition API