Fix license
[platform/core/uifw/anthy.git] / anthy / ordering.h
1 /* ¸õÊä¤Î½ç½ø¤ò·èÄꤹ¤ë¤¿¤á¤Î¥â¥¸¥å¡¼¥ë */
2 #ifndef _ordering_h_included_
3 #define _ordering_h_included_
4
5 #include <anthy/xstr.h>
6
7 struct segment_list;
8 struct splitter_context;
9
10 /** ordering_context¤Îwrapper¹½Â¤ÂÎ
11  */
12 struct ordering_context_wrapper{
13   struct ordering_context *oc;
14 };
15
16 void anthy_proc_commit(struct segment_list *, struct splitter_context *);
17
18 void anthy_sort_candidate(struct segment_list *c, int nth);
19 void anthy_sort_metaword(struct segment_list *seg);
20
21 void anthy_do_commit_prediction(xstr *src, xstr *xs);
22
23 /**/
24 void anthy_infosort_init(void);
25 void anthy_relation_init(void);
26
27 #endif