Share via


SPVACTIONS (SAPI 5.3)

Microsoft Speech API 5.3

SPVACTIONS

SPVACTIONS is a member of SPVSTATE, which is a member of SPVTEXTFRAG. This enumeration specifies the action that should be taken for the text fragment with which it is associated.

  
    typedef enum SPVACTIONS
{
    SPVA_Speak,
    SPVA_Silence,
    SPVA_Pronounce,
    SPVA_Bookmark,
    SPVA_SpellOut,
    SPVA_Section,
    SPVA_ParseUnknownTag
} SPVACTIONS;

Elements

  • SPVA_Speak
    The default value - the associated text fragment should be processed and spoken.
  • SPVA_Silence
    There is no associated text string - the associated fragment was the result of a <Silence> XML tag, and a silence (of length specified in the associated SPVSTATE) should be inserted into the output stream.
  • SPVA_Pronounce
    The associated text (possibly empty) is associated with a <Pron> XML tag, and should be pronounced as specified in the associated SPVSTATE.
  • SPVA_Bookmark
    The associated text fragment is the contents of a bookmark.
  • SPVA_SpellOut
    Each character, other than white space, of the associated text fragment should be expanded as a word (e.g., "word!" would become "w o r d exclamation point").  
  • SPVA_Section
    Reserved for future use.
  • SPVA_ParseUnknownTag
    The associated text fragment is an unknown XML tag that may be interpreted (or ignored) by the engine.