Creating an ABNF grammar
To create a new ABNF grammar, use the creation wizard available through
File > New > Grammar Development > ABNF Grammar:
and provide the requested information:
- Name
- The name of the file, without the extension (it is provided automatically).
- Source folder
- The folder that contains the newly created grammar file.
- Root Rule Name
- The name of the grammar's root rule. If not specified, it defaults to the name of the file.
- Language
- The default language for the words in the grammar. Language identifiers are of the form
cc-CC or cc where c is a letter. For example: en, fr,
fr-CA, us-UK.
- Mode
- The mode for the grammar, which must be either dtmf or voice.
- Encoding
- The encoding for the grammar file, which must be either ISO-8859-1 (latin-1) or UTF-8.
(Other encodings will be supported in future releases.)
- Tag format
- The tag format is the language used to specify the semantic action tags. The following
formats are currently supported:
- semantics/1.0, as defined by the SISR specification,
- semantics/1.0-literals, also defined by the SISR specification,
- semantics/1.0.2006, the LumenVox name for semantics/1.0,
- semantics/1.0.2006-literals, the LumenVox name for semantics/1.0-literal,
- semantics-ms/1.0, for the semantic language supported by Microsoft Speech Server,
- swi-semantics/1.0 for Nuance OSR, and,
- Nuance for the semantic language of Nuance's GSL grammars.
- Generate coverage file
- Check this box to generate a grammar coverage file together with the ABNF grammar.
Press the Finish button to create the resulting grammar.
Copyright © 2007,2008,2009,2010,2011 Nu Echo Inc.