Home
last modified time | relevance | path

Searched refs:stoken (Results 1 – 7 of 7) sorted by relevance

/external/srec/srec/crec/
Dsrec_debug.c96 fsmarc_token* stoken = &rec->fsmarc_token_array[token_index]; in print_fsmarc_token() local
97 FSMarc* arc = &context->FSMarc_list[stoken->FSMarc_index]; in print_fsmarc_token()
98 costdata* costs = &stoken->cost[0]; in print_fsmarc_token()
99 wordID* wordids = &stoken->word[0]; in print_fsmarc_token()
100 frameID* duration = &stoken->duration[0]; in print_fsmarc_token()
101 wtokenID* word_backtrace = &stoken->word_backtrace[0]; in print_fsmarc_token()
106 stoken->FSMarc_index, arc->ilabel, arc->to_node); in print_fsmarc_token()
107 for (i = 0; i < stoken->num_hmm_states; i++) in print_fsmarc_token()
114 sprint_altwords(rec, stoken->aword_backtrace[i], buf), in print_fsmarc_token()
125 fsmarc_token* stoken = &rec->fsmarc_token_array[token_index]; in print_fsmarc_token_list() local
[all …]
Dsrec_tokens.c43 fsmarc_token* stoken = &rec->fsmarc_token_array[token_index]; in count_fsmarc_token_list() local
44 token_index = stoken->next_token_index; in count_fsmarc_token_list()
117 fsmarc_token* stoken; in free_fsmarc_token() local
119 stoken = &rec->fsmarc_token_array[old_token_index]; in free_fsmarc_token()
120 stoken->next_token_index = rec->fsmarc_token_freelist; in free_fsmarc_token()
123 for (i = 0; i < stoken->num_hmm_states; i++) in free_fsmarc_token()
124 if (stoken->aword_backtrace[i] != AWTNULL) in free_fsmarc_token()
125 free_altword_token_batch(rec, stoken->aword_backtrace[i]); in free_fsmarc_token()
Dword_lattice.c610 fsmarc_token* stoken; local
615 for (; stoken_index != MAXstokenID; stoken_index = stoken->next_token_index)
617 stoken = &rec->fsmarc_token_array[stoken_index];
618 for (i = 0; i < stoken->num_hmm_states; i++)
620 if (stoken->word_backtrace[i] == old_token_index)
623 old_token_index, stoken_index, i, stoken->cost[i]);
685 fsmarc_token* stoken; local
714 for (; stoken_index != MAXstokenID; stoken_index = stoken->next_token_index)
716 stoken = &rec->fsmarc_token_array[ stoken_index];
717 for (i = 0; i < stoken->num_hmm_states; i++)
[all …]
Dsrec.c140 fsmarc_token* stoken; in reprune_altword_tokens() local
146 for (i = rec->active_fsmarc_tokens; i != MAXstokenID; i = stoken->next_token_index) in reprune_altword_tokens()
148 stoken = &rec->fsmarc_token_array[i]; in reprune_altword_tokens()
149 for (j = 0; j < stoken->num_hmm_states; j++) in reprune_altword_tokens()
150 if ((awtoken = stoken->aword_backtrace[j]) != AWTNULL) in reprune_altword_tokens()
160 for (i = rec->active_fsmarc_tokens; i != MAXstokenID; i = stoken->next_token_index) in reprune_altword_tokens()
162 stoken = &rec->fsmarc_token_array[i]; in reprune_altword_tokens()
163 for (j = 0; j < stoken->num_hmm_states; j++) in reprune_altword_tokens()
164 if ((awtoken = stoken->aword_backtrace[j]) != AWTNULL) in reprune_altword_tokens()
165 if (awtoken->costbasis > stoken->cost[j]) in reprune_altword_tokens()
[all …]
Dsrec_stats.c85 fsmarc_token* stoken; in srec_stats_update() local
96 for (num = 0; st_index != MAXstokenID; st_index = stoken->next_token_index) in srec_stats_update()
98 stoken = &rec->fsmarc_token_array[st_index]; in srec_stats_update()
Dastar.c1079 fsmarc_token* stoken; in astar_stack_prepare_from_active_search() local
1114 for (; stoken_index != MAXstokenID; stoken_index = stoken->next_token_index) in astar_stack_prepare_from_active_search()
1116 stoken = &rec->fsmarc_token_array[ stoken_index]; in astar_stack_prepare_from_active_search()
1117 for (i = 0; i < stoken->num_hmm_states; i++) in astar_stack_prepare_from_active_search()
1119 wtoken_index = stoken->word_backtrace[i]; in astar_stack_prepare_from_active_search()
1122 parp_costsofar = stoken->cost[i]; in astar_stack_prepare_from_active_search()
/external/bison/
DChangeLog14503 `sunknown', `stoken and `snterm'.