ISpSREngineSite::ParseFromTransitions (SAPI 5.4)

Microsoft Speech API 5.4

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
S_OK
FAILED (hr)

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.