SpUnCompressedLexicon GetWords method (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

Object: SpUnCompressedLexicon

GetWords Method

The GetWords method gets a list of all words in the current the user or application lexicon.

An ISpeechLexiconWord object contains a word's pronunciation and type. The GetWords method returns a collection of these objects.


SpUnCompressedLexicon.GetWords(
     [Flags As SpeechLexiconType],
     [GenerationId As Long]
) As ISpeechLexiconWords

Parameters

Flags
[Optional] A SpeechLexiconType constant. If Flags is SLTUser, only user lexicon words are returned; if Flags is SLTApp, only application lexicon words are returned.
GenerationID
[Optional] The GenerationId.

Return Value

An ISpeechLexiconWords object, which is a collection of one or more ISpeechLexiconWord objects.