This section describes the methods and parameters that you can use in your Lua post-processing scripts.
| 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. |
| getEntityName |
Returns the name of an entity in a match. |
| getMatchedText |
Returns the input text for a match. |
| getName |
Returns the name of a component. |
| 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. |
| getText |
Returns the text that is matched by a component. |
| setEntityName |
Edits an entity name in a match. |
| setMatchedText |
Edits the input text for match. |
| setName |
Edits the name of a component. |
| 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. |
| setText |
Edits the text that is matched by a component. |
|
|