Lines Matching refs:FST
19 // Compose a PDT and an FST.
26 #include <fst/extensions/pdt/pdt.h>
27 #include <fst/compose.h>
29 namespace fst {
44 typedef typename M::FST FST;
50 ParenMatcher(const FST &fst, MatchType match_type,
52 : matcher_(fst, match_type),
99 const FST &GetFst() const { return matcher_.GetFst(); }
408 bool expand_; // Expands to FST
420 ParenMatcher< Fst<Arc> >,
422 ParenMatcher< Fst<Arc> > > > > {
425 typedef ParenMatcher< Fst<Arc> > PdtMatcher;
432 PdtComposeFstOptions(const Fst<Arc> &ifst1,
434 const Fst<Arc> &ifst2, bool expand = false,
444 // Class to setup composition options for PDT with FST composition.
445 // Specialization is for the FST as the first composition argument.
449 ParenMatcher< Fst<Arc> >,
451 ParenMatcher< Fst<Arc> > > > > {
454 typedef ParenMatcher< Fst<Arc> > PdtMatcher;
461 PdtComposeFstOptions(const Fst<Arc> &ifst1,
462 const Fst<Arc> &ifst2,
488 // Composes pushdown transducer (PDT) encoded as an FST (1st arg) and
489 // an FST (2nd arg) with the result also a PDT encoded as an Fst. (3rd arg).
495 void Compose(const Fst<Arc> &ifst1,
498 const Fst<Arc> &ifst2,
511 // Composes an FST (1st arg) and pushdown transducer (PDT) encoded as
512 // an FST (2nd arg) with the result also a PDT encoded as an Fst (3rd arg).
518 void Compose(const Fst<Arc> &ifst1,
519 const Fst<Arc> &ifst2,
534 } // namespace fst