Export (0) Print
Expand All

ISpCFGInterpreterSite (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpCFGInterpreterSite

This interface is used by rule interpreters to set properties and text replacements in the parent phrase.

When To Use

The ISpCFGInterpreterSite interface allows context-free grammar (CFG) interpreters (see ISpCFGInterpreter) to access the semantic property tree and the phrase element structure, so that it can modify and update the properties or text replacements.

When To Implement

The ISpCFGInterpreterSite interface is implemented by SAPI, and is sent to the CFG interpreter (see ISpCFGInterpreter) when the speech recognition engine recognizes a rule that uses the interpreter (see ISpSREngineSite::ParseFromTransitions).

Methods in Vtable Order

ISpCFGInterpreterSite MethodsDescription
AddTextReplacementAdds one text replacement to the phrase.
AddPropertyAdds a property entry to the phrase object.
GetResourceValueRetrieves the resource information for a grammar.
Show:
© 2014 Microsoft