Compartir a través de


SPWORD (SAPI 5.3)

Microsoft Speech API 5.3

SPWORD

SPWORD defines changes to the words in a lexicon and is used with IspLexicon. It is used in connection with SPWORDLIST which in turn is used by ISpLexicon::GetWords and ISpLexicon::GetGenerationChange.

  
    typedef struct SPWORD
{
    struct SPWORD          *pNextWord;
    LANGID                  LangID;
    WORD                    wReserved;
SPWORDTYPE              eWordType;
    LPWSTR                 *pszWord;
SPWORDPRONUNCIATION    *pFirstWordPronunciation;
} SPWORD;

Members

  • pNextWord
    Pointer to the next word in the list.
  • LangID
    The language ID of the word.
  • wReserved
    Reserved for future use.
  • eWordType
    Flag of type SPWORDTYPE indicating whether the word has been added or deleted.
  • pszWord
    Pointer to the null-terminated word.
  • pFirstWordPronunciation
    Pointer to the first possible pronunciation of the word.