/external/srec/srec/Semproc/include/ |
SR_SemanticGraph.h | 56 * @param ilabels Input word labels to be used when building the graph (The should be the same as 62 ESR_ReturnCode(*load)(struct SR_SemanticGraph_t* self, wordmap* ilabels, const LCHAR* basename, int num_words_to_add);
|
SR_SemanticGraphImpl.h | 54 wordmap* ilabels; member in struct:SR_SemanticGraphImpl_t 126 SREC_SEMPROC_API ESR_ReturnCode SR_SemanticGraph_Load(SR_SemanticGraph* self, wordmap* ilabels, const LCHAR* basename, int num_words_to_add);
|
/external/openfst/src/include/fst/ |
test-properties.h | 119 unordered_set<Label> *ilabels = 0; local 131 ilabels = new unordered_set<Label>; 141 if (ilabels && ilabels->find(arc.ilabel) != ilabels->end()) { 189 if (ilabels) 190 ilabels->insert(arc.ilabel); 215 delete ilabels;
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
test-properties.h | 117 hash_set<Label> *ilabels = 0; local 129 ilabels = new hash_set<Label>; 138 if (ilabels && ilabels->find(arc.ilabel) != ilabels->end()) { 183 if (ilabels) 184 ilabels->insert(arc.ilabel); 209 delete ilabels;
|
/external/srec/srec/Semproc/src/ |
SemanticGraphImpl.c | 88 ESR_ReturnCode sr_semanticgraph_loadV2(SR_SemanticGraphImpl* impl, wordmap* ilabels, PFile* fp); 92 ESR_ReturnCode SR_SemanticGraph_LoadFromImage(SR_SemanticGraph* self, wordmap* ilabels, const LCHAR* g2g) 138 rc = sr_semanticgraph_loadV2(impl, ilabels, fp); 167 ESR_ReturnCode sr_semanticgraph_loadV2(SR_SemanticGraphImpl* impl, wordmap* ilabels, PFile* fp) 224 /* use the ilabels provided externally (from recog graph ilabels) */ 225 impl->ilabels = ilabels; 266 ESR_ReturnCode SR_SemanticGraph_LoadFromTextFiles(SR_SemanticGraph* self, wordmap* ilabels, const LCHAR* basename, int num_words_to_add) 295 /* use the ilables that are provided externally (from recog graph ilabels) */ [all...] |
SemanticProcessorImpl.c | 86 static void sem_partial_path_print(sem_partial_path* path, sem_partial_path* paths, int npaths, wordmap* ilabels); 268 atok->ilabel, atok->ilabel!=MAXwordID?semgraph->ilabels->words[atok->ilabel]:"max", atok->olabel); 273 if (atok->ilabel < semgraph->ilabels->num_slots && atok->ilabel != WORD_EPSILON_LABEL && 274 wordmap_whether_in_rule(semgraph->ilabels, *currentWord, atok->ilabel)) 307 atok->ilabel, semgraph->ilabels->words[atok->ilabel], atok->olabel); 322 sem_partial_path_print(pp_branch, &sem_partial_paths[0], MAX_SEM_PARTIAL_PATHS, semgraph->ilabels); 349 atok->ilabel, semgraph->ilabels->words[atok->ilabel], atok->olabel); 375 atok->ilabel, atok->ilabel!=MAXwordID?semgraph->ilabels->words[atok->ilabel]:"max", atok->olabel); 380 wdID = wordmap_find_index(semgraph->ilabels, firstWord(transp)); 382 if (atok->ilabel < semgraph->ilabels->num_slots && atok->ilabel != WORD_EPSILON_LABEL & [all...] |
/external/srec/tools/test_g2g/ |
test_g2g.c | 195 modelID ilabels[128], num_ilabels; local 287 ilabels[num_ilabels++] = ilabels_preceding[num_ilabels_preceding-1-j]; 289 ilabels[num_ilabels++] = ilabels_following[j]; 290 if(ilabels[num_ilabels-1] == WORD_BOUNDARY) 293 if(ilabels[j]<fst->hmm_ilabel_offset) { 297 ilabels[j] = ilabels[j] - (labelID)fst->hmm_ilabel_offset; 301 pfprintf(PSTDOUT, " %d", ilabels[j]); 308 rc = find_phonemes_for_ihmms( ca_arbdata, ilabels, num_ilabels); 312 if(p4pTable[ ilabels[j]]<0) [all...] |
/external/srec/srec/crec/ |
srec_context.c | 183 rc = FST_LoadGraph(context, context->ilabels, context->olabels, num_words_to_add, fp); 215 FST_UnloadWordMap(&context->ilabels); 966 fst->ilabels = imap; 967 fst->hmm_ilabel_offset = wordmap_find_index(fst->ilabels, "hmm0"); 972 fst->ilabels = (wordmap*)CALLOC_CLR(1, sizeof(wordmap), "srec.graph.imap"); 973 fst->ilabels->num_words = fst->ilabels->max_words = 0; 974 fst->ilabels->words = 0; [all...] |
/external/srec/srec/include/ |
srec_context.h | 136 wordmap *ilabels; /* input arc labels */ member in struct:srec_context 153 asr_int16_t hmm_ilabel_offset; /* offset for ilabels to hmm */
|