summaryrefslogtreecommitdiff
path: root/anthy/prediction.h
diff options
context:
space:
mode:
Diffstat (limited to 'anthy/prediction.h')
-rw-r--r--anthy/prediction.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/anthy/prediction.h b/anthy/prediction.h
new file mode 100644
index 0000000..d24ac5d
--- /dev/null
+++ b/anthy/prediction.h
@@ -0,0 +1,18 @@
+#ifndef __prediction_h_included__
+#define __prediction_h_included__
+
+#include "xstr.h"
+
+struct prediction_t {
+ int timestamp;
+ /* 読み */
+ xstr *src_str;
+ /* 結果の文字列 */
+ xstr *str;
+};
+
+/* 予測された文字列を格納する */
+int anthy_traverse_record_for_prediction(xstr*, struct prediction_t*);
+
+
+#endif