|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface allows retrieving grammar information for grammar based recognizers
| Nested Class Summary | |
static interface |
ASRParsedRule.RuleType
Define constants for rule types (see W3C's SRGS format) |
| Method Summary | |
String |
getGrammarName()
get the grammar name to which the recognized rule belongs |
ASRParsedRule[] |
getNonTerminalRule()
if the rule is non terminal (i.e., SEQUENCE or ALTERNATIVE); access the parsed rules at the level below. |
String |
getRuleName()
get the rule name |
ASRParsedRule.RuleType |
getRuleType()
get the rule type. |
String |
getTag()
if tag or translation information has been computed by the grammar when the rule was resolved, it is accessible with this method |
String |
getTagName()
get the tag name |
ResultToken |
getTerminalRule()
returns the rule token for a terminal rule |
| Method Detail |
public String getGrammarName()
public String getRuleName()
public ASRParsedRule.RuleType getRuleType()
public String getTag()
public String getTagName()
public ASRParsedRule[] getNonTerminalRule()
public ResultToken getTerminalRule()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||