aboutsummaryrefslogtreecommitdiff
path: root/build_dict.sh
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-03-20 11:09:24 -0700
committerAlex Yatskov <alex@foosoft.net>2016-03-20 11:09:24 -0700
commit23327d7e357c358654ac302966819808d2bb2215 (patch)
tree9413aab618746da42a4c6e2885080aeb528b8eac /build_dict.sh
parente330efca04e2d480b346366c19c4b944f8cc9820 (diff)
More reorg
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