summaryrefslogtreecommitdiff
path: root/src-worddic/use_dic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src-worddic/use_dic.c')
-rw-r--r--src-worddic/use_dic.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src-worddic/use_dic.c b/src-worddic/use_dic.c
new file mode 100644
index 0000000..8a555f7
--- /dev/null
+++ b/src-worddic/use_dic.c
@@ -0,0 +1,21 @@
+/*
+ * 用例辞書を扱う
+ * Copyright (C) 2003 TABATA Yusuke
+ */
+#include <string.h>
+#include <stdlib.h>
+
+#include <anthy/dic.h>
+#include <anthy/xstr.h>
+#include <anthy/matrix.h>
+#include <anthy/word_dic.h>
+#include "dic_main.h"
+#include "dic_ent.h"
+
+/**/
+int anthy_word_dic_check_word_relation(struct word_dic *wdic,
+ int from, int to)
+{
+ /* 共有辞書 */
+ return anthy_matrix_image_peek((int *)wdic->uc_section, from, to);
+}