Wildcard Expressions in edktool
The -e
and -g
parameters in the Generate, Compile, Assess, Extract and Benchmark options in edktool support wildcard expressions. For example, if you want to use all of the available sentiment analysis files in the grammars
directory, you can type -e "grammars/sentiment_*.ecr"
instead of typing a lengthy comma-separated list of multiple files.
You can use the *
wildcard to match any number of characters, or the ?
wildcard to match a single character.
NOTE: In some cases (for example, on Linux operating systems), the command shell automatically expands wildcard expressions, which can produce unexpected results in Eduction. To avoid this, enclose your wildcard expression in quotation marks.