Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.4
Object: SpLexicon
AddPronunciation Method
The AddPronunciation method adds a pronunciation, specified in phone symbols, to the current user lexicon.
SpLexicon.AddPronunciation(
bstrWord As String,
LangId As Long,
[PartOfSpeech As SpeechPartOfSpeech = SPSUnknown],
[bstrPronunciation As String = ""]
)
Parameters
- bstrWord
The word to add. - LangId
The language Id of the word. - PartOfSpeech
[Optional] The PartOfSpeech. Default value is SPSUnknown. - bstrPronunciation
[Optional] The pronunciation, in phones.
Return Value
None.