ISpSREngineSite::ParseFromTransitions

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

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

Value Description
S_OK Function 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.