SpLexicon AddPronunciationByPhoneIds method

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Object: SpLexicon
Type: Hidden

AddPronunciationByPhoneIds Method


The AddPronunciationByPhoneIds method adds a pronunciation, specified in phone IDs, to the current user lexicon.


SpLexicon.AddPronunciationByPhoneIds(
     bstrWord As String,
     LangId As Long,
     [PartOfSpeech As SpeechPartOfSpeech = SPSUnknown],
     [PhoneIds As Variant = Nothing]
)

Parameters

bstrWord
The word to add.
LangId
The language Id of the word.
PartOfSpeech
[Optional] The PartOfSpeech. Default value is SPSUnknown.
PhoneIds
[Optional] The pronunciation, in phone IDs. By default the Nothing value is used.

Return Value

None.