diff options
Diffstat (limited to 'scripts/training/cmert-0.5/data.h')
-rwxr-xr-x | scripts/training/cmert-0.5/data.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/training/cmert-0.5/data.h b/scripts/training/cmert-0.5/data.h new file mode 100755 index 000000000..a9e430899 --- /dev/null +++ b/scripts/training/cmert-0.5/data.h @@ -0,0 +1,18 @@ +// $Id: data.h 1307 2007-03-14 22:22:36Z hieuhoang1972 $ +#ifndef DATA_H +#define DATA_H + +typedef struct { + float *features; + int *comps; + float m, b; // slope and intercept, used as scratch space +} candidate_t; + +typedef struct { + candidate_t **sents; + int sents_n, sents_max, *cands_n; +} data_t; + +data_t *read_data(void); + +#endif |