Remove rules to a grammar object.
int RemoveRule(const char* rule_name)
rule_name
The name of the rule
LV_SUCCESS
No errors; the rule has been successfully added or removed.
LV_GRAMMAR_SYNTAX_WARNING
The new rule was not fully conforming, but it was understandable and is now ready to be used
LV_GRAMMAR_SYNTAX_ERROR
The new rule was not understandable to the grammar compiler. You will not be able to decode with this grammar.
Detailed error and warning messages are sent to the grammar object's logging callback function.
Complete Help Topic List | Speech Engine Product Information