Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SpLexicon AddPronunciation Method (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

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.


Show:
© 2015 Microsoft