File: sorter.h

package info (click to toggle)
anthy 1%3A0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,632 kB
  • sloc: ansic: 24,445; sh: 4,186; lisp: 1,265; makefile: 238
file content (18 lines) | stat: -rw-r--r-- 588 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _sorter_h_included_
#define _sorter_h_included_

/* candswap.c */
/* 一位として出した候補ではない候補がコミットされた */
void anthy_swap_cand_ent(struct cand_ent *old_one, struct cand_ent *new_one);
/**/
void anthy_proc_swap_candidate(struct seg_ent *se);
/* コミット時にcandswapの記録をagingする */
void anthy_cand_swap_ageup(void);

/**/
void anthy_reorder_candidates_by_relation(struct segment_list *sl, int nth);

void anthy_learn_cand_history(struct segment_list *sl);
void anthy_reorder_candidates_by_history(struct seg_ent *se);

#endif