Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

ISpPhraseAlt

The ISpPhraseAlt interface enables applications to retrieve alternate phrase information from a speech recognition (SR) engine, and to update the SR engine's language model to reflect committed alternate changes.

The ISpPhraseAlt interface is implemented on a phrase alternate object that can be obtained by calling ISpRecoResult::GetAlternates.

Methods in Vtable Order

ISpPhraseAlt Methods Description
ISpPhrase Inherits from ISpPhrase and those methods are accessible from an ISpPhraseAlt object.
GetAltInfo Retrieves data elements associated with an alternate phrase.
Commit Replaces a section of the parent phrase to which this alternate corresponds.