#include <sys/time.h>
struct timeval start,end;
gettimeofday(&start,NULL);if (!load_pattern_pred_mapping_dict(pred_norm_dict_file)) {
fprintf(stderr, "load pattern pred mapping dict file failed, pls check file: %s\n", pred_norm_dict_file);
return false;
}
gettimeofday(&end,NULL);
printf("load pred norm dict used:%d s\n",(int)(end.tv_sec - start.tv_sec));