ISpSREngineSite::ParseFromTransitions (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpSREngineSite::ParseFromTransitions

ISpSREngineSite::ParseFromTransitions parses an ISpPhraseBuilder result from a list of CFG transitions.

HRESULT ParseFromTransitions(
   const   SPPARSEINFO   *pParseInfo,
   ISpPhraseBuilder     **ppPhrase
);

Parameters

pParseInfo
[in] Address of the SPPARSEINFO structure containing phrase information.
ppPhrase
[out] Address of a pointer to an ISpPhraseBuilder interface that receives the phrase information.

Return values

ValueDescription
S_OKFunction completed successfully.
FAILED (hr)Appropriate error message.

Remarks

This method is called to produce a phrase which can be used to send CFG results back to SAPI. For more details on this method, see the SR Engine Guide.

Show: