Named Entity Recognition 26.3
Named Entity Recognition User and Programming Guide

# edkMatch Methods

The following methods are available on `edkMatch` objects.

Constructor | Description
--- | ---
LuaEdkMatch:new | Creates an `edkMatch` object.

Method | Description
--- | ---
addComponent | Adds a new component to the match.
getComponent | Returns a specific component.
getComponentCount | Returns the total number of components in a match.
getContribution | Returns a specific scoring contribution.
getContributionsCount | Returns the number of scoring contributions, that contributed to the score for the match.
getEntityName | Returns the name of an entity in a match.
getMatchContext | Returns context text around the match, as well as the text of the match.
getMatchedText | Returns the input text for a match.
getOffset | Returns the position of a match (in bytes).
getOffsetLength | Returns the position of a match (in characters).
getOutputText | Returns the output text for a match.
getScore | Returns the score of a match.
setEntityName | Edits an entity name in a match.
setMatchedText | Edits the input text for a match.
setOffset | Edits the position of a match (in bytes).
setOffsetLength | Edits the position of a match (in bytes).
setOutputText | Assigns a new value to the output text for a match.
setScore | Edits the score of a match.

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: edkMatch Methods