Home
last modified time | relevance | path

Searched refs:word_token_array (Results 1 – 11 of 11) sorted by relevance

/external/srec/srec/crec/
Dpriority_q.c70 wtokenID get_word_token_list(priority_q *pq, word_token *word_token_array) in get_word_token_list() argument
75 void remove_non_end_word_from_q(srec *rec, priority_q *pq, word_token *word_token_array, nodeID end… in remove_non_end_word_from_q() argument
87 token = &(word_token_array[*ptoken_index]); in remove_non_end_word_from_q()
108 word_token* word_token_array) in compare_histories() argument
133 history_for_token1 += word_token_array[token1->backtrace].word * 10000; in compare_histories()
134 history_for_token1 += word_token_array[token1->backtrace].end_time; in compare_histories()
140 history_for_token2 += word_token_array[token2->backtrace].word * 10000; in compare_histories()
141 history_for_token2 += word_token_array[token2->backtrace].end_time; in compare_histories()
160 void sanity_check_priority_q(priority_q* pq, word_token *word_token_array) in sanity_check_priority_q() argument
169 token = &(word_token_array[token_index]); in sanity_check_priority_q()
[all …]
Dword_lattice.c84 costdata lattice_best_cost_to_frame(srec_word_lattice *wl, word_token* word_token_array, frameID if… in lattice_best_cost_to_frame() argument
91 word_token* wtoken = &word_token_array[wtoken_index]; in lattice_best_cost_to_frame()
122 wtoken = &rec->word_token_array[wtoken_index]; in print_word_token_backtrace()
133 word_token* next_wtoken = &rec->word_token_array[wtoken->backtrace]; in print_word_token_backtrace()
158 word_token* wtoken = &rec->word_token_array[wtoken_index]; in sprint_bword_token_backtrace()
193 wtoken = &rec->word_token_array[wtoken_index]; in sprint_word_token_backtraceByWordID()
252 word_token* wtoken = &rec->word_token_array[wtoken_index]; in sprint_word_token_backtrace()
312 word_token* wtoken = &rec->word_token_array[wtoken_index]; in print_word_token()
321 word_token* next_wtoken = &rec->word_token_array[wtoken->backtrace]; in print_word_token()
343 word_token* wtoken = &rec->word_token_array[wtoken_index]; in print_word_token_list()
[all …]
Dastar.c294 word_token* word_token_array, in extend_path() argument
305 wtoken = &word_token_array[ extend_token_index]; in extend_path()
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()
320 best_cost_for_node = word_token_array[ best_extend_token].cost; in extend_path()
321 wtoken = &word_token_array[ extend_token_index]; in extend_path()
322 ASSERT(word_token_array[best_extend_token].end_time == in extend_path()
323 word_token_array[extend_token_index].end_time); in extend_path()
349 alt_wtoken = &word_token_array[alt_token_index]; in extend_path()
363 alt_wtoken_bt = &word_token_array[ alt_wtoken->backtrace]; in extend_path()
[all …]
Dsrec.c498 wtoken = &rec->word_token_array[ wtoken_index]; in reprune_word_tokens_if_necessary()
687 word_token = &(rec->word_token_array[word_token_index]); in create_word_token()
732 word_token* btoken = &rec->word_token_array[word_backtrace]; in srec_process_word_boundary_nbest()
751 wtoken = &(rec->word_token_array[wtoken_index]); in srec_process_word_boundary_nbest()
759 …o_remove = add_word_token_to_priority_q(rec->word_priority_q, wtoken_index, rec->word_token_array); in srec_process_word_boundary_nbest()
767 … *pcurrent_word_threshold = get_priority_q_threshold(rec->word_priority_q, rec->word_token_array); in srec_process_word_boundary_nbest()
942 WORD_TOKEN_SET_WD_ETIME( (rec->word_token_array+wtoken_index), in do_epsilon_updates()
943 rec->word_token_array[wtoken_index].end_time - current_ftoken->silence_duration); in do_epsilon_updates()
948 WORD_TOKEN_SET_HOMONYM( (rec->word_token_array+wtoken_index), 1); in do_epsilon_updates()
1382 … ct_end_time = rec->word_token_array[current_token->word_backtrace[end_state]].end_time; in update_from_hmms_to_fsmnodes()
[all …]
Dsrec_results.c187 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()
376 wtoken = &rec->word_token_array[ parp->token_index]; 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()
Dsrec_initialize.c99 …rec->word_token_array = (word_token*) CALLOC_CLR(max_word_tokens, sizeof(word_token), "search.srec… in allocate_recognition1()
215 FREE(rec->word_token_array); in free_recognition1()
Dsrec_tokens.c143 wtoken = &rec->word_token_array[i]; in initialize_free_word_tokens()
175 wtoken = &rec->word_token_array[token_to_return]; in get_free_word_token()
Dsrec_stats.c120 wtoken = &rec->word_token_array[wt_index]; in srec_stats_update()
Dsrec_eosd.c156 last_wtoken = &rec->word_token_array[eftoken->word_backtrace]; in srec_check_end_of_speech()
/external/srec/srec/include/
Dsrec.h248 word_token *word_token_array; /* used for storage of all word tokens - member
326 wtokenID get_word_token_list(priority_q *pq, word_token *word_token_array);
327 …ord_token_to_priority_q(priority_q *pq, wtokenID token_index_to_add, word_token *word_token_array);
328 …void remove_non_end_word_from_q(srec *rec, priority_q *pq, word_token *word_token_array, nodeID en…
329 costdata get_priority_q_threshold(priority_q *pq, word_token *word_token_array);
Dword_lattice.h54 …costdata lattice_best_cost_to_frame(srec_word_lattice *wl, word_token* word_token_array, frameID i…