mkdfa.pl man page

mkdfa.pl

mkdfa.pl
— grammar compiler

Synopsis

mkdfa.pl [options...] {prefix}

Description

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.

Options

-n
Not process dictionary. You can only convert .grammar file to .dfa file without .voca file.

Environment Variables

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.

Examples

Convert a grammar foo.grammar and foo.voca to foo.dfa, foo.voca and foo.term.

See Also

julius ( 1 ) , generate ( 1 ) , nextword ( 1 ) , accept_check ( 1 ) , dfa_minimize ( 1 )

Diagnostics

mkdfa.pl invokes mkfa and dfa_minimize internally. They should be placed at the same directory as mkdfa.pl.

License

The same as Julius.

Referenced By

julius(1).

10/02/2008