Move .so file to devel package
[platform/core/uifw/anthy.git] / anthy / corpus.h
1 /* ¥³¡¼¥Ñ¥¹¤Î¹½ÃÛµÚ¤Ó¥¢¥¯¥»¥¹¤ò¹Ô¤¦ */
2 #ifndef _corpus_h_included_
3 #define _corpus_h_included_
4
5 #include <stdio.h>
6
7 struct corpus;
8
9 #define ELM_NONE 0
10 #define ELM_BOS 0x10000000
11 #define ELM_WORD_BORDER 0x20000000
12 #define ELM_INVALID 0x40000000
13
14 /* hashÃͤβ¼°Ì28bit¤ò»È¤¦ */
15 #define CORPUS_KEY_MASK 0x0fffffff
16
17 /* ¥³¡¼¥Ñ¥¹¹½ÃÛÍѤδؿô */
18 struct corpus *corpus_new(void);
19 void corpus_push_back(struct corpus *c, int *val, int nr, int flags);
20 void corpus_build(struct corpus *c);
21 void corpus_dump(struct corpus *c);
22 void corpus_write_bucket(FILE *fp, struct corpus *c);
23 void corpus_write_array(FILE *fp, struct corpus *c);
24
25 #endif