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. |