Eduction 23.2

# 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.
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-2023 Open Text
Version 23.2 | Last updated March 2023

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Eduction 23.2

Topic Title: edkMatch Methods