SpUnCompressedLexicon AddPronunciation method

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Object: SpUnCompressedLexicon

AddPronunciation Method


The AddPronunciation method adds a pronunciation, specified in phonemes, to the application lexicon.


SpUnCompressedLexicon.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 lexicon word.
PartOfSpeech
[Optional] Specifies the PartOfSpeech. Default value is SPSUnknown.
bstrPronunciation
[Optional] The pronunciation, in phonemes.

Return Value

None.