Frequently Asked Questions

Last reviewed: 7/7/2007

Article ID: F109806

FAQ: Is there a compiler for grammar files?

SpeechKit 5 DefineResource supports passing file names containing IBM SRCL, Microsoft SAPI 4 CFG, Microsoft SAPI 5 XML, and Nuance L&H BNF+ grammar source. The grammar compilers that are part of the recognizer software are invoked automatically to compile the grammar source into binary and are activated the first time you use EnableResource for the grammar.

With GrammarKit 2 you can compile and persist the grammar binary for future direct loads with EnableResource. This provides you a faster grammar load time when invoking EnableResource. With GrammarKit, you can precompile grammars and deploy the binary or integrate grammar compilation as part of your application.