91 for(i=0; i<
N_OBS; i++) {
92 has_errors |= (data->
path[i]!=ref->
path[i]);
void data_to_input(int fd, void *vdata)
int check_data(void *vdata, void *vref)
#define STAC(f_pfx, t, f_sfx)
void data_to_output(int fd, void *vdata)
int write_section_header(int fd)
void output_to_data(int fd, void *vdata)
prob_t transition[N_STATES *N_STATES]
prob_t emission[N_STATES *N_TOKENS]
void input_to_data(int fd, void *vdata)
char * find_section_start(char *s, int n)
int viterbi(tok_t obs[N_OBS], prob_t init[N_STATES], prob_t transition[N_STATES *N_STATES], prob_t emission[N_STATES *N_TOKENS], state_t path[N_OBS])
int write_uint8_t_array(int fd, uint8_t *arr, int n)
int parse_uint8_t_array(char *s, uint8_t *arr, int n)
void run_benchmark(void *vargs)