SpLexicon AddPronunciationByPhoneIds method (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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.