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

1 2 3

  /external/openfst/src/include/fst/
arcfilter.h 44 return arc.ilabel == 0 && arc.olabel == 0;
54 return arc.ilabel == 0;
82 Label label = match_input_ ? arc.ilabel : arc.olabel;
arc.h 51 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
61 Label ilabel; member in class:fst::ArcTpl
84 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
97 Label ilabel; // Transition input label member in class:fst::StringArc
116 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
119 : ilabel(arc.ilabel), olabel(arc.ilabel),
131 Label ilabel; // Transition input label member in struct:fst::GallicArc
147 : ilabel(i), olabel(o), weight(w), nextstate(s) {
156 Label ilabel; \/\/ Transition input label member in struct:fst::ReverseArc
180 Label ilabel; \/\/ Transition input label member in struct:fst::LexicographicArc
204 Label ilabel; \/\/ Transition input label member in struct:fst::ProductArc
236 Label ilabel; \/\/ Transition input label member in struct:fst::PowerArc
268 Label ilabel; \/\/ Transition input label member in struct:fst::SparsePowerArc
299 Label ilabel; \/\/ Transition input label member in struct:fst::ExpectationArc
    [all...]
equal.h 75 if (arc1.ilabel != arc2.ilabel) {
79 << ", ilabel1 = " << arc1.ilabel
80 << ", ilabel2 = " << arc2.ilabel;
test-properties.h 141 if (ilabels && ilabels->find(arc.ilabel) != ilabels->end()) {
149 if (arc.ilabel != arc.olabel) {
153 if (arc.ilabel == 0 && arc.olabel == 0) {
157 if (arc.ilabel == 0) {
166 if (arc.ilabel < prev_arc.ilabel) {
190 ilabels->insert(arc.ilabel);
verify.h 65 if (!allow_negative_labels && arc.ilabel < 0) {
69 } else if (isyms && isyms->Find(arc.ilabel) == "") {
70 LOG(ERROR) << "Verify: Fst input label ID " << arc.ilabel
arc-map.h 145 if (final_arc.ilabel != 0 || final_arc.olabel != 0) {
156 if (final_arc.ilabel != 0 || final_arc.olabel != 0) {
174 if (final_arc.ilabel != 0 || final_arc.olabel != 0 ||
176 fst->AddArc(s, A(final_arc.ilabel, final_arc.olabel,
251 if (final_arc.ilabel != 0 || final_arc.olabel != 0) {
260 if (final_arc.ilabel != 0 || final_arc.olabel != 0) {
276 if (final_arc.ilabel != 0 || final_arc.olabel != 0 ||
278 ofst->AddArc(s, B(final_arc.ilabel, final_arc.olabel,
382 if (final_arc.ilabel != 0 || final_arc.olabel != 0) {
395 if (final_arc.ilabel == 0 && final_arc.olabel == 0
    [all...]
encode.h 65 : ilabel(ilabel_), olabel(olabel_), weight(weight_) {}
67 : ilabel(tuple.ilabel), olabel(tuple.olabel), weight(tuple.weight) {}
69 Label ilabel; member in struct:fst::EncodeTable::Tuple
78 return (x->ilabel == y->ilabel &&
98 size_t hash = x->ilabel;
132 const Tuple tuple(arc.ilabel,
147 const Tuple tuple(arc.ilabel,
211 SymbolTable *isymbols_; // Pre-encoded ilabel symbol tabl
    [all...]
state-map.h 497 if (x.ilabel < y.ilabel) return true;
498 if (x.ilabel > y.ilabel) return false;
509 return (x.ilabel == y.ilabel &&
572 if (x.ilabel < y.ilabel) return true;
573 if (x.ilabel > y.ilabel) return false
    [all...]
matcher.h 164 swap(loop_.ilabel, loop_.olabel);
270 aiter_->Value().ilabel : aiter_->Value().olabel;
338 aiter_->Value().ilabel : aiter_->Value().olabel;
347 label = match_type_ == MATCH_INPUT ? aiter_->Value().ilabel :
363 aiter_->Value().ilabel : aiter_->Value().olabel;
479 if (rho_arc_.ilabel == rho_label_)
480 rho_arc_.ilabel = rho_match_;
484 rho_arc_.ilabel = rho_match_;
657 if (sigma_arc_.ilabel == sigma_label_)
658 sigma_arc_.ilabel = sigma_match_
    [all...]
symbol-table-ops.h 46 typename Arc::Label sym = (input) ? aiter.Value().ilabel :
reverse.h 77 RevArc oarc(iarc.ilabel, iarc.olabel, iarc.weight.Reverse(), os);
vector-fst.h 108 if (arcs[i].ilabel == 0)
232 if (arc.ilabel == 0) {
260 if (arcs[j].ilabel == 0)
314 if (arc.ilabel == 0)
354 ReadType(strm, &arc.ilabel);
364 if (arc.ilabel == 0)
558 WriteType(strm, arc.ilabel);
649 if (oarc.ilabel != oarc.olabel)
651 if (oarc.ilabel == 0) {
664 if (arc.ilabel != arc.olabel)
    [all...]
minimize.h 91 if (arc1.ilabel < arc2.ilabel) return true;
92 if (arc1.ilabel > arc2.ilabel) return false;
166 return (xarc.ilabel > yarc.ilabel);
255 Label from_label = arc.ilabel;
rmepsilon.h 100 Label ilabel; member in struct:fst::RmEpsilonState::Element
107 : ilabel(i), olabel(o), nextstate(s) {}
114 e.ilabel * kPrime0 +
124 return (e1.ilabel == e2.ilabel) && (e1.olabel == e2.olabel)
189 Element element(arc.ilabel, arc.olabel, arc.nextstate);
247 if (aiter.Value().ilabel != 0 || aiter.Value().olabel != 0)
compact-fst.h 55 // i.e. ilabel = olabel = kNoLabel and nextstate = kNoStateId.
295 if (arc.ilabel != kNoLabel)
314 if (compactor.Expand(i, *it).ilabel != kNoLabel)
327 if (arc.ilabel != kNoLabel) {
343 if (arc.ilabel != kNoLabel) {
557 return arc.ilabel == kNoLabel ? arc.weight : Weight::Zero();
578 if (arc.ilabel == kNoStateId) {
611 (output_epsilons ? arc.olabel : arc.ilabel);
685 if (arc.ilabel == kNoLabel)
    [all...]
compose-filter.h 262 else if (arc2->ilabel == kNoLabel)
344 if (arc2->ilabel == kNoLabel)
437 if (arc2->ilabel == kNoLabel) // Epsilon on Fst1
514 arc1->ilabel = arc2->ilabel;
515 if (arc2->ilabel == kNoLabel)
label-reachable.h 220 arc.ilabel = Relabel(arc.ilabel);
320 // Set arc iterator flags to only compute the ilabel or olabel values,
328 Label label = aiter_input ? arc.ilabel : arc.olabel;
344 // Only ilabel or olabel required to process the following
421 Label label = data_->ReachInput() ? arc.ilabel : arc.olabel;
510 // Only need to compute the ilabel or olabel of arcs when
520 aiter->Value().ilabel : aiter->Value().olabel;
529 label = aiter_input ? aiter->Value().ilabel : aiter->Value().olabel;
  /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/openfst/src/test/
fst_test.h 81 CHECK_EQ(arc.ilabel, na);
86 CHECK(matcher.Find(arc.ilabel));
87 CHECK_EQ(matcher.Value().ilabel, arc.ilabel);
98 CHECK_EQ(matcher.Value().ilabel, kNoLabel); // implicit epsilon loop
138 arc.ilabel = 0;
141 CHECK_EQ(arc.ilabel, 0);
143 arc.ilabel = na;
307 // (1) ilabel = i
fst_test.cc 38 ilabel(i), olabel(o), weight(w), nextstate(s) {}
46 Label ilabel; // Transition input label member in struct:fst::CustomArc
64 return make_pair(arc.ilabel, arc.weight);
  /external/openfst/src/include/fst/script/
compile-impl.h 97 arc.ilabel = StrToILabel(col[2]);
98 arc.olabel = arc.ilabel;
104 arc.ilabel = StrToILabel(col[2]);
106 arc.olabel = arc.ilabel;
116 arc.ilabel = StrToILabel(col[2]);
180 return StrToId(s, isyms_, "arc ilabel", allow_negative_labels_);
203 const SymbolTable *isyms_; // ilabel symbol table
  /external/openfst/src/include/fst/extensions/pdt/
compose.h 56 loop_.ilabel = kNoLabel;
59 loop_.ilabel = 0;
251 matcher_.Value().ilabel : matcher_.Value().olabel;
266 matcher_.Value().ilabel : matcher_.Value().olabel;
358 if (arc1->olabel == kNoLabel && arc2->ilabel) { // arc2 parentheses
360 arc1->ilabel = arc2->ilabel;
361 } else if (arc2->ilabel) {
362 arc2->olabel = arc1->ilabel;
364 return FilterParen(arc2->ilabel, f1, f2)
    [all...]

Completed in 926 milliseconds

1 2 3