UnloadGlobalGrammar functions

These functions remove a loaded grammar from the application-level set of grammars.  The second function removes all application-level grammars.

Functions

static int UnloadGlobalGrammar(const char* gram_name);

static void UnloadGlobalGrammars( );

Parameters

gram_name

The identifier for the grammar being unloaded.  This is the same identifier you gave the grammar when you loaded it.

Return Values

LV_SUCCESS

No errors; this grammar is removed.

LV_FAILURE

The grammar was not present.  Nothing was removed.

Remarks

A global grammar is unloaded on the server only when users have called unload functions on all labels that are associated with the grammar.

See Also


Complete Help Topic List | Speech Engine Product Information