Home
last modified time | relevance | path

Searched refs:first_next_arc (Results 1 – 10 of 10) sorted by relevance

/external/srec/srec/Semproc/src/
DSemanticGraphImpl.c484 atoken->first_next_arc = (arc_token_lnk)into_node; in SR_SemanticGraph_LoadFromTextFiles()
502 into_node = (nodeID)(int)atoken->first_next_arc; /* get the integer */ in SR_SemanticGraph_LoadFromTextFiles()
503 atoken->first_next_arc = /* converts the integer id to a arc_token pointer */ in SR_SemanticGraph_LoadFromTextFiles()
504 get_first_arc_leaving_node1(arc_token_list, num_arcs, (nodeID)(int)atoken->first_next_arc); in SR_SemanticGraph_LoadFromTextFiles()
533 tmp = ARC_TOKEN_PTR(arc_token_list, atoken->first_next_arc); in SR_SemanticGraph_LoadFromTextFiles()
536 if (tmp->first_next_arc == ARC_TOKEN_NULL) in SR_SemanticGraph_LoadFromTextFiles()
562 semgraph->arc_token_list[i].first_next_arc = ARC_TOKEN_NULL; in SR_SemanticGraph_LoadFromTextFiles()
565 semgraph->arc_token_list[i].first_next_arc = ARC_TOKEN_NULL; in SR_SemanticGraph_LoadFromTextFiles()
650 atoken = ARC_TOKEN_PTR(arc_token_list, atoken->first_next_arc); in sr_semanticgraph_get_type()
653 mergept = atoken->first_next_arc; in sr_semanticgraph_get_type()
[all …]
DSemanticProcessorImpl.c302 arc_token* atokfna = ARC_TOKEN_PTR(semgraph->arc_token_list, atok->first_next_arc); in checkpath_forwardByWordID()
315 if (atok->first_next_arc == ARC_TOKEN_NULL && *currentWord == MAXwordID) in checkpath_forwardByWordID()
414 arc_token* atokfna = ARC_TOKEN_PTR(semgraph->arc_token_list, atok->first_next_arc); in checkpath_forward()
426 if (atok->first_next_arc==ARC_TOKEN_NULL && *transp==0) in checkpath_forward()
/external/srec/srec/include/
Dsearch_network.h56 #define FIRST_NEXT(NOD) (NOD)->first_next_arc
80 #define FIRST_NEXT(NOD) fst->FSMnode_list[(NOD)].un_ptr.first_next_arc
109 FSMarc_ptr first_next_arc; member
Dastar.h64 arc_token_lnk first_next_arc; member
/external/srec/srec/crec/
Dastar.c84 root_arc.first_next_arc = ARC_TOKEN_LNK(arc_token_list, 0); in get_arc_for_word()
99 for (tmp = ARC_TOKEN_PTR(arc_token_list, atoken->first_next_arc); tmp; in get_arc_for_word()
115 tmp = ARC_TOKEN_PTR(arc_token_list, atoken->first_next_arc); in get_arc_for_word()
118 …else if (tmp->first_next_arc == ARC_TOKEN_NULL && (tmp->ilabel == MAXwordID || tmp->ilabel == term… in get_arc_for_word()
124 for (tmp = ARC_TOKEN_PTR(arc_token_list, atoken->first_next_arc); tmp; in get_arc_for_word()
126 if (tmp->ilabel == MAXwordID && tmp->first_next_arc == ARC_TOKEN_NULL) in get_arc_for_word()
136 if (atoken->first_next_arc == ARC_TOKEN_NULL) in get_arc_for_word()
139 tmp = ARC_TOKEN_PTR(arc_token_list, atoken->first_next_arc); in get_arc_for_word()
142 tmp = ARC_TOKEN_PTR(arc_token_list, tmp->first_next_arc); in get_arc_for_word()
186 root_arc.first_next_arc = ARC_TOKEN_LNK(arc_token_list, 0); in get_arc_for_word_without_slot_annotation()
[all …]
Dsrec_context.c1000 fr_node->un_ptr.first_next_arc = fr_node->first_prev_arc = FSMARC_NULL; in FST_LoadGraph()
1153 if (ntoken->un_ptr.first_next_arc != FSMARC_NULL) in FST_DumpGraph()
1155 for (atok = ntoken->un_ptr.first_next_arc; atok != FSMARC_NULL; atok = atoken->linkl_next_arc) in FST_DumpGraph()
1260 arc = &fst->FSMarc_list[node->un_ptr.first_next_arc]; in FST_AddWordToGrammar()
1520 …for (pai = &node->un_ptr.first_next_arc, ai = (*pai); ai != MAXarcID; pai = &arc->linkl_next_arc, … in remove_added_arcs_leaving()
1621 for (ai = node->un_ptr.first_next_arc; ai != MAXarcID; ai = arc->linkl_next_arc) in FST_ResetGrammar()
1632 arc2 = &fst->FSMarc_list[ node2->un_ptr.first_next_arc]; in FST_ResetGrammar()
1640 arc3 = &fst->FSMarc_list[ node3->un_ptr.first_next_arc]; in FST_ResetGrammar()
1647 arc3 = &fst->FSMarc_list[ node3->un_ptr.first_next_arc]; in FST_ResetGrammar()
1817 atoken->first_next_arc = (arc_token_lnk)into_node; in FST_LoadReverseWordGraph()
[all …]
Dtext_parser.c95 for (tmp = ARC_TOKEN_PTR(context->arc_token_list, next_atok->first_next_arc); tmp != NULL; in check_word_path()
Dsrec.c410 for (fsm_arc_index = fsm_node->un_ptr.first_next_arc; fsm_arc_index != MAXarcID; in find_which_models_to_compute()
887 for (fsm_arc_index = fsm_node->un_ptr.first_next_arc; in do_epsilon_updates()
1565 for (fsm_arc_index = fsm_node->un_ptr.first_next_arc; in update_from_current_fsm_nodes_into_new_HMMs()
/external/srec/tools/test_g2g/
Dtest_g2g.c273 iarc = node->un_ptr.first_next_arc; in CheckG2G()
/external/srec/srec/Grammar/src/
DSR_GrammarImpl.c739 … for (j = fst->FSMnode_list[node].un_ptr.first_next_arc; j != MAXarcID; j = arc->linkl_next_arc) in SR_GrammarAllowOnly()