SpUnCompressedLexicon RemovePronunciation method

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Object: SpUnCompressedLexicon

RemovePronunciation Method


The RemovePronunciation method removes a word and/or its pronunciations, specified in phone symbols, from the current application lexicon.


SpUnCompressedLexicon.RemovePronunciation(
     bstrWord As String,
     LangId As Long,
     [PartOfSpeech As SpeechPartOfSpeech = SPSUnknown],
     [bstrPronunciation As String]
)

Parameters

bstrWord
The lexicon word to be removed.
LangId
The language ID.
PartOfSpeech
[Optional] The PartOfSpeech. Default value is SPSUnknown.
bstrPronunciation
[Optional] The pronunciation, in phones, to be removed. If this parameter is not specified, all pronunciations of the word will be removed.

Return Value

None.