Home
last modified time | relevance | path

Searched refs:wdID (Results 1 – 4 of 4) sorted by relevance

/external/srec/srec/Semproc/src/
DSemanticProcessorImpl.c363 wordID wdID; in checkpath_forward() local
380 wdID = wordmap_find_index(semgraph->ilabels, firstWord(transp)); in checkpath_forward()
383 wordmap_whether_in_rule(semgraph->ilabels, wdID, atok->ilabel)) in checkpath_forward()
386 …se = arc_tokens_find_ilabel(semgraph->arc_token_list, semgraph->arcs_for_slot[atok->ilabel], wdID); in checkpath_forward()
390 PLogError(L("ESR_INVALID_STATE: finding wdid %d in slot %d"), wdID, atok->ilabel); in checkpath_forward()
399 wdID = wordmap_find_index(semgraph->ilabels, firstWord(transp)); in checkpath_forward()
402 else if (wdID != MAXwordID && atok->ilabel == wdID) in checkpath_forward()
405 wdID = wordmap_find_index(semgraph->ilabels, firstWord(transp)); in checkpath_forward()
1165 int wdID = wdid; in lookUpWord() local
1170 if (wdID < 0 || wdID >= MAXwordID) in lookUpWord()
[all …]
DSemanticGraphImpl.c1026 wordID wdID, scriptID, old_scriptID; in SR_SemanticGraph_AddWordToSlot() local
1054 wdID = wordmap_find_index_in_rule(impl->ilabels, word, slotID); in SR_SemanticGraph_AddWordToSlot()
1055 if (wdID == MAXwordID) in SR_SemanticGraph_AddWordToSlot()
1071 token = arc_tokens_find_ilabel(impl->arc_token_list, impl->arcs_for_slot[slotID], wdID); in SR_SemanticGraph_AddWordToSlot()
1138 tmp->ilabel = wdID; in SR_SemanticGraph_AddWordToSlot()
/external/srec/srec/crec/
Dtext_parser.c39 wordID wdID; in check_word_path() local
79 wdID = wordmap_find_index(context->olabels, copy_of_word); in check_word_path()
81 if (wdID < MAXwordID) in check_word_path()
83 next_atok = get_arc_for_word(atok, wdID, context, context->beg_silence_word); in check_word_path()
Dsrec_context.c593 wordID wdID; in wordmap_populate() local
596 wdID = 0; in wordmap_populate()
600 while ( ( wdID < num_words ) && ( populate_status == ESR_SUCCESS ) ) in wordmap_populate()
602 populate_status = PHashTablePutValue ( word_map->wordIDForWord, word_map->words[wdID], in wordmap_populate()
603 (const void *)(int)wdID, NULL ); in wordmap_populate()
605 wdID++; in wordmap_populate()
676 wordID wdID =0; in wordmap_add_word() local
755 wdID = (wordID)(wmap->num_words - (wordID)1); in wordmap_add_word()
758 ESR_ReturnCode rc = PHashTablePutValue ( wmap->wordIDForWord, wmap->words[wdID], in wordmap_add_word()
759 (const void *)(int)wdID, NULL ); in wordmap_add_word()
[all …]