int LV_SRE_IsGrammarLoaded(HPORT hport, const char* gram_name);
int LV_SRE_IsGrammarLoadedIdx(HPORT hport, int gram_name);
hport
The port being queried forgram_name.
gram_name
The identifier for the grammar being queried. This is the same identifier you gave the grammar when you loaded it.
1 if a grammar was found with the label gram_name in the space of application-level grammars; 0 otherwise.
Note: This function only tells you if a grammar with the name gram_name is loaded. It does not tell you if there are two identical grammar bodies loaded.
LV_SRE_UnloadGrammar functions
LV_SRE_LoadGrammar functions
LVSpeechPort::IsGrammarLoaded functions (C++ API)
Complete Help Topic List | Speech Engine Product Information