Searched refs:olabels (Results 1 - 14 of 14) 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>;
145 if (olabels && olabels->find(arc.olabel) != olabels->end()) {
191 if (olabels)
192 olabels->insert(arc.olabel);
216 delete olabels;
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dtest-properties.h116 std::unordered_set<Label> *olabels = 0; local
129 olabels = new std::unordered_set<Label>;
140 if (olabels && olabels->find(arc.olabel) != olabels->end()) {
183 if (olabels)
184 olabels->insert(arc.olabel);
208 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.c151 if (context->olabels == NULL) return 0;
152 if (context->olabels->num_words < 2) return 0;
153 if (strstr(context->olabels->words[1], "enroll")) return 1;
177 rc = FST_LoadWordMap(&context->olabels, num_words_to_add, fp);
184 rc = FST_LoadGraph(context, context->ilabels, context->olabels, num_words_to_add, fp);
217 FST_UnloadWordMap(&context->olabels);
963 fst->olabels = omap;
1063 atoken->olabel = wordmap_find_index(fst->olabels, olabel_str);
1073 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/smack/src/org/xbill/DNS/
H A DZone.java333 int olabels;
344 olabels = origin.labels();
346 for (tlabels = olabels; tlabels <= labels; tlabels++) {
347 boolean isOrigin = (tlabels == olabels);
406 for (int i = 0; i < labels - olabels; i++) {
/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 6187 milliseconds