LVCA_ActivateSRGSGrammar

If you wish to use a loaded SRGS grammar for decode, you need to activate it for the call that is running.  

Functions

BOOL LVCA_ActivateSRGSGrammar(HANDLE hCA, const char* gram_name);

BOOL LVCA_ActivateGlobalGrammar(HANDLE hCA,const char* gram_name);

 

Parameters

hCA

The handle of the call which you are activating the grammar.

gram_name

The identifier for the grammar being activated.  This is the same identifier that was given to the grammar when it was loaded.

Return Values

If successful, LVCA_ActivateSRGSGrammar returns true.  If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.

Remarks

 


Complete Help Topic List | Speech Platform Product Information