SpLexicon AddPronunciation Method

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

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.