Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

SPSEMANTICFORMAT

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

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>typedef enum SPSEMANTICFORMAT { SPSMF_SRGS_SEMANTICINTERPRETATION_MS, SPSMF_SRGS_SAPIPROPERTIES, SPSMF_UPS, SPSMF_SRGS_SEMANTICINTERPRETATION_W3C } SPSEMANTICFORMAT;</strong> </pre>

Elements

  • SPSMF_SRGS_SEMANTICINTERPRETATION_MS
    Indicates that the value of the tag-format attribute is semantics-ms/1.0. Tags contain semantic markup in a format developed by Microsoft for Speech Server 2004 R2. See Support for Semantic Markup (Microsoft.Speech).
  • SPSMF_SRGS_SAPIPROPERTIES
    Indicates that the value of the tag-format attribute is properties-ms/1.0. Tags can contain either a boolean, an integer, or double-quote-enclosed string. This is also the default if tag-format is omitted.
  • SPSMF_UPS
    Reserved for system use.
  • SPSMF_SRGS_SEMANTICINTERPRETATION_W3C
    Indicates that the value of the tag-format attribute is either semantics/1.0 (tags contain ECMA script that conforms to the W3C Semantic Interpretation for Speech Recognition (SISR) Version 1.0 ) or semantics/1.0-literals (tags contain SISR string literals).