Share via


SPCATEGORYTYPE (SAPI 5.4)

Microsoft Speech API 5.4

SPCATEGORYTYPE

New in SAPI 5.4

SPCATEGORYTYPE lists the different states of Speech Recognizer as categories.

  
    typedef enum SPCATEGORYTYPE
{
    SPCT_COMMAND,      // Command category
    SPCT_DICTATION,    // Dictation category
    SPCT_SLEEP,        // Sleep category
    SPCT_SUB_COMMAND,  // Command subcategory
    SPCT_SUB_DICTATION // Dictation subcategory
} SPCATEGORYTYPE;

Elements

  • SPCT_COMMAND
    Flag indicating the command category. This category includes commands such as "Open Notepad."
  • SPCT_DICTATION
    Flag indicating the dictation category. This category indicates that recognized speech should be treated as free text.
  • SPCT_SLEEP
    Flag indicating the sleep category. This category indicates that the recognizer is ignoring all speech except "Start listening."
  • SPCT_SUB_COMMAND
    Flag indicating the command subcategory.
  • SPCT_SUB_DICTATION
    Flag indicating the dictation subcategory. This category includes dictatation subcommands that bring up the correction dialog. For example, saying "Select All" while in dictation mode.