/external/srec/srec/crec/ |
D | priority_q.c | 163 wtokenID token_index; in sanity_check_priority_q() local 166 token_index = pq->word_token_list; in sanity_check_priority_q() 167 while (token_index != MAXwordID) in sanity_check_priority_q() 169 token = &(word_token_array[token_index]); in sanity_check_priority_q() 170 token_index = token->next_token_index; in sanity_check_priority_q() 191 wtokenID token_index, return_token_index; in add_word_token_to_priority_q() local 204 token_index = pq->word_token_list; in add_word_token_to_priority_q() 205 while (token_index != MAXwordID) in add_word_token_to_priority_q() 207 token = &(word_token_array[token_index]); in add_word_token_to_priority_q() 208 printf("WORDADD PQ token %d word %d cost %d\n", token_index, token->word, token->cost); in add_word_token_to_priority_q() [all …]
|
D | srec_debug.c | 43 void print_fsmnode_token(srec* rec, ftokenID token_index, char* msg) in print_fsmnode_token() argument 49 if (token_index == MAXftokenID) in print_fsmnode_token() 51 printf("%sftoken %d\n", msg, token_index); in print_fsmnode_token() 54 ftoken = &rec->fsmnode_token_array[token_index]; in print_fsmnode_token() 55 …e %d cost %d word %d(%s) word_backtrace %d next_token_index %d ", msg, token_index, rec->id, rec->… in print_fsmnode_token() 66 void print_fsmnode_token_list(srec* rec, stokenID token_index, char* msg) in print_fsmnode_token_list() argument 70 while (token_index != MAXftokenID) in print_fsmnode_token_list() 72 fsmnode_token* ftoken = &rec->fsmnode_token_array[token_index]; in print_fsmnode_token_list() 73 print_fsmnode_token(rec, token_index, ""); in print_fsmnode_token_list() 74 token_index = ftoken->next_token_index; in print_fsmnode_token_list() [all …]
|
D | word_lattice.c | 356 wtokenID token_index; local 374 token_index = wl->words_for_frame[i]; 378 print_word_token_list(rec, token_index, ""); 381 if (i == rec->current_search_frame && token_index != MAXwtokenID) 383 wtoken = &(rec->word_token_array[token_index]); 384 print_word_token(rec, token_index, "Final Top Choice: "); 414 wtokenID token_index; local 426 token_index = wl->words_for_frame[end_frame]; 428 if (token_index == MAXwtokenID) 434 print_word_token_list(rec, token_index, "WORD TOKENS AT END\n"); [all …]
|
D | astar.c | 307 if (wtoken->end_time > word_token_array[parp->token_index].end_time) in extend_path() 319 best_extend_token = word_token_array[ parp->token_index].backtrace; in extend_path() 340 wtokenID alt_token_index = alt_extension->token_index; in extend_path() 392 extended_parp->token_index = extend_token_index; in extend_path() 486 wtokenID token_index, srec* rec, in make_partial_path() argument 496 wtoken = &rec->word_token_array[token_index]; in make_partial_path() 497 parp->token_index = token_index; in make_partial_path() 498 if (token_index != MAXwtokenID) in make_partial_path() 499 parp->word = rec->word_token_array[ token_index].word; in make_partial_path() 571 wtokenID token_index; in astar_stack_prepare() local [all …]
|
D | srec_debug.h | 30 void print_fsmnode_token(srec* rec, ftokenID token_index, char* msg); 31 void print_fsmnode_token_list(srec* rec, stokenID token_index, char* msg); 33 void print_fsmarc_token(srec* rec, stokenID token_index, char* msg); 34 void print_fsmarc_token_list(srec* rec, stokenID token_index, char* msg);
|
D | srec_tokens.c | 37 int count_fsmarc_token_list(srec* rec, stokenID token_index) in count_fsmarc_token_list() argument 41 while (token_index != MAXstokenID) in count_fsmarc_token_list() 43 fsmarc_token* stoken = &rec->fsmarc_token_array[token_index]; in count_fsmarc_token_list() 44 token_index = stoken->next_token_index; in count_fsmarc_token_list() 191 int count_fsmnode_token_list(srec* rec, ftokenID token_index) in count_fsmnode_token_list() argument 195 while (token_index != MAXftokenID) in count_fsmnode_token_list() 197 fsmnode_token* ftoken = &rec->fsmnode_token_array[token_index]; in count_fsmnode_token_list() 198 token_index = ftoken->next_token_index; in count_fsmnode_token_list()
|
D | srec.c | 445 stokenID token_index; in prune_new_tokens() local 454 for (token_index = rec->active_fsmarc_tokens; token_index != MAXstokenID; in prune_new_tokens() 455 token_index = next_token_index) in prune_new_tokens() 458 token = &(rec->fsmarc_token_array[token_index]); in prune_new_tokens() 475 rec->best_token_for_arc[rec->fsmarc_token_array[token_index].FSMarc_index] = MAXstokenID; in prune_new_tokens() 477 free_fsmarc_token(rec, token_index); in prune_new_tokens() 553 ftokenID token_index; in prune_fsmnode_tokens() local 559 token_index = rec->active_fsmnode_tokens; in prune_fsmnode_tokens() 561 token = &(rec->fsmnode_token_array[token_index]); in prune_fsmnode_tokens() 564 while (token_index != MAXftokenID) in prune_fsmnode_tokens() [all …]
|
D | astar_pphash.c | 52 diff = parp1->token_index - parp2->token_index; in compare_parp() 80 hashval = parp->token_index; in hashfunc()
|
D | srec_results.c | 187 word_token* wtoken = &rec->word_token_array[ parp->token_index]; in srec_nbest_fix_homonym_confidence_values() 305 wtoken = &rec->word_token_array[ parp->token_index]; in srec_nbest_get_result() 375 if (parp->token_index == MAXwtokenID) break; in srec_nbest_get_choice_info() 376 wtoken = &rec->word_token_array[ parp->token_index]; in srec_nbest_get_choice_info() 384 parp->next->token_index != MAXwtokenID && in srec_nbest_get_choice_info() 385 … rec->word_token_array[ parp->next->token_index].word == rec->context->end_silence_word) in srec_nbest_get_choice_info()
|
D | srec_tokens.h | 34 int count_fsmarc_token_list(srec* rec, stokenID token_index); 51 int count_fsmnode_token_list(srec* rec, ftokenID token_index);
|
/external/srec/srec/include/ |
D | astar.h | 74 wtokenID token_index; member
|