Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Semantic Markup Language Reference (Microsoft.Speech)
The following topics in this section describe the structure and content of SML output and the serialization of semantic results into Semantic Markup Language (SML) output. A speech recognition engine generates SML output from grammar files that conform to the Speech Recognition Grammar Specification (SRGS) 1.0. The grammar files accompany the SML output. For more information about the grammars, see SRGS Grammar XML Reference (Microsoft.Speech) and Semantic Interpretation for Speech Recognition (SISR) Version 1.0. The SML output in these topics can be duplicated by the use of the ConstructSmlFromSemantics() method, using the code example shown on that page.
In This Section
SML Output Overview (Microsoft.Speech)
Describes the structure and content of SML output.
Serialization of the Root Rule Variable (Microsoft.Speech)
Describes how the recognizer serializes the value of the root Rule Variable.
Serialization of Developer-defined Rule Variable Properties (Microsoft.Speech)
Describes how the recognizer serializes the value of Rule Variable properties that developers define in semantic interpretation markup.
Serialization of Multiple Rule Grammars (Microsoft.Speech)
Illustrates how the recognizer serializes grammars with multiple rules.