From a7a06a7ccfe0af1e134357678b8fa6cf87dff3b0 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Sat, 7 Feb 2009 16:32:56 +0000 Subject: anthy-9100h --- anthy/ordering.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 anthy/ordering.h (limited to 'anthy/ordering.h') diff --git a/anthy/ordering.h b/anthy/ordering.h new file mode 100644 index 0000000..d191843 --- /dev/null +++ b/anthy/ordering.h @@ -0,0 +1,27 @@ +/* 候補の順序を決定するためのモジュール */ +#ifndef _ordering_h_included_ +#define _ordering_h_included_ + +#include + +struct segment_list; +struct splitter_context; + +/** ordering_contextのwrapper構造体 + */ +struct ordering_context_wrapper{ + struct ordering_context *oc; +}; + +void anthy_proc_commit(struct segment_list *, struct splitter_context *); + +void anthy_sort_candidate(struct segment_list *c, int nth); +void anthy_sort_metaword(struct segment_list *seg); + +void anthy_do_commit_prediction(xstr *src, xstr *xs); + +/**/ +void anthy_infosort_init(void); +void anthy_relation_init(void); + +#endif -- cgit v1.2.1