How do I design speech recognition grammars with semantic interpretation markup?

Last reviewed: 5/26/2023

HOW Article ID: H032307

The information in this article applies to:

  • Chant Developer Workbench 2023
  • GrammarKit 9
  • SpeechKit 12
  • VoiceXMLKit 6

Summary

Speech recognition grammars can be powerful with the use of semantic interpretation markup that enhances the data returned with recognized speech.

More Information

Semantic interpretation markup extends the rule matching process used by a recognizer in formulating speech recognition results.

Applications may use semantic data from rule matches to facilitate processing speech recognition results returned by the speech recognizer.

Microsoft supports semantic interpretation markup in the following SpeechAPIs: Microsoft SAPI 5, Microsoft Speech Platform, Microsoft .NET System.Speech, Microsoft .NET Microsoft.Speech, and Microsoft WindowsMedia.

Microsoft SAPI 5 Semantic Interpretation Markup properties

Microsoft SAPI 5 Semantic Interpretation: Review semantic properties in the Events window.

Microsoft SAPI 5 Semantic Interpretation Markup recognition results

Microsoft SAPI 5 Recognized Speech: Review recognition results in the Output window.

Microsoft .NET System.Speech Semantic Interpretation Markup properties

Microsoft .NET System.Speech Semantic Interpretation: Review semantic properties in the Events window.

Microsoft .NET System.Speech Semantic Interpretation Markup recognition results

Microsoft .NET System.Speech Recognized Speech: Review recognition results in the Output window.

Microsoft WindowsMedia Semantic Interpretation Markup properties

Microsoft WindowsMedia Semantic Interpretation: Review semantic properties in the Events window.

Microsoft WindowsMedia Semantic Interpretation Markup recognition results

Microsoft WindowsMedia Recognized Speech: Review recognition results in the Output window.

See the section Vocabularies for details about using grammars in applications.

Review the Microsoft Learn topic on Semantic Interpretation Markup.