SphinxBase  5prealpha
jsgf_s Struct Reference

Data Fields

char * version
 JSGF version (from header)
 
char * charset
 JSGF charset (default UTF-8)
 
char * locale
 JSGF locale (default C)
 
char * name
 Grammar name.
 
hash_table_trules
 Defined or imported rules in this grammar. More...
 
hash_table_timports
 Pointers to imported grammars. More...
 
jsgf_tparent
 Parent grammar (if this is an imported one)
 
glist_t searchpath
 List of directories to search for grammars. More...
 
int nstate
 Number of generated states. More...
 
glist_t links
 Generated FSG links. More...
 
glist_t rulestack
 Stack of currently expanded rules. More...
 

Detailed Description

Definition at line 75 of file jsgf_internal.h.

Field Documentation

hash_table_t* jsgf_s::imports

Pointers to imported grammars.

Definition at line 82 of file jsgf_internal.h.

Referenced by jsgf_grammar_free(), and jsgf_grammar_new().

glist_t jsgf_s::links

Generated FSG links.

Definition at line 88 of file jsgf_internal.h.

Referenced by jsgf_grammar_free().

int jsgf_s::nstate

Number of generated states.

Definition at line 87 of file jsgf_internal.h.

hash_table_t* jsgf_s::rules

Defined or imported rules in this grammar.

Definition at line 81 of file jsgf_internal.h.

Referenced by jsgf_get_rule(), jsgf_grammar_free(), jsgf_grammar_new(), and jsgf_rule_iter().

glist_t jsgf_s::rulestack

Stack of currently expanded rules.

Definition at line 89 of file jsgf_internal.h.

glist_t jsgf_s::searchpath

List of directories to search for grammars.

Definition at line 84 of file jsgf_internal.h.

Referenced by jsgf_grammar_free(), and jsgf_grammar_new().


The documentation for this struct was generated from the following file: