Removes a loaded grammar from the application level space of grammars.
- static int UnloadGlobalGrammar(const char* gram_name)
The identifier for the grammar being unloaded. This is the same identifier you gave the grammar when you loaded it.
No errors; this grammar is removed.
The grammar identified by gram_name was not present. Nothing was removed.
An exception occurred while processing the request.
NOTE: As of LumenVox version 12.1, the use of "Global" grammars, and related functions has been deprecated. There is no longer any benefit from using global grammars (assigned at the application level) due to the advanced grammar caching mechanism that has been in place for some time. Users should adopt the use of port-assigned grammar functions (basically consisting of the same name, but without the 'Grammar' portion)