# 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-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm