Lines Matching refs:stoken
140 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()
166 awtoken->costbasis = stoken->cost[j]; in reprune_altword_tokens()
183 for (i = rec->active_fsmarc_tokens; i != MAXstokenID; i = stoken->next_token_index) in reprune_altword_tokens()
185 stoken = &rec->fsmarc_token_array[i]; in reprune_altword_tokens()
186 for (j = 0; j < stoken->num_hmm_states; j++) in reprune_altword_tokens()
188 if (stoken->aword_backtrace[j] != AWTNULL) in reprune_altword_tokens()
190 stoken->aword_backtrace[j] = in reprune_altword_tokens()
191 reprune_altword_token_batch(rec, stoken->aword_backtrace[j], in reprune_altword_tokens()
630 fsmarc_token* stoken; in reset_best_cost_to_zero() local
638 token_index = stoken->next_token_index) in reset_best_cost_to_zero()
641 stoken = &rec->fsmarc_token_array[ token_index]; in reset_best_cost_to_zero()
642 num_states = stoken->num_hmm_states; in reset_best_cost_to_zero()
645 if (stoken->cost[i] < MAXcostdata) in reset_best_cost_to_zero()
647 ASSERT(stoken->cost[i] >= current_best_cost); in reset_best_cost_to_zero()
648 stoken->cost[i] = (costdata)(stoken->cost[i] - (costdata) current_best_cost); in reset_best_cost_to_zero()
1918 fsmarc_token* stoken; in srec_terminate() local
1928 stoken = &rec->fsmarc_token_array[ stoken_index]; in srec_terminate()
1929 next_stoken_index = stoken->next_token_index; in srec_terminate()