SpLexicon AddPronunciation Method (SAPI 5.4)
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.