summaryrefslogtreecommitdiff
path: root/build_dict.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_dict.sh')
-rwxr-xr-xbuild_dict.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/build_dict.sh b/build_dict.sh
new file mode 100755
index 00000000..5dfad9b1
--- /dev/null
+++ b/build_dict.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+KANJIDIC=util/data/kanjidic
+EDICT=util/data/edict
+ENAMDICT=util/data/enamdict
+DICT=ext/jp/data/dict.json
+
+[ -f $DICT ] && rm $DICT
+util/compile.py --kanjidic $KANJIDIC --edict $EDICT $DICT --enamdict $ENAMDICT