Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining

ISpRecoGrammar2 (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3


New in SAPI 5.3

Extends the ISpRecoGrammar interface.

Methods in Vtable Order

ISpRecoGrammar2 MethodsDescription
SetGrammarLoaderIs used to pass a pointer to an ISpeechResourceLoader interface into SAPI to override SAPI's default grammar loading function.
SetSMLSecurityManagerLets a SAPI application manage its own security policy.
GetRulesIs used to discover the list of public rules in the grammar.
LoadCmdFromFile2Loads a SAPI 5 grammar from a file. This is an extended version of the ISpRecoGrammar::LoadCmdFromFile method.
LoadCmdFromMemory2Loads a compiled CFG binary from memory. This is an extended version of the ISpRecoGrammar::LoadCmdFromMemory method.
SetRulePrioritySets the priority on the specified rule.
SetRuleWeightSets the weight on the specified rule.
SetDictationWeightSets the weight on the dictation rule.
© 2015 Microsoft