These functions remove a loaded grammar from the application-level set of grammars. The second function removes all application-level grammars.
static int UnloadGlobalGrammar(const char* gram_name);
static void UnloadGlobalGrammars( );
gram_name
The identifier for the grammar being unloaded. This is the same identifier you gave the grammar when you loaded it.
LV_SUCCESS
No errors; this grammar is removed.
LV_FAILURE
The grammar was not present. Nothing was removed.
A global grammar is unloaded on the server only when users have called unload functions on all labels that are associated with the grammar.
LVSpeechPort::UnloadGrammar functions
LVSpeechPort::IsGlobalGrammarLoaded functions
LVSpeechPort::LoadGlobalGrammar functions
LV_SRE_UnloadGlobalGrammar functions (C API)
Complete Help Topic List | Speech Engine Product Information