Open topic with navigation

# Eduction Lua Methods Reference

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.

© 2013-2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm