Share via


SpUnCompressedLexicon RemovePronunciation method (SAPI 5.3)

Microsoft Speech API 5.3

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.