Share via


ISpCFGInterpreterSite (SAPI 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 Methods
AddTextReplacement
AddProperty
GetResourceValue