Home
last modified time | relevance | path

Searched refs:MAXwordID (Results 1 – 15 of 15) sorted by relevance

/external/srec/srec/crec/
Dpriority_q.c47 pq->word_token_list = MAXwordID; in allocate_priority_q()
63 pq->word_token_list = MAXwordID; in clear_priority_q()
130 if (token1->backtrace != MAXwordID) in compare_histories()
137 if (token2->backtrace != MAXwordID) in compare_histories()
167 while (token_index != MAXwordID) in sanity_check_priority_q()
205 while (token_index != MAXwordID) in add_word_token_to_priority_q()
231 while ((*ptoken_index) != MAXwordID) in add_word_token_to_priority_q()
Dtext_parser.c81 if (wdID < MAXwordID) in check_word_path()
98 if (tmp->ilabel == MAXwordID) whether_final_atok = 1; in check_word_path()
165 if (wdid < MAXwordID) continue; in FST_CheckPath_Complex()
169 if (wdid < MAXwordID) break; in FST_CheckPath_Complex()
171 if (wdid == MAXwordID) in FST_CheckPath_Complex()
Dsrec_context.c170 context->addWordCaching_lastslot_num = MAXwordID; in FST_LoadContext()
401 my_wID = (wordID)atoi_with_check(wID_string, MAXwordID); in FST_LoadWordMap()
461 return MAXwordID; in wordmap_find_index()
464 return MAXwordID; in wordmap_find_index()
483 return MAXwordID; in wordmap_find_index()
498 if (i == 0) return MAXwordID; in wordmap_find_rule_index()
511 return MAXwordID; in wordmap_find_index_in_rule()
519 return MAXwordID; in wordmap_find_index_in_rule()
689 return MAXwordID; in wordmap_add_word()
717 return MAXwordID; in wordmap_add_word()
[all …]
Dastar.c118 …else if (tmp->first_next_arc == ARC_TOKEN_NULL && (tmp->ilabel == MAXwordID || tmp->ilabel == term… in get_arc_for_word()
126 if (tmp->ilabel == MAXwordID && tmp->first_next_arc == ARC_TOKEN_NULL) in get_arc_for_word()
146 printf(" W%d(%s)", tmp->ilabel, tmp->ilabel != MAXwordID ? wmap->words[tmp->ilabel] : ""); in get_arc_for_word()
197 else if (!tmp->first_next_arc && (tmp->ilabel == MAXwordID || tmp->ilabel == terminal_word)) in get_arc_for_word_without_slot_annotation()
205 if (tmp->ilabel == MAXwordID && tmp->first_next_arc == ARC_TOKEN_NULL) in get_arc_for_word_without_slot_annotation()
222 if (wdid != MAXwordID) in get_arc_for_word_without_slot_annotation()
396 extended_parp->word = MAXwordID; in extend_path()
501 parp->word = MAXwordID; in make_partial_path()
587 stack->root_path->word = MAXwordID; in astar_stack_prepare()
1094 stack->root_path->word = MAXwordID; in astar_stack_prepare_from_active_search()
[all …]
Dsrec_results.c241 if (wordIDs) *wordIDs = MAXwordID; in srec_nbest_get_resultWordIDs()
261 *wordIDs = MAXwordID; in srec_nbest_get_resultWordIDs()
274 *wordIDs = MAXwordID; in srec_nbest_get_resultWordIDs()
278 *wordIDs = MAXwordID; in srec_nbest_get_resultWordIDs()
Dsrec.c1197 if (current_token->word[internal_state-1] != MAXwordID) in update_internal_hmm_states()
1293 || (current_token->word[end_state] != MAXwordID)); in update_from_hmms_to_fsmnodes()
1344 if (ftoken->word != MAXwordID) in update_from_hmms_to_fsmnodes()
1369 ASSERT( ((current_token->word[end_state] == MAXwordID) && (ftoken->word == MAXwordID)) in update_from_hmms_to_fsmnodes()
1370 || ((current_token->word[end_state] != MAXwordID) && (ftoken->word != MAXwordID)) ); in update_from_hmms_to_fsmnodes()
1394 if (ftoken->word != MAXwordID) in update_from_hmms_to_fsmnodes()
1455 if (ftoken->word != MAXwordID) in update_from_hmms_to_fsmnodes()
1510 ASSERT(ftoken->word != MAXwordID || ftoken->aword_backtrace == AWTNULL); in update_from_hmms_to_fsmnodes()
1643 ASSERT(token->word[0] != MAXwordID in update_from_current_fsm_nodes_into_new_HMMs()
1772 token->word = MAXwordID; in srec_begin()
[all …]
Dastar_pphash.c86 if (parp->word != MAXwordID) in hashfunc()
Dsrec_tokens.c102 token->word[i] = MAXwordID; in setup_free_fsmarc_token()
Dword_lattice.c48 WT.word = MAXwordID; \
222 wordIDs[currentLen] = MAXwordID; in sprint_word_token_backtraceByWordID()
/external/srec/srec/Semproc/src/
DSemanticProcessorImpl.c268 …atok->ilabel, atok->ilabel!=MAXwordID?semgraph->ilabels->words[atok->ilabel]:"max", atok->olabel… in checkpath_forwardByWordID()
291 else if (*currentWord != MAXwordID && atok->ilabel == *currentWord) in checkpath_forwardByWordID()
315 if (atok->first_next_arc == ARC_TOKEN_NULL && *currentWord == MAXwordID) in checkpath_forwardByWordID()
317 …else if (atokfna && atokfna->ilabel==MAXwordID && atokfna->olabel==MAXwordID && *currentWord==MAXw… in checkpath_forwardByWordID()
375 …atok->ilabel, atok->ilabel!=MAXwordID?semgraph->ilabels->words[atok->ilabel]:"max", atok->olabel… in checkpath_forward()
402 else if (wdID != MAXwordID && atok->ilabel == wdID) in checkpath_forward()
428 … else if (atokfna && atokfna->ilabel==MAXwordID && atokfna->olabel==MAXwordID && *transp==0) in checkpath_forward()
1170 if (wdID < 0 || wdID >= MAXwordID) in lookUpWord()
1198 else if (wdID >= upper_offset && wdID < MAXwordID) in lookUpWord()
1281 if (wordmap_find_index(semgraph->scripts, word) != MAXwordID) in accumulate_scripts()
DSemanticGraphImpl.c445 if (olabel == MAXwordID) /* not found so add to wordmap and get new index */ in SR_SemanticGraph_LoadFromTextFiles()
456 if (olabel == MAXwordID) /* not found so add to wordmap and get new index */ in SR_SemanticGraph_LoadFromTextFiles()
464 ilabel = MAXwordID; in SR_SemanticGraph_LoadFromTextFiles()
465 olabel = MAXwordID; in SR_SemanticGraph_LoadFromTextFiles()
671 !(atoken->ilabel == MAXwordID && atoken->olabel == MAXwordID)) in sr_semanticgraph_get_type()
1049 if (slotID == MAXwordID) in SR_SemanticGraph_AddWordToSlot()
1055 if (wdID == MAXwordID) in SR_SemanticGraph_AddWordToSlot()
1079 if (scriptID == MAXwordID) in SR_SemanticGraph_AddWordToSlot()
1081 if (scriptID == MAXwordID) in SR_SemanticGraph_AddWordToSlot()
1160 if (scriptID == MAXwordID) in SR_SemanticGraph_AddWordToSlot()
[all …]
/external/srec/srec/include/
Dsrec_sizes.h46 #define MAXwordID 65535 macro
/external/srec/tools/parseStringTest/
DparseStringTest.c145 wordIDs[0] = wordIDs[1] = MAXwordID; in Parse()
157 wordIDs[0] = MAXwordID; in Parse()
161 *wordIDptr++ = MAXwordID; in Parse()
168 if (wordIDs[0] == MAXwordID) in Parse()
/external/srec/srec/Grammar/src/
DSR_GrammarImpl.c698 if (wdids[nw] == MAXwordID) in SR_GrammarAllowOnly()
/external/srec/srec/Recognizer/src/
DRecognizerImpl.c2208 for (k = 0; wordIDs[k] != MAXwordID; ++k) in SR_RecognizerCreateResultImpl()