2 #ifndef _input_set_h_included_
3 #define _input_set_h_included_
18 struct input_line *next_line;
19 struct input_line *next_in_hash;
22 struct input_set *input_set_create(void);
23 void input_set_set_features(struct input_set *is, int *features,
24 int nr, int strength);
25 struct input_set *input_set_filter(struct input_set *is,
26 double pos, double neg);
27 void input_set_output_feature_freq(FILE *fp, struct input_set *is);
29 struct input_line *input_set_get_input_line(struct input_set *is);
32 struct int_map *int_map_new(void);
33 int int_map_peek(struct int_map *im, int idx);
34 void int_map_set(struct int_map *im, int idx, int val);
35 void int_map_flatten(struct int_map *im);