Export (0) Print
Expand All

ISpSREngine2::EmulateRecognition (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpSREngine2::EmulateRecognition

ISpSREngine2::EmulateRecognition supports emulation by the recognition engine and bypasses any inconsistencies that may exist between a particular engine's recognition logic and SAPI's emulation.


HRESULT EmulateRecognition(
   ISpPhrase    *pPhrase,
   DWORD         dwCompareFlags
);

Parameters

pPhrase
The phrase containing the text to emulate.
dwCompareFlags
Whether the comparison is case sensitive or not.

Return values

ValueDescription
S_OKFunction completed successfully.
E_NOTIMPLFunction is not supported by engine and SAPI should do its own emulation.
Show:
© 2014 Microsoft