These methods allow the ActiveX Application to use SRGS grammars for an interaction with the caller.
Public Sub LoadSRGSGrammar(GrammarLabel As String, GrammarURL As String, IsGlobal As Boolean)
Public Sub UnloadSRGSGrammar(GrammarLabel As String, IsGlobal As Boolean)
Public Sub ActivateSRGSGrammar(GrammarLabel As String, IsGlobal As Boolean)
Public Sub DeactivateSRGSGrammar(GrammarLabel As String, IsGlobal As Boolean)
Public Function IsSRGSGrammarLoaded(GrammarLabel As String, IsGlobal As Boolean) As Boolean
LVCA.LoadSRGSGrammar Label, URL, IsGlobal
LVCA.UnloadSRGSGrammar Label, IsGlobal
LVCA.ActivateSRGSGrammar Lable, IsGlobal
LVCA.DeactivateSRGSGrammar Lable, IsGlobal
Loaded = LVCA.IsSRGSGrammarLoaded(Lable, IsGlobal)
Label - String - Key identifier of SRGS Grammar
URL - String - Complete path to the grammar. This can also be a HTTP or a reference to a built in grammar.
IsGlobal - Boolean - The grammar in question will become or is a global grammar.
Loaded - Boolean - The grammar is loaded if true.
Enter Module
A global grammar once loaded can be activate across all calls, not just on the call which loaded it. More information on SRGS Grammars is available in the LumenVox SDK.
Complete Help Topic List | Speech Platform Product Information