Last reviewed: 3/23/2024 8:24:21 AM
Grammar Management with GrammarKit
Shift 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 recognized from speech. A speech recognition engine (i.e., recognizer) uses a grammar to enhance its ability to recognize specific combinations of spoken words and phrases.
With dictation recognition, a recognizer 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 recognizer only matches against the rule definitions in the grammar.
Context-free grammar recognition enables applications to capture data very efficiently. Grammars also enable 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 optimized 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 and W3C XML grammar syntax to use with your favorite speech recognizer.
GrammarKit includes C++, C++Builder, Delphi, Java, and .NET Framework class libraries to support all your programming languages and provides sample projects for popular IDEs—such as the latest Visual Studio from Microsoft, RAD Studio from Embarcadero, and Java IDEs Eclipse, IntelliJ, JDeveloper, and NetBeans.
The class libraries can be integrated with 32-bit, 64-bit, and Universal Windows Platform (UWP) applications.
For more information about the Grammar Management with GrammarKit, review the following topics:
- Features and
- Architecture.