Vocab File Maker by Kevin Ortman (original title, huh?) INTRODUCTION ------------ I've recently discovered the not-so-new kanji quiz package, KG by KiCompWare. I think the package is great mainly because it uses Jim Breen's dictionary (edict) format to store it's vocab files. I wanted to create my own vocab files, however most of the current utilities for manipulating edict were not designed for this purpose. I've modified Ken Lunde's jgrep program specifically for this purpose. The modified jgrep is 100% compatible with Lunde's version. Due to the nature of grep, the files created with jgrep can be used with any package; jgrep is not limited in use to KG or edict. NEW FEATURES ------------ Usage: jgrep [-x] [-n] [-s] [-a] [-f file | pattern] [infile] [outfile] The following optional flags have been added: -f file considers each line contained in as a pattern to be searched for. (similar to egrep's -f option) -a will append to outfile. -s appends '[' and ']' to the pattern. This forces jgrep to find an exact hirigana/katakana match. This option is only useful if you are grep'ing edict. RECOMMENDED USAGE ----------------- 1) use esplit to eliminate proper names from edict (this will make grep'ing a little quicker) ex: esplit edict new_edict names 2) create a file containing the kana vocabulary list, one per line, using your favorite editor (blatant plug: Stephen Chung's JWP for Windows is an excellent choice) SAVE THE FILE IN EUC MODE. 3) use jgrep to parse edict ex: jgrep -s -f kana_list.euc new_edict my_vocab NOTE: jgrep will try to display the words it scanned for in euc mode, so to properly view the output, you will need to be able to display japanese characters. (something as simple as kd should work) NOTE: jgrep does a line-by-line comparison, so it can be time-consuming. To save on time, it's best to keep the kana vocabulary list (or generic search list) small and use the -a (append) option to merge several searches. AKNOWLEDGEMENTS --------------- Thanks to: jgrep - Ken Lunde (see jgrep.c) edict - Jim Breen (see edict.doc) kg - KiCompWare (see kg101dst.txt) esplit - ?? If you find this program useful, please let me know. Send e-mail to: ortman@unomaha.edu