1 #ifndef _dic_ent_h_included_
2 #define _dic_ent_h_included_
4 #include <anthy/wtype.h>
7 /* ʸ»úÎó¤Î¥¿¥¤¥× (seq_ent->seq_type) */
14 wtype_t type; /** ÉÊ»ì */
19 xstr str; /** ÊÑ´¹·ë²Ì¤Îʸ»úÎó */
20 /** Ʊ°ìÉÊ»ì¤Î¾ì¹ç¤Î¼½ñÃæ¤Î½çÈÖ(anthy_get_seq_ent_wtype_freq¤«¤é
21 anthy_wtype_include¤¬¸Æ¤Ð¤ì¤ë²ó¿ô¤ò¸º¤é¤¹¤Î¤ËÍѤ¤¤ë */
25 /**¤¢¤ëʸ»úÎó¤ÈƱ²»°ÛµÁ¸ì¤ÎÇÛÎó
26 * seq_ent_t ¤È¤·¤Æ»²¾È¤µ¤ì¤ë
31 int seq_type; /** ST_(type) */
35 struct dic_ent **dic_ents;
36 /** compound_ent¤ÎÇÛÎó */
39 /* °¤¹¤ë¥á¥â¥ê¼½ñ */
41 /* ¥á¥â¥ê¼½ñÃæ¤Îhash chain */
46 void anthy_init_ext_ent(void);
48 int anthy_get_nr_dic_ents_of_ext_ent(struct seq_ent *se,xstr *xs);
49 int anthy_get_nth_dic_ent_str_of_ext_ent(seq_ent_t ,xstr *,int ,xstr *);
50 int anthy_get_nth_dic_ent_wtype_of_ext_ent(xstr *,int ,wtype_t *);
51 int anthy_get_nth_dic_ent_freq_of_ext_ent(struct seq_ent *se, int nth);
52 int anthy_get_ext_seq_ent_wtype(struct seq_ent *, wtype_t );
53 seq_ent_t anthy_get_ext_seq_ent_from_xstr(xstr *x, int is_reverse);
54 int anthy_get_ext_seq_ent_pos(struct seq_ent *, int);
55 int anthy_get_ext_seq_ent_indep(struct seq_ent *);
56 int anthy_get_ext_seq_ent_ct(struct seq_ent *, int, int);
57 int anthy_get_ext_seq_ent_wtype(struct seq_ent *se, wtype_t w);