Last reviewed: 3/23/2024 8:54:41 AM

Grammar Syntax Quick Reference

GrammarKit supports the following recognizers and their grammar formats:

Speech API Grammar Syntax
Microsoft SAPI 5SAPI 5 XML Grammar
W3C SRGS XML
Microsoft Speech PlatformW3C SRGS XML
Microsoft .NET System.SpeechW3C SRGS XML
Microsoft .NET Microsoft.SpeechW3C SRGS XML
Microsoft WindowsMedia (UWP and WinRT)W3C SRGS XML

Before you begin to develop grammars, you should review the documentation provided by your speech recognition engine vendor. The following sections provide a quick reference for the grammar syntax supported by the grammar compilers: