MKDFA(1)

πŸ’– MKDFA.PL(1) β€” like, the manual page, bestie πŸ’–

okay so welcome to mkdfa (yes, the file is literally called mkdfa.pl, she contains multitudes ✨). this is your group-chat rundown of the whole thing. no cap, every flag is here. 🫢


✨ NAME ✨

mkdfa β€” grammar compiler πŸ‘‘


🌸 SYNOPSIS 🌸

mkdfa [options...] {prefix}

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does she even do? mkdfa compiles the Julian format grammar (that's your .grammar and .voca files) into Julian native formats (.dfa and .dict). and as a lil bonus gift πŸŽ€, a .term file also gets generated β€” it stores the correspondence of category ID used in the output files to the source category name. iykyk.

prefix should be the common file name prefix of the .grammar and voca file. so from prefix.grammar and prefix.voca, out come prefix.dfa, prefix.dict and prefix.term. it's giving transformation sequence, honestly πŸ’…


πŸ’… OPTIONS πŸ’…

  • -n β€” not process dictionary. you can only convert .grammar file to .dfa file without .voca file. lowkey the minimalist option, she's doing less and that's valid πŸ’–

🌈 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. she'll pick a home for her lil temp files, don't worry 🏠

🌟 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 )

the whole friend group, fr fr πŸ«‚


πŸ’€ DIAGNOSTICS πŸ’€

mkdfa invokes mkfa and dfa_minimize internally. they should be placed at the same directory as mkdfa. so like, don't leave her besties behind, they gotta be in the same folder or it's a whole situation 😭


Copyright (c) 1997-2000 Information-technology Promotion Agency, Japan

Copyright (c) 1991-2008 Kawahara Lab., Kyoto University

Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology

Copyright (c) 2005-2008 Julius project team, Nagoya Institute of Technology


πŸŽ€ LICENSE πŸŽ€

The same as Julius.


and that's the whole page bestie!! 🌸 this absolute icon of a manpage is MKDFA.PL(1), dated 10/02/2008 β€” a true vintage queen who has been serving since forever and still eats πŸ’…βœ¨ slay, periodt πŸ’–

πŸ“¦ where this page comes from