Phone - Australia: 1300 553 313
Hotline - New Zealand: 0800 450 168
Chant Logo


Turbo-charge Data Entry

GrammarKitShift your applications into high gear with speech recognition grammars.

A speech recognition grammar is a collection of rules comprised of words and phrases to be recognised from speech. A speech recognition engine (i.e., recogniser) uses a grammar to enhance its ability to recognise specific combinations of spoken words and phrases.

With dictation recognition, a recogniser matches from all the word possibilities in a large dictionary and asserts contextual analysis to ensure it returns the correct word (i.e., spelling) for homonyms (e.g., right or write).

Unlike dictation recognition, grammar recognition is context-free. A recogniser only matches against the rule definitions in the grammar.

Context-free grammar recognition enables your applications to capture data very efficiently. Grammars also enable your applications to assert domain constraints to elevate data capture accuracy automatically.

What is Grammar Management?

Grammar management enables you to:

  • design and test grammars for high-performance recognition,
  • compile static grammars to deploy binary with applications, and
  • integrate dynamic grammar generation and compilation as part of deployed applications.

Applications benefits include:

  • enhanced performance with optimised grammars,
  • added flexibility to run with information unknown until application configuration or runtime, and
  • expanded adaptability to run with available technology on the deployed system.

What is GrammarKit?

Chant GrammarKit handles the complexities of generating, compiling, and persisting the compiled grammar binary.

It simplifies the process of managing grammars declared with Microsoft SAPI 5 XML Grammar, Nuance BNF+ (VoCon 3200), Java Speech Grammar Format (JSGF), W3C SRGS ABNF, and W3C SRGS XML grammar syntax to use with your favourite speech recogniser.

GrammarKit includes C++, C++Builder, Delphi, Java, .NET Framework, and Silverlight class libraries to support all your programming languages and provides sample projects for popular IDEs—such as the latest Visual Studio from Microsoft.

The class libraries can be integrated with 32-bit, 64-bit, and embedded applications.



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

  • Generate syntax-independent and -specific grammars;
  • Compile grammar source from buffer, file, resource, stream, and string formats;
  • Persist compiled grammar binary to buffer, file, and stream formats;
  • Generate pronunciation phonemes; and
  • Dynamically switch among grammar compilers and syntax formats.

Chant GrammarKit handles the complexities of constructing, compiling, and persisting grammars. This allows you to distribute compiled grammar binary files with your application, generate and compile grammars as part of your deployed application, and optimise 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:

Recognizer Speech API Grammar Syntax
Microsoft SAPI 5 (all languages) SAPI 5 SAPI 5 XML Grammar
Microsoft Speech Platform (all languages) MSP W3C SRGS XML
Microsoft Universal Windows Platform (all languages) Windows Media W3C SRGS XML
Nuance VoCon 3200 (all languages) VoCon 3200 Nuance BNF+ V1.0, V1.1, V2.0
Java Speech Grammar Format (JSGF)

Within Chant Developer Workbench, you can:

  • Create and edit grammars in native grammar syntax;
  • Generate word pronunciation phonemes;
  • Edit word pronunciation phonemes (requires LexiconKit);
  • Compile and debug grammars; and
  • Test grammars with live audio (requires SpeechKit).


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

Grammar Editing: Edit speech SAPI 5, L&H BNF+, JSGF, and W3C grammars faster with built-in intelliprompt that suggests valid grammar syntax.

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: 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: View recognition results in the Output window.

Recognition Events: Browse recognition events in the Events window.

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.

Call MicroWay on 1300 553 313 or email for more information.


Related Articles



For more information please contact the MicroWay sales team: buynow
Head Office
MicroWay Pty Ltd
PO Box 84,
Braeside, Victoria, 3195, Australia
Ph: 1300 553 313
Fax: 1300 132 709
email: sales@microway.com.au
ABN: 56 129 024 825
Sydney Sales Office
MicroWay Pty Ltd
PO Box 1733,
Crows Nest, NSW 1585, Australia
Tel: 1300 553 313
Fax: 1300 132 709
email: sales@microway.com.au
ABN: 56 129 024 825
New Zealand Sales Office
MicroWay Pty Ltd (NZ)
PO Box 912026
Victoria Street West
Auckland 1142, New Zealand
Tel: 0800 450 168
email: sales@microway.co.nz

International: call +61 3 9580 1333, fax +61 3 9580 8995

© 1995-2021 MicroWay Pty Ltd. All Rights Reserved. Terms and Privacy Policy.