Design Grammars for High-performance Recognition

Feature Summary

The goal of good grammar design is to maximize 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 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:

RecognizerSpeech APIGrammar Syntax
Microsoft SAPI 5 (all languages) SAPI 5 SAPI 5 XML Grammar
W3C SRGS XML
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
W3C SRGS ABNF
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

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

Grammar Editing

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

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.

Related Articles

Where to Buy

VoiceMarkupKit 5 Upgrade to VoiceMarkupKit 5

Fine-tune speech synthesis using text-to-speech markup.

Learn moreLearn more DownloadDownload Buy US $499Buy US $499
Plantronics Savi 440 Plantronics Savi 440 wireless headset

  • Noise-Canceling microphone
  • Range up to 300 feet
  • 7 hours talk time
  • USB charging cradle
  • Wearing options: over the head, over the ear, behind the neck, and dual T-pad headband

Learn moreLearn more