Searched refs:olabels (Results 1 - 13 of 13) sorted by relevance

/external/openfst/src/include/fst/
H A Dtest-properties.h120 unordered_set<Label> *olabels = 0; local
133 olabels = new unordered_set<Label>;
144 if (olabels && olabels->find(arc.olabel) != olabels->end()) {
187 if (olabels)
188 olabels->insert(arc.olabel);
212 delete olabels;
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dtest-properties.h118 hash_set<Label> *olabels = 0; local
131 olabels = new hash_set<Label>;
142 if (olabels && olabels->find(arc.olabel) != olabels->end()) {
185 if (olabels)
186 olabels->insert(arc.olabel);
210 delete olabels;
/external/srec/srec/crec/
H A Dsrec_debug.c60 if (ftoken->word < rec->context->olabels->num_words)
61 p = rec->context->olabels->words[ftoken->word];
111 if (wordids[i] < context->olabels->num_words) p = context->olabels->words[wordids[i]];
H A Dtext_parser.c79 wdID = wordmap_find_index(context->olabels, copy_of_word);
164 wordID k, wdid = wordmap_find_index(context->olabels, p);
166 for (k = 1; k < context->olabels->num_slots; k++)
168 wdid = wordmap_find_index_in_rule(context->olabels, p, k);
H A Dword_lattice.c123 if (wtoken->word < rec->context->olabels->num_words)
124 p = rec->context->olabels->words[wtoken->word];
160 if (wtoken->word < rec->context->olabels->num_words)
161 p = rec->context->olabels->words[wtoken->word];
258 if (wtoken->word < rec->context->olabels->num_words)
259 w = rec->context->olabels->words[wtoken->word];
315 if (wtoken->word < rec->context->olabels->num_words)
316 p = rec->context->olabels->words[wtoken->word];
H A Dsrec_context.c150 if (context->olabels == NULL) return 0;
151 if (context->olabels->num_words < 2) return 0;
152 if (strstr(context->olabels->words[1], "enroll")) return 1;
176 rc = FST_LoadWordMap(&context->olabels, num_words_to_add, fp);
183 rc = FST_LoadGraph(context, context->ilabels, context->olabels, num_words_to_add, fp);
216 FST_UnloadWordMap(&context->olabels);
962 fst->olabels = omap;
1062 atoken->olabel = wordmap_find_index(fst->olabels, olabel_str);
1072 atoken->olabel_str = (atoken->olabel < fst->olabels->num_words ? fst->olabels
[all...]
H A Dsrec_results.c201 return rec->context->olabels->words[choice];
307 if (rec->context->olabels->words[wtoken->word])
308 p = rec->context->olabels->words[wtoken->word];
H A Dastar.c74 wordmap* wmap = context->olabels;
175 wordmap* wmap = context->olabels;
957 if (rec->context->olabels->words[wtoken->word])
958 p = rec->context->olabels->words[wtoken->word];
1020 (arc && arc != (arc_token*)1) ? rec->context->olabels->words[arc->ilabel] : "NULL",
/external/srec/tools/test_g2g/
H A Dtest_g2g.c227 fst->olabels->num_words, fst->olabels->max_words,
228 fst->olabels->next_chars-fst->olabels->chars,
229 fst->olabels->max_chars,
240 if(wordid >= fst->olabels->num_words) {
242 fst->olabels->num_words, wordid);
299 pfprintf(PSTDOUT, "%s (W%d) ihmms ", fst->olabels->words[wordid], wordid);
325 pfprintf(PSTDOUT, "%s ", fst->olabels->words[wordid]);
328 rc = Parse( grammar, fst->olabels
[all...]
/external/srec/srec/include/
H A Dsrec_context.h137 wordmap *olabels; /* word labels */ member in struct:srec_context
/external/srec/srec/ca/
H A Dsyn_srec.c159 result = FST_DumpWordMap(fp, hSyntax->synx->olabels);
/external/srec/tools/parseStringTest/
H A DparseStringTest.c119 wmap = pgrammar->syntax->synx->olabels;
144 wmap = pgrammar->syntax->synx->olabels;
/external/srec/srec/Grammar/src/
H A DSR_GrammarImpl.c437 rc = impl->semgraph->load(impl->semgraph, impl->syntax->synx->olabels, filename, addWords);
697 wdids[nw] = wordmap_find_index(fst->olabels, word);

Completed in 265 milliseconds