Home
last modified time | relevance | path

Searched refs:costdata (Results 1 – 19 of 19) sorted by relevance

/external/srec/srec/include/
Dsrec.h49 costdata costdelta; /* cost relative to path being propagated */
54 costdata costbasis; /* cost of best fsmarc_token host */
68 costdata cost[MAX_HMM]; /* cost so far*/
88 costdata cost;
108 costdata cost; /* cost for path up to this point*/
148 costdata max_cost_in_q;
200costdata prune_delta; /* controls the amount of score-based pruning - should this go in the…
201 costdata current_prune_delta; /* when the above changes in mid-frame */
202 costdata current_best_cost; /* 0 if single recog */
221 costdata *current_model_scores; /* temporary array used by the search to contain model scores -
[all …]
Dswimodel.h85 static PINLINE costdata duration_penalty_loop(frameID average_duration, frameID duration_so_far) in duration_penalty_loop()
89 return (costdata)loop_cost_table[average_duration][duration_so_far-1]; in duration_penalty_loop()
99 static PINLINE costdata duration_penalty_depart(frameID average_duration, frameID duration_so_far) in duration_penalty_depart()
103 return (costdata) trans_cost_table[average_duration][duration_so_far-1]; in duration_penalty_depart()
Dsrec_sizes.h26 typedef asr_uint16_t costdata; /*done as cost, so always >= 0*/ typedef
42 #define MAXcostdata ((costdata)65535)
Dsrec_eosd.h29 costdata eos_costdelta;
30 costdata opt_eos_costdelta;
Dword_lattice.h48 int reprune_word_tokens(srec* rec, costdata current_best_cost);
54costdata lattice_best_cost_to_frame(srec_word_lattice *wl, word_token* word_token_array, frameID i…
Dsrec_context.h116 costdata wrapup_cost; /* cost of going from optend nodes to endnode */
117 costdata wtw_average; /* cost of going from optend nodes to endnode */
Dastar.h106 costdata prune_delta;
Dsearch_network.h133 costdata cost;
/external/srec/srec/crec/
Dsrec.c61 costdata current_best_cost);
62 static void update_internal_hmm_states(srec *rec, costdata *pcurrent_prune_delta,
63 costdata *pcurrent_best_cost,
64 costdata *precomputed_model_scores);
182 current_prune_delta = (costdata)(PRUNE_TIGHTEN * PRUNE_TIGHTEN * current_prune_delta); in reprune_altword_tokens()
212 static altword_token* copy_altwords(srec* rec, altword_token* list1, costdata delta) in copy_altwords()
215 costdata q2_costdelta; in copy_altwords()
324 static int compute_model_scores(costdata *current_model_scores, const SWIModel *acoustic_models, in compute_model_scores()
338 current_model_scores[i] = (costdata) - score; in compute_model_scores()
357 costdata *current_model_scores; in find_which_models_to_compute()
[all …]
Dsrec_initialize.c91 …rec->current_model_scores = (costdata*) CALLOC_CLR(max_model_states, sizeof(costdata), "search.sre… in allocate_recognition1()
110 rec->prune_delta = (costdata)viterbi_prune_thresh; in allocate_recognition1()
113 …rec->best_model_cost_for_frame = (costdata*)CALLOC_CLR(max_frames, sizeof(costdata), "search.srec.… in allocate_recognition1()
187 …rec->cost_offset_for_frame = (costdata*)CALLOC_CLR(max_frames, sizeof(costdata), "search.srec.curr… in allocate_recognition()
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()
87 costdata best_cost = MAXcostdata; in lattice_best_cost_to_frame()
392 costdata current_best_cost = MAXcostdata;
679 int reprune_word_tokens(srec* rec, costdata current_best_cost)
754 rec->astar_stack->prune_delta = (costdata) keep_astar_prune;
Dpriority_q.c193 costdata cost_to_add; in add_word_token_to_priority_q()
327 costdata get_priority_q_threshold(priority_q *pq, word_token *word_token_array) in get_priority_q_threshold()
Dsrec_context.c110 wordID olabel, costdata cost,
239 void fst_set_wb_costs( srec_context* context, costdata wbcost) in fst_set_wb_costs()
251 costdata wbcost = MAXcostdata; in FST_LoadParams()
262 wbcost = (costdata)atoi_with_check(val, MAXcostdata); in FST_LoadParams()
279 fst_set_wb_costs( context, (costdata)DEFAULT_WB_COST); in FST_AssumeParams()
916 costdata cost = FREEcostdata; in FST_LoadGraph()
1415 …rc = fst_add_arcs(fst, start_node, end_node, olabel, (costdata)cost, model_sequence, model_sequenc… in FST_AddWordToGrammar()
1463 olabel, (costdata)cost, model_sequence, model_sequence_len); in FST_AddWordToGrammar()
1773 costdata cost; in FST_LoadReverseWordGraph()
2049 atoken->cost = (costdata)(atoken->cost + arc->cost); in fst_push_arc_olabel()
[all …]
Dsrec_debug.c98 costdata* costs = &stoken->cost[0]; in print_fsmarc_token()
Dsrec_eosd.c87 costdata wrapup_cost = rec->context->wrapup_cost; in srec_check_end_of_speech()
Dsrec_results.c34 costdata current_best_cost = MAXcostdata; in WHICH_RECOG()
Dastar.c300 costdata best_cost_for_node; in extend_path()
/external/srec/srec/Grammar/src/
DSR_GrammarImpl.c730 costdata mincost; in SR_GrammarAllowOnly()
/external/srec/srec/Semproc/src/
DSemanticGraphImpl.c282 costdata cost = 0; in SR_SemanticGraph_LoadFromTextFiles()