SpUnCompressedLexicon RemovePronunciationByPhoneIds method (SAPI 5.4)

Microsoft Speech API 5.4

Object: SpUnCompressedLexicon
Type: Hidden

RemovePronunciationByPhoneIds Method

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

  
    SpUnCompressedLexicon.RemovePronunciationByPhoneIds(
     bstrWord As String,
     LangId As Long,
     [PartOfSpeech As SpeechPartOfSpeech = SPSUnknown],
     [PhoneIds As Variant]
)

Parameters

  • bstrWord
    The lexicon word to be removed.
  • LangId
    The language ID.
  • PartOfSpeech
    [Optional] The PartOfSpeech. Default value is SPSUnknown.
  • PhoneIds
    [Optional][Optional] The pronunciation, in phone IDs, to be removed. If this parameter is not specified, all pronunciations of a lexicon word will be removed.

Return Value

None.