summaryrefslogtreecommitdiff
path: root/src-worddic/use_dic.c
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2009-02-07 16:32:56 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2009-02-07 16:32:56 +0000
commita7a06a7ccfe0af1e134357678b8fa6cf87dff3b0 (patch)
treea966aeee62e69ae3ad13275d07ddb15049b14e0e /src-worddic/use_dic.c
downloadanthy-master.tar.gz
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);
+}