HomeSort by relevance Sort by last modified time
    Searched refs:ilabel (Results 1 - 25 of 46) sorted by null

1 2

  /external/srec/tools/thirdparty/OpenFst/fst/lib/
arcfilter.h 37 return arc.ilabel == 0 && arc.olabel == 0;
arc.h 36 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
45 Label ilabel; // Transition input label member in struct:fst::StdArc
60 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
69 Label ilabel; // Transition input label member in struct:fst::LogArc
85 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
98 Label ilabel; // Transition input label member in class:fst::StringArc
117 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
120 : ilabel(arc.ilabel), olabel(arc.ilabel),
132 Label ilabel; \/\/ Transition input label member in struct:fst::GallicArc
157 Label ilabel; \/\/ Transition input label member in struct:fst::ReverseArc
    [all...]
arcsum.h 31 if (x.ilabel < y.ilabel) return true;
32 if (x.ilabel > y.ilabel) return false;
46 return (x.ilabel == y.ilabel &&
equal.h 72 if (arc1.ilabel != arc2.ilabel) {
76 << ", ilabel1 = " << arc1.ilabel
77 << ", ilabel2 = " << arc2.ilabel;
test-properties.h 136 if (ilabels && ilabels->find(arc.ilabel) != ilabels->end()) {
144 if (arc.ilabel != arc.olabel) {
148 if (arc.ilabel == 0 && arc.olabel == 0) {
152 if (arc.ilabel == 0) {
160 if (prev_arc.ilabel != kNoLabel && arc.ilabel < prev_arc.ilabel) {
182 ilabels->insert(arc.ilabel);
map.h 108 CHECK(final_arc.ilabel == 0 && final_arc.olabel == 0);
115 if (final_arc.ilabel != 0 || final_arc.olabel != 0) {
133 if (final_arc.ilabel != 0 || final_arc.olabel != 0 ||
135 fst->AddArc(s, A(final_arc.ilabel, final_arc.olabel,
191 CHECK(final_arc.ilabel == 0 && final_arc.olabel == 0);
197 if (final_arc.ilabel != 0 || final_arc.olabel != 0) {
213 if (final_arc.ilabel != 0 || final_arc.olabel != 0 ||
215 ofst->AddArc(s, B(final_arc.ilabel, final_arc.olabel,
308 CHECK(final_arc.ilabel == 0 && final_arc.olabel == 0);
318 if (final_arc.ilabel == 0 && final_arc.olabel == 0
    [all...]
encode.h 50 : ilabel(ilabel_), olabel(olabel_), weight(weight_) {}
52 : ilabel(tuple.ilabel), olabel(tuple.olabel), weight(tuple.weight) {}
54 Label ilabel; member in struct:fst::EncodeTable::Tuple
63 return (x->ilabel == y->ilabel &&
84 int lshift = x->ilabel % kPrime;
86 size_t hash = x->ilabel << lshift;
110 const Tuple tuple(arc.ilabel,
135 WriteType(strm, tuple->ilabel);
    [all...]
verify.h 62 if (arc.ilabel < 0) {
66 } else if (isyms && isyms->Find(arc.ilabel) == "") {
67 LOG(ERROR) << "Verify: Fst input label ID " << arc.ilabel
invert.h 32 return A(arc.olabel, arc.ilabel, arc.weight, arc.nextstate);
compose.h 432 arc.ilabel = arcb.ilabel;
438 arc.ilabel = arca.ilabel;
483 Label match_labela = find_input ? arca.ilabel : arca.olabel;
494 Label labelb = find_input ? arcb.olabel : arcb.ilabel;
508 Label match_labelb = find_input ? arcb.olabel : arcb.ilabel;
513 Label match_labela = find_input ? arca.ilabel : arca.olabel;
524 Label labela = find_input ? arca.ilabel : arca.olabel;
549 labela = find_input ? arca.ilabel : arca.olabel
    [all...]
vector-fst.h 102 if (arcs[i].ilabel == 0)
234 if (arc.ilabel != arc.olabel) {
238 if (arc.ilabel == 0) {
254 if (parc.ilabel > arc.ilabel) {
294 if (arcs[j].ilabel == 0)
341 if (arc.ilabel == 0)
372 ReadType(strm, &arc.ilabel);
381 if (arc.ilabel == 0)
436 WriteType(strm, arc.ilabel);
    [all...]
project.h 39 ? arc.ilabel : arc.olabel;
reverse.h 68 RevArc oarc(iarc.ilabel, iarc.olabel, iarc.weight.Reverse(), os);
rmfinalepsilon.h 74 if (arc.ilabel == 0 && arc.olabel == 0) {
minimize.h 84 if (arc1.ilabel < arc2.ilabel) return true;
85 if (arc1.ilabel > arc2.ilabel) return false;
153 return (xarc.ilabel > yarc.ilabel);
242 Label from_label = arc.ilabel;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
parse.py 116 ilabel = self.classify(type, value, context)
125 if ilabel == i:
145 if ilabel in itsfirst:
167 ilabel = self.grammar.keywords.get(value)
168 if ilabel is not None:
169 return ilabel
170 ilabel = self.grammar.tokens.get(type)
171 if ilabel is None:
173 return ilabel
pgen.py 56 ilabel = self.make_label(c, label)
57 ##assert ilabel not in first # XXX failed on <> ... !=
58 first[ilabel] = 1
63 ilabel = len(c.labels)
72 c.symbol2label[label] = ilabel
73 return ilabel
83 c.tokens[itoken] = ilabel
84 return ilabel
95 c.keywords[value] = ilabel
96 return ilabel
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
parse.py 116 ilabel = self.classify(type, value, context)
125 if ilabel == i:
145 if ilabel in itsfirst:
167 ilabel = self.grammar.keywords.get(value)
168 if ilabel is not None:
169 return ilabel
170 ilabel = self.grammar.tokens.get(type)
171 if ilabel is None:
173 return ilabel
pgen.py 56 ilabel = self.make_label(c, label)
57 ##assert ilabel not in first # XXX failed on <> ... !=
58 first[ilabel] = 1
63 ilabel = len(c.labels)
72 c.symbol2label[label] = ilabel
73 return ilabel
83 c.tokens[itoken] = ilabel
84 return ilabel
95 c.keywords[value] = ilabel
96 return ilabel
    [all...]
  /external/srec/srec/crec/
astar.c 86 root_arc.ilabel = root_arc.olabel = 0;
95 if (atoken->ilabel == word)
97 else if (atoken->ilabel == WORD_EPSILON_LABEL)
101 if (tmp->ilabel == word)
104 else if (atoken->ilabel < wmap->num_slots)
106 if (wordmap_whether_in_rule(wmap, word, atoken->ilabel))
118 else if (tmp->first_next_arc == ARC_TOKEN_NULL && (tmp->ilabel == MAXwordID || tmp->ilabel == terminal_word))
126 if (tmp->ilabel == MAXwordID && tmp->first_next_arc == ARC_TOKEN_NULL)
141 if (tmp->ilabel == WORD_EPSILON_LABEL && tmp->next_token_index == ARC_TOKEN_NULL
    [all...]
srec_context.c 67 #define IS_SILENCE_ILABEL(ilabel,context) (ilabel >= context->hmm_ilabel_offset+EPSILON_OFFSET && ilabel<context->hmm_ilabel_offset+EPSILON_OFFSET+NUM_SILENCE_HMMS)
244 if(context->FSMarc_list[i].ilabel == WORD_BOUNDARY)
300 char* hmm_name(modelID ilabel, modelID hmm_ilabel_offset, char* buf)
302 if (ilabel == EPSILON_LABEL)
304 else if (ilabel == WORD_BOUNDARY)
306 else if (ilabel == PHONE_BOUNDARY)
309 sprintf(buf, "hmm%03d", ilabel - hmm_ilabel_offset);
1146 char *ilabel, *olabel; local
    [all...]
  /external/srec/srec/Semproc/src/
SemanticGraphImpl.c 278 wordID ilabel = 0; local
429 ilabel = wordmap_find_index(ilabels, iword);
464 ilabel = MAXwordID;
478 atoken->ilabel = ilabel;
648 if (atoken->ilabel != WORD_EPSILON_LABEL)
659 if (atoken->ilabel != expected_ilabel)
670 if (atoken->ilabel != WORD_EPSILON_LABEL &&
671 !(atoken->ilabel == MAXwordID && atoken->olabel == MAXwordID))
732 if (atok->ilabel == i) break
    [all...]
  /external/srec/tools/grxmlcompile/
grxmlcompile.cpp 367 if( arc.ilabel >= max_ilabels ||
368 (float)arc.ilabel + ((float)max_ilabels)*arc.olabel > INT_MAX) {
372 arc.ilabel = arc.ilabel + max_ilabels * arc.olabel;
387 if( aiter.Value().ilabel > max_ilabel)
388 max_ilabel = aiter.Value().ilabel;
407 arc.olabel = arc.ilabel / max_ilabels;
408 arc.ilabel = arc.ilabel - arc.olabel*max_ilabels;
430 if(arc.ilabel == from_ilabel)
    [all...]
fst-io.h 117 PrintILabel(arc.ilabel);
138 const SymbolTable *isyms_; // ilabel symbol table
250 arc.ilabel = StrToILabel(col[2]);
251 arc.olabel = arc.ilabel;
257 arc.ilabel = StrToILabel(col[2]);
259 arc.olabel = arc.ilabel;
269 arc.ilabel = StrToILabel(col[2]);
332 return StrToId(s, isyms_, "arc ilabel");
354 const SymbolTable *isyms_; // ilabel symbol table
  /external/srec/srec/include/
astar.h 62 wordID ilabel; /* input label */ member in struct:arc_token_t

Completed in 2634 milliseconds

1 2