This option creates a compiled Eduction grammar file.
You can use wildcard expressions in the -e
parameter; see
Wildcard Expressions in edktool for more information.
-l <licensefile>
|
The file containing a valid license key for Eduction. If you do not specify a license key at the command line, |
-i <inputfile>
|
The grammar file to process. The input file can be an uncompiled (Source) XML Eduction grammar file or a plaintext grammar file. |
-e <entity>
|
A comma-separated list of entities to include in the output file. If you do not include any entities in the command line, Eduction includes all entities in the input file in the output file. If you include entities in the command line, Eduction includes only those entities specified in the output file. |
-o <outputfile>
|
The output file name. If you do not specify the output file name, Eduction creates an output file using the XML grammar file name with .ecr appended. |
-p
|
Set this parameter if you want to use a plaintext grammar file (containing one potential match on each line) rather than an XML grammar file as the input text to compile from. |
When compiling, the XML file must follow the Eduction syntax rules for laying out grammar files. The ECR file is a proprietary format that is optimized for fast loading into the Eduction engine at run time. While the engine can load XML grammar files, as well as compiled ECR files, compiling a grammar file makes loading quicker.
Because compiled grammar files are binary files and cannot be read, the List
option allows you to view the public entities in a compiled grammar file.
You can also specify the -p
parameter at the command line to compile a grammar file in ECR format from a plaintext grammar file. The plaintext grammar file must be in the format described in Plaintext Grammar File Format .
|