Skip to content
| Marketplace
Sign in
Visual Studio>Controls>GrammarKit
GrammarKit

GrammarKit

Chant Inc

|
3,824 clicks
| (0) | Free Trial
Generate, compile, and persist speech recognition grammars within your applications using GrammarKit. Grammar syntax supported includes Microsoft SAPI 5 XML Grammar and W3C SRGS XML.
Get Started

Summary

Integrate GrammarKit libraries directly in Visual Studio C++, C#, and VB app frameworks WindowsForms, WPF, UWP, and WinUI easily with GrammarKit Nuget packages Chant.GrammarKit, Chant.GrammarKit.Windows, or Chant.GrammarKit.WinRT.WindowsMedia.

Download Sample Visual Studio projects.

Have Questions? Need Help? Have Feedback?

More Information

The goal of good grammar design is to maximize application performance. With GrammarKit you can:

  • Compile and validate grammar syntax; and
  • Persist compiled grammar binary.

Chant GrammarKit handles the complexities of compiling and persisting grammars. This allows you to distribute compiled grammar binary files with your application, compile grammars as part of your deployed application, and optimize grammar enablement at runtime by using compiled binary files.

Recognizers have their own syntax for expressing grammars. GrammarKit supports the following recognizers and their grammar syntax:

Speech APIGrammar 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 Windows Media (UWP and WinRT)W3C SRGS XML

Within Chant Developer Workbench, 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).

Grammar Management

Grammar Management: Design, compile, test, and debug speech recognition grammars before deployment.

Grammar Editing

Grammar Editing: Edit SAPI 5 and W3C speech recognition grammars faster with built-in intelliprompt that suggests valid grammar syntax.

Syntax Error Debugging

Syntax Error Debugging: Automatic syntax checking displays visual cues and syntax error messages in the Error window. Click on the error to take you to the location of it in the document window.

Grammar Compiling and Testing

Grammar Compiling and Testing: Compile and test grammars with a click of a button. Review compiler messages in the output window. Speak into a microphone to test grammar.

Recognition Results

Recognition Results: View recognition results in the Output window.

Recognition Events

Recognition Events: Browse recognition events in the Events window.

Compilation Error Debugging

Compilation Error Debugging: Browse compilation errors in the Error window. Click on the error to take you to the location of it in the document window.

Learn more about Chant GrammarKit »

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft