Microsoft Speech Platform
ISpPhoneticAlphabetSelection::IsAlphabetUPS
Returns whether the component is using UPS or SAPI.
Call this function to determine if pronunciations returned by GetPronunciations are in the UPS (Universal Phone Set) or in the SAPI phonetic alphabet.
Applications can change the alphabet via the SetAlphabetToUPS method. If an application does not explicitly set the alphabet with SetAlphabetToUPS, the alphabet specified in the lexicon file is used.
HRESULT IsAlphabetUPS(
BOOL *pfIsUPS
);
Parameters
- pfIsUPS
- [out] true if the current alphabet is UPS; otherwise false.
Return values
Value | Description |
---|---|
S_OK | Function completed successfully. |