summaryrefslogtreecommitdiff
path: root/mkworddic/dict.args.in
diff options
context:
space:
mode:
Diffstat (limited to 'mkworddic/dict.args.in')
-rw-r--r--mkworddic/dict.args.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/mkworddic/dict.args.in b/mkworddic/dict.args.in
new file mode 100644
index 0000000..ab8f7a7
--- /dev/null
+++ b/mkworddic/dict.args.in
@@ -0,0 +1,30 @@
+#
+# 辞書ファイルを生成するためのスクリプト
+#
+# ./mkworddic -f dict.args
+#
+# 別のスクリプトからこのファイルをechoやcat、sed等を
+# 駆使して生成することも想定
+#
+set_input_encoding eucjp
+read @top_srcdir@/alt-cannadic/gcanna.ctd
+#
+read @top_srcdir@/alt-cannadic/gcannaf.ctd
+read @top_srcdir@/alt-cannadic/gtankan.ctd
+#
+read @top_srcdir@/mkworddic/adjust.t
+read @top_srcdir@/mkworddic/compound.t
+read @top_srcdir@/mkworddic/extra.t
+#read @top_srcdir@/mkworddic/base.t
+#
+set_input_encoding utf8
+read @top_srcdir@/mkworddic/utf8.t
+read @top_srcdir@/alt-cannadic/g_fname.t
+#
+# this command will make reverse dictionary
+build_reverse_dict
+# this command will make dictionary body in utf8
+set_dict_encoding utf8
+read_uc @top_srcdir@/mkworddic/udict
+write anthy.wdic
+done