Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ISpPhoneticAlphabetConverter (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

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 MethodsDescription
GetLangIdGets the LANGID of the language of the SAPI phone set being used for conversion.GetMaxConvertLengthGet the maximum length of a string after conversion.SAPI2UPSReturns the UPS phone id of the specified SAPI phone.SetLangIdSets the language of the SAPI phone set to be used in the conversion.UPS2SAPIReturns the SAPI phone id of the specified UPS phone.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.