mkdfa.pl — grammar compiler
mkdfa.pl [options...] {prefix}
mkdfa.pl compiles the Julian format grammar
(.grammar and .voca) to
Julian native formats (.dfa and
.dict). In addition,
".term" will be also generated that stores
correspondence of category ID used in the output files to the source
category name.
prefix should be the common file name prefix of
".grammar" and "voca" file. From prefix.grammar and
prefix.voca file, prefix.dfa,
prefix.dict and prefix.term will
be output.
-n
Not process dictionary. You can only convert
.grammar file to
.dfa file without
.voca file.
TMP or TEMP
Set directory to store temporal file. If not specified,
one of them on the following list will be used:
/tmp,
/var/tmp,
/WINDOWS/Temp,
/WINNT/Temp.
Convert a grammar foo.grammar and
foo.voca to
foo.dfa, foo.voca and
foo.term.
% mkdfa.pl foo
mkdfa.pl invokes mkfa and dfa_minimize internally. They should be placed at the same directory as mkdfa.pl.