PocketSphinx
5.0.0
A small speech recognizer
|
Iterator over rules in a grammar. More...
#include <model.h>
Public Member Functions | |
POCKETSPHINX_EXPORT jsgf_rule_iter_t * | jsgf_rule_iter_next (jsgf_rule_iter_t *itor) |
POCKETSPHINX_EXPORT jsgf_rule_t * | jsgf_rule_iter_rule (jsgf_rule_iter_t *itor) |
POCKETSPHINX_EXPORT void | jsgf_rule_iter_free (jsgf_rule_iter_t *itor) |
Iterator over rules in a grammar.
POCKETSPHINX_EXPORT jsgf_rule_iter_t * jsgf_rule_iter_next | ( | jsgf_rule_iter_t * | itor | ) |
Advance an iterator to the next rule in the grammar.
POCKETSPHINX_EXPORT jsgf_rule_t * jsgf_rule_iter_rule | ( | jsgf_rule_iter_t * | itor | ) |
Get the current rule in a rule iterator.
POCKETSPHINX_EXPORT void jsgf_rule_iter_free | ( | jsgf_rule_iter_t * | itor | ) |
Free a rule iterator (if the end hasn't been reached).