Searched refs:atok (Results 1 – 4 of 4) sorted by relevance
/external/srec/srec/Semproc/src/ |
D | SemanticProcessorImpl.c | 258 arc_token* atok; in checkpath_forwardByWordID() local 264 …for (atok = atoken_start; atok; atok = ARC_TOKEN_PTR(semgraph->arc_token_list, atok->next_token_in… in checkpath_forwardByWordID() 267 …%strying arc %d %p ilabel%d(%s) olabel %d\n", spaces(debug_depth), atok-debug_base_arc_token, atok, in checkpath_forwardByWordID() 268 …atok->ilabel, atok->ilabel!=MAXwordID?semgraph->ilabels->words[atok->ilabel]:"max", atok->olabel… in checkpath_forwardByWordID() 273 if (atok->ilabel < semgraph->ilabels->num_slots && atok->ilabel != WORD_EPSILON_LABEL && in checkpath_forwardByWordID() 274 wordmap_whether_in_rule(semgraph->ilabels, *currentWord, atok->ilabel)) in checkpath_forwardByWordID() 277 … arc_tokens_find_ilabel(semgraph->arc_token_list, semgraph->arcs_for_slot[atok->ilabel], *currentW… in checkpath_forwardByWordID() 281 … PLogError(L("ESR_INVALID_STATE: finding wdid %d in slot %d"), *currentWord, atok->ilabel); in checkpath_forwardByWordID() 282 …for (a = semgraph->arcs_for_slot[atok->ilabel]; 0 && a; a = ARC_TOKEN_PTR(semgraph->arc_token_list… in checkpath_forwardByWordID() 291 else if (*currentWord != MAXwordID && atok->ilabel == *currentWord) in checkpath_forwardByWordID() [all …]
|
D | SemanticGraphImpl.c | 720 arc_token *parser, *atok; in sr_semanticgraph_saveV2() local 730 for (atok = parser; atok; atok = ARC_TOKEN_PTR(impl->arc_token_list, atok->next_token_index)) in sr_semanticgraph_saveV2() 732 if (atok->ilabel == i) break; in sr_semanticgraph_saveV2() 734 if (!atok) in sr_semanticgraph_saveV2() 740 tmp[0] = atok->olabel; in sr_semanticgraph_saveV2()
|
/external/srec/srec/crec/ |
D | srec_context.c | 122 void append_arc_arriving_node(srec_context* fst, FSMnode* to_node, FSMarc_ptr atok); 123 void append_arc_leaving_node(srec_context* fst, FSMnode* fr_node, FSMarc_ptr atok); 913 FSMarc_ptr atok = (FSMarc_ptr)0; in FST_LoadGraph() local 1046 atok = ARC_ItoX(new_arc_id); in FST_LoadGraph() 1047 atoken = ARC_XtoP(atok); in FST_LoadGraph() 1074 append_arc_leaving_node(fst, fr_node, atok); in FST_LoadGraph() 1077 append_arc_arriving_node(fst, to_node, atok); in FST_LoadGraph() 1141 FSMarc_ptr atok; in FST_DumpGraph() local 1155 for (atok = ntoken->un_ptr.first_next_arc; atok != FSMARC_NULL; atok = atoken->linkl_next_arc) in FST_DumpGraph() 1158 atoken = ARC_XtoP(atok); in FST_DumpGraph() [all …]
|
D | text_parser.c | 33 static int check_word_path(srec_context* context, arc_token* atok, in check_word_path() argument 83 next_atok = get_arc_for_word(atok, wdID, context, context->beg_silence_word); in check_word_path() 87 …next_atok = get_arc_for_word_without_slot_annotation(atok, wd, context, context->beg_silence_word); in check_word_path() 106 atok = next_atok; in check_word_path() 112 arc_token* atok = &context->arc_token_list[0]; in FST_CheckPath_Simple() local 118 rc = check_word_path(context, atok, transcription, transcription_len); in FST_CheckPath_Simple()
|