Last reviewed: 3/23/2024 8:23:32 AM
GrammarKit Features
The goal of good grammar design is to maximize application performance. A GrammarKit application can:
- Compile and validate grammar syntax; and
- Persist compiled grammar binary.
Chant GrammarKit handles the complexities of constructing, compiling, and persisting grammars. This allows you to generate and compile grammars as part of your deployed application, distribute compiled grammar binary files with your application, and optimize grammar enablement at runtime by using compiled binary files.
Recognizers have their own syntax for expressing grammars. GrammarKit supports the following speech application program interfaces (APIs) and grammar syntax:
Speech API | Grammar Syntax |
---|---|
Microsoft SAPI 5 | SAPI 5 XML Grammar W3C SRGS XML |
Microsoft Speech Platform | W3C SRGS XML |
Microsoft .NET System.Speech | W3C SRGS XML |
Microsoft .NET Microsoft.Speech | W3C SRGS XML |
Microsoft WindowsMedia (UWP and WinRT) | W3C SRGS XML |
Within Chant Developer Workbench IDE, you can:
- Create and edit grammars in native grammar syntax;
- Generate word pronunciation phonemes (requires LexiconKit);
- Edit word pronunciation phonemes (requires LexiconKit);
- Compile and debug grammars; and
- Test grammars with live audio (requires SpeechKit).