Searched refs:ilabels (Results 1 - 9 of 9) sorted by relevance

/external/srec/srec/Semproc/include/
H A DSR_SemanticGraph.h56 * @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);
H A DSR_SemanticGraphImpl.h54 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/
H A Dtest-properties.h119 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/
H A Dtest-properties.h115 std::unordered_set<Label> *ilabels = 0; local
127 ilabels = new std::unordered_set<Label>;
136 if (ilabels && ilabels->find(arc.ilabel) != ilabels->end()) {
181 if (ilabels)
182 ilabels->insert(arc.ilabel);
207 delete ilabels;
/external/srec/srec/Semproc/src/
H A DSemanticGraphImpl.c88 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) argument
138 rc = sr_semanticgraph_loadV2(impl, ilabels, fp);
167 ESR_ReturnCode sr_semanticgraph_loadV2(SR_SemanticGraphImpl* impl, wordmap* ilabels, PFile* fp) argument
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) argument
295 /* use the ilables that are provided externally (from recog graph ilabels) */
584 SR_SemanticGraph_Load(SR_SemanticGraph* self, wordmap* ilabels, const LCHAR* basename, int num_words_to_add) argument
[all...]
H A DSemanticProcessorImpl.c86 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
1116 sem_partial_path_print(sem_partial_path* path, sem_partial_path* paths, int npaths, wordmap* ilabels) argument
[all...]
/external/srec/tools/test_g2g/
H A Dtest_g2g.c195 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[
[all...]
/external/srec/srec/crec/
H A Dsrec_context.c184 rc = FST_LoadGraph(context, context->ilabels, context->olabels, num_words_to_add, fp);
216 FST_UnloadWordMap(&context->ilabels);
967 fst->ilabels = imap;
968 fst->hmm_ilabel_offset = wordmap_find_index(fst->ilabels, "hmm0");
973 fst->ilabels = (wordmap*)CALLOC_CLR(1, sizeof(wordmap), "srec.graph.imap");
974 fst->ilabels->num_words = fst->ilabels->max_words = 0;
975 fst->ilabels->words = 0;
1052 if (fst->ilabels->num_words == 0)
1061 atoken->ilabel = wordmap_find_index(fst->ilabels, ilabel_st
[all...]
/external/srec/srec/include/
H A Dsrec_context.h136 wordmap *ilabels; /* input arc labels */ member in struct:srec_context
153 asr_int16_t hmm_ilabel_offset; /* offset for ilabels to hmm */

Completed in 3032 milliseconds