Home
last modified time | relevance | path

Searched refs:olabel (Results 1 – 25 of 49) sorted by relevance

12

/external/openfst/src/include/fst/
Darc.h51 : ilabel(i), olabel(o), weight(w), nextstate(s) {} in ArcTpl()
62 Label olabel; variable
84 : ilabel(i), olabel(o), weight(w), nextstate(s) {} in StringArc()
98 Label olabel; // Transition output label variable
116 : ilabel(i), olabel(o), weight(w), nextstate(s) {} in GallicArc()
119 : ilabel(arc.ilabel), olabel(arc.ilabel), in GallicArc()
120 weight(arc.olabel, arc.weight), nextstate(arc.nextstate) {} in GallicArc()
132 Label olabel; // Transition output label member
147 : ilabel(i), olabel(o), weight(w), nextstate(s) {} in ReverseArc()
157 Label olabel; // Transition output label member
[all …]
Dtest-properties.h145 if (olabels && olabels->find(arc.olabel) != olabels->end()) { in ComputeProperties()
149 if (arc.ilabel != arc.olabel) { in ComputeProperties()
153 if (arc.ilabel == 0 && arc.olabel == 0) { in ComputeProperties()
161 if (arc.olabel == 0) { in ComputeProperties()
170 if (arc.olabel < prev_arc.olabel) { in ComputeProperties()
192 olabels->insert(arc.olabel); in ComputeProperties()
Darc-map.h145 if (final_arc.ilabel != 0 || final_arc.olabel != 0) { in ArcMap()
156 if (final_arc.ilabel != 0 || final_arc.olabel != 0) { in ArcMap()
174 if (final_arc.ilabel != 0 || final_arc.olabel != 0 || in ArcMap()
176 fst->AddArc(s, A(final_arc.ilabel, final_arc.olabel, in ArcMap()
251 if (final_arc.ilabel != 0 || final_arc.olabel != 0) { in ArcMap()
260 if (final_arc.ilabel != 0 || final_arc.olabel != 0) { in ArcMap()
276 if (final_arc.ilabel != 0 || final_arc.olabel != 0 || in ArcMap()
278 ofst->AddArc(s, B(final_arc.ilabel, final_arc.olabel, in ArcMap()
382 if (final_arc.ilabel != 0 || final_arc.olabel != 0) { in Final()
395 if (final_arc.ilabel == 0 && final_arc.olabel == 0) in Final()
[all …]
Dencode.h65 : ilabel(ilabel_), olabel(olabel_), weight(weight_) {} in Tuple()
67 : ilabel(tuple.ilabel), olabel(tuple.olabel), weight(tuple.weight) {} in Tuple()
70 Label olabel; member
79 x->olabel == y->olabel && in operator()
102 hash = hash << lshift ^ hash >> rshift ^ x->olabel; in operator()
133 flags_ & kEncodeLabels ? arc.olabel : 0, in Encode()
148 flags_ & kEncodeLabels ? arc.olabel : 0, in GetLabel()
226 WriteType(strm, tuple->olabel); in Write()
266 ReadType(strm, &tuple->olabel); in Read()
429 flags_ & kEncodeLabels ? label : arc.olabel, in operator()
[all …]
Dequal.h82 } else if (arc1.olabel != arc2.olabel) {
86 << ", olabel1 = " << arc1.olabel
87 << ", olabel2 = " << arc2.olabel;
Darcfilter.h44 return arc.ilabel == 0 && arc.olabel == 0; in operator()
64 return arc.olabel == 0; in operator()
82 Label label = match_input_ ? arc.ilabel : arc.olabel; in operator()
Dstate-map.h499 if (x.olabel < y.olabel) return true; in operator()
500 if (x.olabel > y.olabel) return false; in operator()
510 x.olabel == y.olabel && in operator()
574 if (x.olabel < y.olabel) return true; in operator()
575 if (x.olabel > y.olabel) return false; in operator()
585 x.olabel == y.olabel && in operator()
Dmatcher.h164 swap(loop_.ilabel, loop_.olabel);
270 aiter_->Value().ilabel : aiter_->Value().olabel; in Done()
338 aiter_->Value().ilabel : aiter_->Value().olabel; in Search()
348 aiter_->Value().olabel; in Search()
363 aiter_->Value().ilabel : aiter_->Value().olabel; in Search()
481 if (rho_arc_.olabel == rho_label_) in Value()
482 rho_arc_.olabel = rho_match_; in Value()
486 rho_arc_.olabel = rho_match_; in Value()
659 if (sigma_arc_.olabel == sigma_label_) in Value()
660 sigma_arc_.olabel = sigma_match_; in Value()
[all …]
Dverify.h75 } else if (!allow_negative_labels && arc.olabel < 0) {
79 } else if (osyms && osyms->Find(arc.olabel) == "") {
80 LOG(ERROR) << "Verify: Fst output label ID " << arc.olabel
Dcompose-filter.h259 if (arc1->olabel == kNoLabel) in FilterArc()
265 return arc1->olabel == 0 ? FilterState::NoState() : FilterState(0); in FilterArc()
347 else if (arc1->olabel == kNoLabel) in FilterArc()
350 return arc1->olabel == 0 ? FilterState::NoState() : FilterState(0); in FilterArc()
442 else if (arc1->olabel == kNoLabel) // Epsilon on Fst2 in FilterArc()
447 else if (arc1->olabel == 0) // Epsilon on both in FilterArc()
513 if (arc1->olabel == kNoLabel) in FilterArc()
516 arc2->olabel = arc1->olabel; in FilterArc()
Dvector-fst.h110 if (arcs[i].olabel == 0) in DeleteStates()
235 if (arc.olabel == 0) { in AddArc()
262 if (arcs[j].olabel == 0) in DeleteArcs()
316 if (arc.olabel == 0) in VectorFstImpl()
355 ReadType(strm, &arc.olabel); in Read()
366 if (arc.olabel == 0) in Read()
559 WriteType(strm, arc.olabel); in WriteFst()
649 if (oarc.ilabel != oarc.olabel) in SetValue()
654 if (oarc.olabel == 0) in SetValue()
657 if (oarc.olabel == 0) { in SetValue()
[all …]
Dcache.h234 if (arc.olabel == 0) { in AddArc()
268 if (arc.olabel == 0) in SetArcs()
293 if (arcs[j].olabel == 0) in DeleteArcs()
791 if (oarc.ilabel != oarc.olabel) in SetValue()
796 if (oarc.olabel == 0) in SetValue()
799 if (oarc.olabel == 0) { in SetValue()
806 if (arc.ilabel != arc.olabel) { in SetValue()
814 if (arc.olabel == 0) { in SetValue()
819 if (arc.olabel == 0) { in SetValue()
Drmepsilon.h101 Label olabel; member
107 : ilabel(i), olabel(o), nextstate(s) {} in Element()
115 e.olabel * kPrime1); in operator()
124 return (e1.ilabel == e2.ilabel) && (e1.olabel == e2.olabel) in operator()
189 Element element(arc.ilabel, arc.olabel, arc.nextstate); in Expand()
247 if (aiter.Value().ilabel != 0 || aiter.Value().olabel != 0) in RmEpsilon()
Dlabel-reachable.h222 arc.olabel = Relabel(arc.olabel); in Relabel()
328 Label label = aiter_input ? arc.ilabel : arc.olabel; in Reach()
421 Label label = data_->ReachInput() ? arc.ilabel : arc.olabel; in TransformFst()
520 aiter->Value().ilabel : aiter->Value().olabel; in LowerBound()
529 label = aiter_input ? aiter->Value().ilabel : aiter->Value().olabel; in LowerBound()
Dproperties.h413 if (arc.ilabel != arc.olabel) { in AddArcProperties()
420 if (arc.olabel == 0) { in AddArcProperties()
425 if (arc.olabel == 0) { in AddArcProperties()
434 if (prev_arc->olabel > arc.olabel) { in AddArcProperties()
Dlookahead-filter.h296 Label &labela = LookAheadOutput() ? arca->olabel : arca->ilabel; in LookAheadFilterArc()
549 Label &labela = LookAheadOutput() ? arca->olabel : arca->ilabel; in PushedLabelFilterArc()
550 const Label &labelb = LookAheadOutput() ? arcb->ilabel : arcb->olabel; in PushedLabelFilterArc()
573 Label &labela = LookAheadOutput() ? arca->olabel : arca->ilabel; in PushLabelFilterArc()
574 const Label &labelb = LookAheadOutput() ? arcb->olabel : arcb->ilabel; in PushLabelFilterArc()
585 labela = LookAheadOutput() ? larc.ilabel : larc.olabel; in PushLabelFilterArc()
587 arcb->olabel = larc.olabel; // thus pushing the label. in PushLabelFilterArc()
Dreplace.h572 IsNonTerminal(aiter.Value().olabel)); in NumInputEpsilons()
601 ((aiter.Value().olabel == 0) || in NumOutputEpsilons()
602 IsNonTerminal(aiter.Value().olabel)); in NumOutputEpsilons()
701 arcp->olabel = 0;
728 if (arc.olabel == 0) { // expand local fst
733 *arcp = A(arc.ilabel, arc.olabel, arc.weight, nextstate);
737 nonterminal_hash_.find(arc.olabel);
762 *arcp = A(arc.ilabel, arc.olabel, arc.weight, nextstate);
1250 swap(loop_.ilabel, loop_.olabel); in ReplaceFstMatcher()
1262 swap(loop_.ilabel, loop_.olabel);
Drelabel.h96 it = output_map.find(arc.olabel); in Relabel()
99 FSTERROR() << "Output symbol id " << arc.olabel in Relabel()
104 arc.olabel = it->second; in Relabel()
357 output_map_.find(arc.olabel); in Expand()
358 if (it != output_map_.end()) { arc.olabel = it->second; } in Expand()
Dsynchronize.h247 if (!Empty(e.istring, arc.ilabel) && !Empty(e.ostring, arc.olabel)) { in Expand()
249 const String *ostring = Cdr(e.ostring, arc.olabel); in Expand()
252 Car(e.ostring, arc.olabel), arc.weight, d)); in Expand()
255 const String *ostring = Concat(e.ostring, arc.olabel); in Expand()
Darcsort.h194 return arc1.olabel < arc2.olabel; in operator()
Dsymbol-table-ops.h47 aiter.Value().olabel; in PruneSymbolTable()
/external/openfst/src/include/fst/extensions/pdt/
Dcompose.h57 loop_.olabel = 0; in matcher_()
60 loop_.olabel = kNoLabel; in matcher_()
251 matcher_.Value().ilabel : matcher_.Value().olabel; in NextOpenParen()
266 matcher_.Value().ilabel : matcher_.Value().olabel; in NextCloseParen()
358 if (arc1->olabel == kNoLabel && arc2->ilabel) { // arc2 parentheses in FilterArc()
362 arc2->olabel = arc1->ilabel; in FilterArc()
365 } else if (arc2->ilabel == kNoLabel && arc1->olabel) { // arc1 parentheses in FilterArc()
367 arc2->olabel = arc1->olabel; in FilterArc()
369 arc1->ilabel = arc2->olabel; in FilterArc()
371 return FilterParen(arc1->olabel, f1, f2); in FilterArc()
Dreplace.h109 if (max_label == kNoLabel || arc.olabel > max_label) in Replace()
110 max_label = arc.olabel; in Replace()
112 label2id.find(arc.olabel); in Replace()
117 size_t count = non_term_map[arc.olabel]++; in Replace()
119 non_term_queue.push_back(arc.olabel); in Replace()
155 label2id.find(arc.olabel); in Replace()
/external/openfst/src/include/fst/script/
Dcompile-impl.h98 arc.olabel = arc.ilabel;
106 arc.olabel = arc.ilabel;
109 arc.olabel = StrToOLabel(col[3]);
117 arc.olabel = StrToOLabel(col[3]);
/external/openfst/src/test/
Dfst_test.cc38 ilabel(i), olabel(o), weight(w), nextstate(s) {} in CustomArc()
47 Label olabel; // Transition output label member

12