Share via


SPSEMANTICFORMAT (SAPI 5.4)

Microsoft Speech API 5.4

SPSEMANTICFORMAT

New in SAPI 5.4

SPSEMANTICFORMAT lists the various values of a grammar's tag-format attribute.

  
    typedef enum SPSEMANTICFORMAT
{
    SPSMF_SAPI_PROPERTIES,
    SPSMF_SRGS_SEMANTICINTERPRETATION_MS,
    SPSMF_SRGS_SAPIPROPERTIES,
    SPSMF_UPS,
    SPSMF_SRGS_SEMANTICINTERPRETATION_W3C
} SPSEMANTICFORMAT;

Elements

  • SPSMF_SAPI_PROPERTIES
    Indicates that the semantic properties are derived from the property name/value associations declared inside a SAPI text grammar.
  • SPSMF_SRGS_SEMANTICINTERPRETATION_MS
    Indicates that the value of the tag-format attribute is "semantics-ms/1.0".
  • SPSMF_SRGS_SAPIPROPERTIES
    Indicates that the value of the tag-format attribute is "properties-ms/1.0".
  • SPSMF_UPS
    Reserved for system use.
  • SPSMF_SRGS_SEMANTICINTERPRETATION_W3C
    Indicates that the value of the tag-format attribute is either "semantics/1.0" or "semantics/1.0-literals".