Share via


SpLexicon RemovePronunciation Method (SAPI 5.3)

Microsoft Speech API 5.3

Object: SpLexicon

RemovePronunciation Method

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

  
    SpLexicon.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.