SpUnCompressedLexicon AddPronunciation method (SAPI 5.4)

Microsoft Speech API 5.4

Object: SpUnCompressedLexicon

AddPronunciation Method

The AddPronunciation method adds a pronunciation, specified in phonemes, to the application lexicon.

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

Parameters

  • bstrWord
    The word to add.
  • LangId
    The language ID of the lexicon word.
  • PartOfSpeech
    [Optional] Specifies the PartOfSpeech. Default value is SPSUnknown.
  • bstrPronunciation
    [Optional] The pronunciation, in phonemes.

Return Value

None.