Compartir a través de


ISpPhoneticAlphabetSelection::SetAlphabetToUPS (SAPI 5.3)

Microsoft Speech API 5.3

ISpPhoneticAlphabetSelection::SetAlphabetToUPS

Sets the alphabet to be used by GetPronunciations.

Call this method to specify the phonetic alphabet that the GetPronunciations method uses to return pronunciations.

A successful call does not imply that pronunciations will be converted successfully. GetPronunciations will fail if the pronunciations cannot be converted to the specified alphabet.

  
    HRESULT SetAlphabetToUPS(
   BOOL         fForceUPS
);

Parameters

  • fForceUPS
    true if pronunciations should be returned in the UPS alphabet; false if pronunciations should be returned in the SAPI alphabet.

Return values

Value
S_OK