Home | History | Annotate | Download | only in fst

Lines Matching refs:FST

19 // Classes to allow matching labels leaving FST states.
27 #include <fst/mutable-fst.h> // for all internal FST accessors
30 namespace fst {
33 // FST states. In the simplest form, these are just some associative
42 // typedef F FST;
49 // Matcher(const F &fst, MatchType type);
50 // // If safe=true, the copy is thread-safe. See Fst<>::Copy()
54 // // If safe=true, the copy is thread-safe. See Fst<>::Copy()
59 // // compatibility of the input FST). It is either
64 // // computation (e.g., visiting the Fst).
81 // // Return matcher FST.
83 // // This specifies the known Fst properties as viewed from this
84 // // matcher. It takes as argument the input Fst's known properties.
102 // InitMatcher Fst method.
120 virtual const Fst<A> &GetFst() const = 0;
140 typedef F FST;
148 SortedMatcher(const F &fst, MatchType match_type,
150 : fst_(fst.Copy()),
397 typedef typename M::FST FST;
403 RhoMatcher(const FST &fst,
408 : matcher_(matcher ? matcher : new M(fst, match_type)),
424 rewrite_both_ = fst.Properties(kAcceptor, true);
494 virtual const FST &GetFst() const { return matcher_->GetFst(); }
571 typedef typename M::FST FST;
577 SigmaMatcher(const FST &fst,
582 : matcher_(matcher ? matcher : new M(fst, match_type)),
598 rewrite_both_ = fst.Properties(kAcceptor, true);
679 virtual const FST &GetFst() const { return matcher_->GetFst(); }
760 typedef typename M::FST FST;
766 PhiMatcher(const FST &fst,
772 : matcher_(matcher ? matcher : new M(fst, match_type)),
785 rewrite_both_ = fst.Properties(kAcceptor, true);
850 virtual const FST &GetFst() const { return matcher_->GetFst(); }
992 typedef typename M::FST FST;
998 MultiEpsMatcher(const FST &fst, MatchType match_type,
1001 : matcher_(matcher ? matcher : new M(fst, match_type)),
1070 const FST &GetFst() const { return matcher_->GetFst(); }
1147 // Generic matcher, templated on the FST definition
1150 // Matcher<StdFst> matcher(fst, MATCH_INPUT);
1160 typedef F FST;
1166 Matcher(const F &fst, MatchType match_type) {
1167 base_ = fst.InitMatcher(match_type);
1169 base_ = new SortedMatcher<F>(fst, match_type);
1201 } // namespace fst