Modules | Files | Inheritance Tree | Inheritance Graph | Name Index
module GNOME::Speech::Recognition
interface RuleParse
Files: GNOME_Speech.idl
GNOME-Speech-Recognition-RuleParse-inheritance GNOME-Speech-Recognition-Rule.html GNOME-Speech-SpeechObject.html Bonobo-Unknown.html
Operations Summary:
 voidinit(in RuleName ruleName, in Rule rule)
RuleNamegetRuleName()
 voidsetRuleName(in RuleName ruleName)
 RulegetRule()
 voidsetRule(in Rule rule)
StringArraygetTags()

Operations Inherited from Rule
copy, toString

Operations Inherited from Bonobo::Unknown
ref, unref, queryInterface

Operation Details:
 void init(in RuleName ruleName, in Rule rule)

Initialize a RuleParse object for a named rule and a Rule object that represents the parse structure. The structure of the rule object is described above. The rulename should be a fully-qualified name.

Parameters:
ruleName - the name of the rule.
rule - the rule.


RuleName getRuleName()

Return the matched RuleName. Should be a fully-qualified rulename.

Return:
the matched RuleName.


 void setRuleName(in RuleName ruleName)

Set the matched RuleName. Should be a fully-qualified rulename.

Parameters:
ruleName - the name of the rule.


 Rule getRule()

Return the Rule matched by the RuleName.

Return:
the Rule matched by the RuleName.


 void setRule(in Rule rule)

Set the Rule object matched to the RuleName.

Parameters:
rule - the rule.


StringArray getTags()

List the tags matched in this parse structure. Tags are listed in the order of tokens (from start to end) and from the lowest to highest attachment. (See the FinalRuleResult#getTags method for an example.)

Return:
a list of the tags matched in this parse structure.
See Also:
FinalRuleResult#getTags