Share via


ISpPhoneticAlphabetConverter (SAPI 5.4)

Microsoft Speech API 5.4

ISpPhoneticAlphabetConverter

New in SAPI 5.3

Enables applications to convert phonemes from SAPI to the Universal Phone Set (UPS) and from UPS to SAPI.

New applications should use the UPS phone set. To use this interface, applications must call SetLangId to set the language in use, hence the phone set, to which the SAPI phonemes belong. Then it can call the SAPI2UPS and UPS2SAPI methods to perform alphabet conversions.

When to Use

Legacy applications using SAPI phone sets can use this interface to convert existing pronunciations to the UPS phone set. These languages use a SAPI phone set:

  • English (en-US)
  • Chinese (zh-CN)
  • German (de-DE)
  • Spanish (es-SP)
  • French (fr-FR)
  • Japanese (ja-JP)

In addition, SAPI supports the UPS for those and all other languages. Thus, alphabet conversion only applies to the above languages.

Implemented By

Methods in Vtable Order

ISpPhoneticAlphabetConverter Methods
GetLangId
GetMaxConvertLength
SAPI2UPS
SetLangId
UPS2SAPI