Home
last modified time | relevance | path

Searched refs:arc_token (Results 1 – 9 of 9) sorted by relevance

/external/srec/srec/Semproc/include/
DSR_SemanticGraphImpl.h86 arc_token* arc_token_list;
92 arc_token* arc_token_insert_start;
97 arc_token* arc_token_insert_end;
102 arc_token* arc_token_freelist;
110 arc_token* arcs_for_slot[MAX_NUM_SLOTS];
116 arc_token* arc_tokens_find_ilabel(arc_token* base, arc_token* arc_token_list, wordID wdid);
117 arc_token* arc_tokens_get_free(arc_token* base, arc_token** arc_token_freelist);
/external/srec/srec/Semproc/src/
DSemanticGraphImpl.c246 static arc_token_lnk get_first_arc_leaving_node1(arc_token* arc_token_list, in get_first_arc_leaving_node1()
280 arc_token *atoken; in SR_SemanticGraph_LoadFromTextFiles()
281 arc_token *last_atoken; in SR_SemanticGraph_LoadFromTextFiles()
284 arc_token* arc_token_list; in SR_SemanticGraph_LoadFromTextFiles()
414 semgraph->arc_token_list = NEW_ARRAY(arc_token,max_num_arc_tokens, L("semgraph.wordgraph")); in SR_SemanticGraph_LoadFromTextFiles()
530 arc_token* tmp; in SR_SemanticGraph_LoadFromTextFiles()
638 arc_token *atoken, *arc_token_list = impl->arc_token_list; in sr_semanticgraph_get_type()
720 arc_token *parser, *atok; in sr_semanticgraph_saveV2()
801 arc_token* arc_tokens_find_ilabel(arc_token* base, arc_token* arc_token_list, wordID ilabel) in arc_tokens_find_ilabel()
803 arc_token* p; in arc_tokens_find_ilabel()
[all …]
DSemanticProcessorImpl.c42 arc_token* arc_for_pp; /* which arc was taken */
48 static arc_token* debug_base_arc_token = 0;
252 arc_token* atoken_start, in checkpath_forwardByWordID()
256 arc_token* atok_use; in checkpath_forwardByWordID()
258 arc_token* atok; in checkpath_forwardByWordID()
280 arc_token* a; in checkpath_forwardByWordID()
302 arc_token* atokfna = ARC_TOKEN_PTR(semgraph->arc_token_list, atok->first_next_arc); in checkpath_forwardByWordID()
358 arc_token* atoken_start, in checkpath_forward()
362 arc_token* atok_use; in checkpath_forward()
365 arc_token* atok; in checkpath_forward()
[all …]
/external/srec/srec/include/
Dastar.h67 arc_token; typedef
80 arc_token* arc_for_wtoken;
125 arc_token* get_arc_for_word(arc_token* atoken, wordID word, void* context_void,
128 arc_token* get_arc_for_word_without_slot_annotation(arc_token* atoken, const char* word,
Dsrec_context.h141 arc_token* arc_token_list;
143 arc_token* arc_token_freelist;
144 arc_token* arc_token_insert_start;
236 arc_token_lnk get_first_arc_leaving_node(arc_token* arc_token_list, arcID num_arcs, nodeID node);
/external/srec/srec/crec/
Dtext_parser.c33 static int check_word_path(srec_context* context, arc_token* atok, in check_word_path()
38 arc_token* next_atok; in check_word_path()
94 arc_token* tmp; in check_word_path()
112 arc_token* atok = &context->arc_token_list[0]; in FST_CheckPath_Simple()
Dastar.c66 #define ARC_TOKEN_ONE (arc_token*)1
67 arc_token* get_arc_for_word(arc_token* atoken, wordID word, in get_arc_for_word()
72 arc_token* arc_token_list = context->arc_token_list; in get_arc_for_word()
73 arc_token* tmp; in get_arc_for_word()
83 arc_token root_arc; in get_arc_for_word()
168 arc_token* get_arc_for_word_without_slot_annotation(arc_token* atoken, const char* word, in get_arc_for_word_without_slot_annotation()
173 arc_token* arc_token_list = context->arc_token_list; in get_arc_for_word_without_slot_annotation()
174 arc_token* tmp; in get_arc_for_word_without_slot_annotation()
185 arc_token root_arc; in get_arc_for_word_without_slot_annotation()
292 arc_token* arc_for_extend_token_index, in extend_path()
[all …]
Dsrec_context.c1751 arc_token_lnk get_first_arc_leaving_node(arc_token* arc_token_list, in get_first_arc_leaving_node()
1772 arc_token *atoken, *last_atoken; in FST_LoadReverseWordGraph()
1775 arc_token *arc_token_list, *tmp; in FST_LoadReverseWordGraph()
1785 …context->arc_token_list = (arc_token*)CALLOC_CLR(num_alloc_arc_tokens, sizeof(arc_token), "srec.gr… in FST_LoadReverseWordGraph()
2746 size += sizeof(arc_token) * context->arc_token_list_len; in FST_ContextImageSize()
2892 static ESR_ReturnCode serializeArcToken(arc_token *token_base, in serializeArcToken()
2896 arc_token *token = token_base + i; in serializeArcToken()
2948 static ESR_ReturnCode deserializeArcToken(arc_token *token_base, in deserializeArcToken()
2952 arc_token *token = token_base + i; in deserializeArcToken()
2986 context->arc_token_list = NEW_ARRAY(arc_token, context->arc_token_list_len, in deserializeArcTokenInfo()
[all …]
Dword_lattice.c682 arc_token* keep_arc_token_list;