ISpRecoGrammar2 (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpRecoGrammar2

New in SAPI 5.3

Extends the ISpRecoGrammar interface.

Methods in Vtable Order

ISpRecoGrammar2 Methods Description
SetGrammarLoader Is used to pass a pointer to an ISpeechResourceLoader interface into SAPI to override SAPI's default grammar loading function.
SetSMLSecurityManager Lets a SAPI application manage its own security policy.
GetRules Is used to discover the list of public rules in the grammar.
LoadCmdFromFile2 Loads a SAPI 5 grammar from a file. This is an extended version of the ISpRecoGrammar::LoadCmdFromFile method.
LoadCmdFromMemory2 Loads a compiled CFG binary from memory. This is an extended version of the ISpRecoGrammar::LoadCmdFromMemory method.
SetRulePriority Sets the priority on the specified rule.
SetRuleWeight Sets the weight on the specified rule.
SetDictationWeight Sets the weight on the dictation rule.