Microsoft Speech Platform
Object: SpLexicon
Type: Hidden
RemovePronunciationByPhoneIds Method
The RemovePronunciationByPhoneIds method removes a word and/or its pronunciations, specified in phone IDs, from the current user lexicon.
SpLexicon.RemovePronunciationByPhoneIds(
bstrWord As String,
LangId As Long,
[PartOfSpeech As SpeechPartOfSpeech = SPSUnknown],
[PhoneIds As Variant = Nothing]
)
Parameters
- bstrWord
- The lexicon word to be removed.
- LangId
- The language Id.
- PartOfSpeech
- [Optional] The PartOfSpeech. Default value is SPSUnknown.
- PhoneIds
- [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.