/* 候補の順序を決定するためのモジュール */
#ifndef _ordering_h_included_
#define _ordering_h_included_

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_seginfo(struct segment_list *c);

void anthy_init_ordering_context(struct segment_list *,
				 struct ordering_context_wrapper *);
void anthy_release_ordering_context(struct segment_list *,
				    struct ordering_context_wrapper *);

#endif
