Named Entity Recognition 26.3
Named Entity Recognition User and Programming Guide

# injectMatch

Injects a match into the current matching session.

This method accepts an `edkMatch` object. This `edkMatch` must be one that you create in the Lua script; nothing happens if you call `injectMatch` on the match from Named Entity Recognition that you first pass into the `finalizematch` function.

After you call this function, the session takes ownership of the match, so you cannot use the created match in any subsequent functions.

NOTE: You cannot perform additional post-processing on injected matches. Named Entity Recognition skips these matches at post-processing time, to prevent infinite loops.

## Syntax

`session:injectMatch(edkMatch)`

## Arguments

Argument | Description
--- | ---
`edkMatch` | An `edkMatch` object.

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: injectMatch