| Package | Description |
|---|---|
| edu.cmu.sphinx.jsgf | |
| edu.cmu.sphinx.jsgf.parser | |
| edu.cmu.sphinx.jsgf.rule |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<JSGFRuleName> |
JSGFRuleGrammar.imports |
| Modifier and Type | Method and Description |
|---|---|
JSGFRuleName |
JSGFRuleGrammar.resolve(JSGFRuleName ruleName)
Resolve a simple or qualified rule name as a full rule name.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<JSGFRuleName> |
JSGFRuleGrammar.getImports()
List the current imports.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JSGFRuleGrammar.addImport(JSGFRuleName importName)
Import all rules or a specified rule from another grammar.
|
void |
JSGFRuleGrammar.addImportDocComment(JSGFRuleName imp,
java.lang.String comment)
Add a new import comment.
|
java.lang.String |
JSGFRuleGrammar.getImportDocComment(JSGFRuleName imp)
Retrieve an import comment.
|
void |
JSGFRuleGrammar.removeImport(JSGFRuleName importName)
Remove an import.
|
JSGFRuleName |
JSGFRuleGrammar.resolve(JSGFRuleName ruleName)
Resolve a simple or qualified rule name as a full rule name.
|
| Modifier and Type | Method and Description |
|---|---|
JSGFRuleName |
JSGFParser.importRef() |
JSGFRuleName |
JSGFParser.ruleRef() |
| Modifier and Type | Field and Description |
|---|---|
static JSGFRuleName |
JSGFRuleName.NULL |
static JSGFRuleName |
JSGFRuleName.VOID |