Home
last modified time | relevance | path

Searched refs:MATCH_INPUT (Results 1 – 12 of 12) sorted by relevance

/external/openfst/src/include/fst/
Dcompose.h404 (match_type_ == MATCH_INPUT ? "input" : in ComposeFstImpl()
434 if (matcher2_->Type(true) != MATCH_INPUT) { in SetMatchType()
438 match_type_ = MATCH_INPUT; in SetMatchType()
440 type1 == MATCH_OUTPUT && type2 == MATCH_INPUT) { in SetMatchType()
444 } else if (flags2 & kPreferMatch && type2 == MATCH_INPUT) { in SetMatchType()
445 match_type_ = MATCH_INPUT; in SetMatchType()
446 } else if (type1 == MATCH_OUTPUT && type2 == MATCH_INPUT) { in SetMatchType()
450 } else if (type2 == MATCH_INPUT) { in SetMatchType()
451 match_type_ = MATCH_INPUT; in SetMatchType()
454 } else if (flags2 & kPreferMatch && matcher2_->Type(true) == MATCH_INPUT) { in SetMatchType()
[all …]
Dlookahead-filter.h44 else if (type2 == MATCH_INPUT && in LookAheadMatchType()
46 return MATCH_INPUT; in LookAheadMatchType()
51 m2.Type(true) == MATCH_INPUT) in LookAheadMatchType()
52 return MATCH_INPUT; in LookAheadMatchType()
63 LookAheadMatcher< Fst <Arc> > matcher2(fst2, MATCH_INPUT); in LookAheadMatchType()
124 class LookAheadSelector<M1, M2, MATCH_INPUT> {
132 LookAheadSelector(const LookAheadSelector<M1, M2, MATCH_INPUT> &selector) in LookAheadSelector()
149 void operator=(const LookAheadSelector<M1, M2, MATCH_INPUT> &); // disallow
285 else if (MT == MATCH_INPUT) in LookAheadOutput()
449 matcher2_(fst2_, MATCH_INPUT, in PushLabelsComposeFilter()
[all …]
Dmatcher.h160 case MATCH_INPUT:
198 uint64 true_prop = match_type_ == MATCH_INPUT ? in Type()
200 uint64 false_prop = match_type_ == MATCH_INPUT ? in Type()
267 match_type_ == MATCH_INPUT ? kArcILabelValue : kArcOLabelValue, in Done()
269 Label label = match_type_ == MATCH_INPUT ? in Done()
328 match_type_ == MATCH_INPUT ? kArcILabelValue : kArcOLabelValue, in Search()
337 Label label = match_type_ == MATCH_INPUT ? in Search()
347 label = match_type_ == MATCH_INPUT ? aiter_->Value().ilabel : in Search()
362 Label label = match_type_ == MATCH_INPUT ? in Search()
483 } else if (match_type_ == MATCH_INPUT) { in Value()
[all …]
Ddifference.h79 new R(cfst, MATCH_INPUT,
98 copts.matcher2 = new R(cfst, MATCH_INPUT, ComplementFst<A>::kRhoLabel, in DifferenceFst()
Dcompose-filter.h223 matcher2_(matcher2 ? matcher2 : new M2(fst2, MATCH_INPUT)),
308 matcher2_(matcher2 ? matcher2 : new M2(fst2, MATCH_INPUT)),
394 matcher2_(matcher2 ? matcher2 : new M2(fst2, MATCH_INPUT)),
Dmatcher-fst.h154 return match_type == MATCH_INPUT ? data->First() : data->Second(); in GetData()
159 M imatcher(fst, MATCH_INPUT); in CreateImpl()
Dlookahead-matcher.h373 case MATCH_INPUT: in LookAheadFst()
449 bool reach_input = match_type == MATCH_INPUT; in matcher_()
Dreplace.h995 ((match_type == MATCH_INPUT && Properties(kILabelSorted, false)) || in InitMatcher()
1299 uint64 true_prop = match_type_ == MATCH_INPUT ? in Type()
1301 uint64 false_prop = match_type_ == MATCH_INPUT ? in Type()
Dfst.h148 enum MatchType { MATCH_INPUT, // Match input label. enumerator
/external/openfst/src/include/fst/extensions/pdt/
Dcompose.h55 if (match_type == MATCH_INPUT) { in matcher_()
250 Label label = match_type_ == MATCH_INPUT ? in NextOpenParen()
265 Label label = match_type_ == MATCH_INPUT ? in NextCloseParen()
437 matcher2 = new PdtMatcher(ifst2, MATCH_INPUT, kParenLoop);
466 matcher2 = new PdtMatcher(ifst2, MATCH_INPUT, kParenList);
/external/openfst/src/include/fst/script/
Dinfo-impl.h164 LookAheadMatcher< Fst<A> > imatcher(fst, MATCH_INPUT);
292 << (fstinfo.InputMatchType() == MATCH_INPUT ? 'y' :
/external/openfst/src/test/
Dfst_test.h68 Matcher<G> matcher(fst, MATCH_INPUT); in TestBase()
85 if (match_type == MATCH_INPUT) { in TestBase()