Last reviewed: 3/23/2024 8:10:32 AM
Compile and Test Grammars
A grammar compiler transforms a speech recognition grammar into a binary format usable by speech recognition engines.
Chant GrammarKit provides a way for you to compile and test a grammar without having to write any software. When you compile a grammar you are validating the grammar syntax and attribute values. To test the grammar it must be compiled, loaded, and activated.
To open an existing grammar for editing with Chant GrammarKit, select the File - Open menu item or click the Standard toolbar button to launch the open file dialog.
To compile a grammar, select the Speech - Compile Grammar menu item or click the Speech toolbar button. Compilation messages are displayed in the Output window.
To test the grammar, you must compile, load, and activate it. You may do this in one step by selecting the Speech - Activate Grammar menu item or by clicking the Speech toolbar button. You may say the various combinations of phrases supported by the rule(s). The recognition results are displayed in the Events window.
When you are finished testing the grammar, you may deactivate it by selecting the Speech - Deactivate Grammar menu item or by clicking the Speech toolbar button.