Searched refs:wtoken_index (Results 1 – 4 of 4) sorted by relevance
/external/srec/srec/crec/ |
D | word_lattice.c | 88 wtokenID wtoken_index = wl->words_for_frame[ ifr]; in lattice_best_cost_to_frame() local 89 while (wtoken_index != MAXwtokenID) in lattice_best_cost_to_frame() 91 word_token* wtoken = &word_token_array[wtoken_index]; in lattice_best_cost_to_frame() 93 wtoken_index = wtoken->next_token_index; in lattice_best_cost_to_frame() 111 void print_word_token_backtrace(srec* rec, wtokenID wtoken_index, char* tail) in print_word_token_backtrace() argument 120 while (wtoken_index != MAXwtokenID) in print_word_token_backtrace() 122 wtoken = &rec->word_token_array[wtoken_index]; in print_word_token_backtrace() 141 …PLogMessage (" (%d W%d %s cost=%d/%d/%d time=%d%s node=%d)", wtoken_index, wtoken->word, p, wtoken… in print_word_token_backtrace() 143 ASSERT(wtoken->backtrace != wtoken_index); in print_word_token_backtrace() 144 wtoken_index = wtoken->backtrace; in print_word_token_backtrace() [all …]
|
D | astar.c | 1072 …ve_paths(AstarStack* stack, word_token* word_token_array, bigcostdata cost, wtokenID wtoken_index); 1075 wtokenID wtoken_index; in astar_stack_prepare_from_active_search() local 1100 wtoken_index = ftoken->word_backtrace; in astar_stack_prepare_from_active_search() 1101 if (wtoken_index == MAXwtokenID) in astar_stack_prepare_from_active_search() 1108 …c += (rc1 = maybe_add_to_active_paths(stack, rec->word_token_array, parp_costsofar, wtoken_index)); in astar_stack_prepare_from_active_search() 1119 wtoken_index = stoken->word_backtrace[i]; in astar_stack_prepare_from_active_search() 1120 if (wtoken_index == MAXwtokenID) in astar_stack_prepare_from_active_search() 1125 …c += (rc1 = maybe_add_to_active_paths(stack, rec->word_token_array, parp_costsofar, wtoken_index)); in astar_stack_prepare_from_active_search() 1142 …AstarStack* stack, word_token* word_token_array, bigcostdata parp_costsofar, wtokenID wtoken_index) in maybe_add_to_active_paths() argument 1149 wtoken = &word_token_array[ wtoken_index]; in maybe_add_to_active_paths() [all …]
|
D | srec.c | 493 wtokenID wtoken_index = rec->word_token_freelist; in reprune_word_tokens_if_necessary() local 496 for (; wtoken_index != MAXwtokenID; wtoken_index = wtoken->next_token_index) in reprune_word_tokens_if_necessary() 498 wtoken = &rec->word_token_array[ wtoken_index]; in reprune_word_tokens_if_necessary() 724 wtokenID wtoken_index; in srec_process_word_boundary_nbest() local 740 wtoken_index = create_word_token(rec); in srec_process_word_boundary_nbest() 742 if (wtoken_index == MAXwtokenID) in srec_process_word_boundary_nbest() 751 wtoken = &(rec->word_token_array[wtoken_index]); in srec_process_word_boundary_nbest() 759 …token_id_to_remove = add_word_token_to_priority_q(rec->word_priority_q, wtoken_index, rec->word_to… in srec_process_word_boundary_nbest() 761 if (token_id_to_remove == wtoken_index) in srec_process_word_boundary_nbest() 768 return_wtoken_index = wtoken_index; in srec_process_word_boundary_nbest() [all …]
|
/external/srec/srec/include/ |
D | word_lattice.h | 32 void print_word_token(srec* rec, wtokenID wtoken_index, char* msg); 33 void print_word_token_backtrace(srec* rec, wtokenID wtoken_index, char* tail); 34 void print_word_token_list(srec* rec, wtokenID wtoken_index, char* msg); 35 int sprint_bword_token_backtrace(char *buf, int len, srec* rec, wtokenID wtoken_index); 46 int sprint_word_token_backtrace(char *transcription, int len, srec* rec, wtokenID wtoken_index);
|