Searched refs:FSMarc_list (Results 1 – 8 of 8) sorted by relevance
58 #define ARC_XtoI(ARC) ((arcID)((ARC)-fst->FSMarc_list))60 #define ARC_ItoX(ARC_ID) (&fst->FSMarc_list[ARC_ID])75 #define TO_NODE(ARC) fst->FSMarc_list[(ARC)].to_node77 #define LINKL_NEXT(ARC) fst->FSMarc_list[(ARC)].linkl_next_arc78 #define LINKL_PREV(ARC) fst->FSMarc_list[(ARC)].linkl_prev_arc81 #define ARC_XtoP(ARC) (&fst->FSMarc_list[(ARC)])83 #define ARC_PtoX(ARC) ((arcID)((ARC)-fst->FSMarc_list))
103 FSMarc* FSMarc_list; /* allocation base */ member
243 if(context->FSMarc_list[i].ilabel == WORD_BOUNDARY) in fst_set_wb_costs()244 context->FSMarc_list[i].cost = wbcost; in fst_set_wb_costs()980 fst->FSMarc_list = (FSMarc*)CALLOC_CLR(max_num_FSMarcs, sizeof(FSMarc), "srec.graph.arcs"); in FST_LoadGraph()989 fst->FSMarc_list[i].linkl_next_arc = ARC_ItoX(i + 1); in FST_LoadGraph()990 fst->FSMarc_list[i].linkl_prev_arc = FSMARC_FREE; in FST_LoadGraph()992 fst->FSMarc_list[i].linkl_next_arc = FSMARC_NULL; in FST_LoadGraph()993 fst->FSMarc_list[i].linkl_prev_arc = FSMARC_FREE; in FST_LoadGraph()1128 FREE(pfst->FSMarc_list); in FST_UnloadGraph()1131 pfst->FSMarc_list = 0; in FST_UnloadGraph()1251 if (fst->FSMarc_list[arcid].olabel == fst->addWordCaching_lastslot_num) in FST_AddWordToGrammar()[all …]
97 FSMarc* arc = &context->FSMarc_list[stoken->FSMarc_index]; in print_fsmarc_token()
385 fsm_arc = &rec->context->FSMarc_list[ current_token->FSMarc_index]; in find_which_models_to_compute()412 fsm_arc = rec->context->FSMarc_list+fsm_arc_index; in find_which_models_to_compute()891 fsm_arc = &rec->context->FSMarc_list[ fsm_arc_index]; in do_epsilon_updates()1134 fsm_arc = &rec->context->FSMarc_list[fsm_arc_index]; in update_internal_hmm_states()1244 arc = &context->FSMarc_list[fpa]; in GetNumArcsArrivingClip2()1305 fsm_arc = &rec->context->FSMarc_list[ fsm_arc_index]; in update_from_hmms_to_fsmnodes()1573 fsm_arc = &rec->context->FSMarc_list[ fsm_arc_index]; in update_from_current_fsm_nodes_into_new_HMMs()
96 arc = &(rec->context->FSMarc_list[fsm_arc_index]); in setup_free_fsmarc_token()
704 wordID wdid = fst->FSMarc_list[i].olabel; in SR_GrammarAllowOnly()714 fst->FSMarc_list[i].cost |= DISABLEcostdata; /* disable this arc */ in SR_GrammarAllowOnly()720 fst->FSMarc_list[i].cost &= ~(DISABLEcostdata); /* enable this arc */ in SR_GrammarAllowOnly()734 if (fst->FSMarc_list[i].cost < DISABLEcostdata) in SR_GrammarAllowOnly()736 node = fst->FSMarc_list[i].to_node; in SR_GrammarAllowOnly()741 arc = &fst->FSMarc_list[j]; in SR_GrammarAllowOnly()746 fst->FSMarc_list[i].cost |= DISABLEcostdata; in SR_GrammarAllowOnly()767 fst->FSMarc_list[i].cost &= ~(DISABLEcostdata); /* enable this arc */ in SR_GrammarAllowAll()
247 if(fst->FSMarc_list[i].olabel == wordid) { in CheckG2G()249 FSMarc* arc = &fst->FSMarc_list[i]; in CheckG2G()259 arc = &fst->FSMarc_list[iarc]; in CheckG2G()269 arc = &fst->FSMarc_list[i]; in CheckG2G()275 arc = &fst->FSMarc_list[iarc]; in CheckG2G()