Home | History | Annotate | Download | only in lib

Lines Matching full:fst1

41   COMPOSE_FST1_RHO    = 1ULL<<0,  // "Rest" symbol on the output side of fst1.
44 // side of fst1.
48 // fst1.
69 COMPOSE_FST1_STRING = 1ULL<<33, // fst1 is a string
71 COMPOSE_FST1_DET = 1ULL<<35, // fst1 is deterministic
105 ComposeFstImplBase(const Fst<A> &fst1,
108 :CacheImpl<A>(opts), fst1_(fst1.Copy()), fst2_(fst2.Copy()) {
110 uint64 props1 = fst1.Properties(kFstProperties, false);
114 if (!CompatSymbols(fst2.InputSymbols(), fst1.OutputSymbols()))
118 SetInputSymbols(fst1.InputSymbols());
213 StateId state_id1; // state Id on fst1
285 StateId state_id1; // state Id on fst1
337 FIND_OUTPUT = 2, // find output label on fst1
344 ComposeFstImpl(const Fst<A> &fst1,
347 :ComposeFstImplBase<A>(fst1, fst2, opts) {
349 bool osorted = fst1.Properties(kOLabelSorted, false);
357 osorted = fst1.Properties(kOLabelSorted, true);
373 osorted = fst1.Properties(kOLabelSorted, true);
652 // delayed Fst. If FST1 transduces string x to y with weight a and FST2
692 ComposeFst(const Fst<A> &fst1, const Fst<A> &fst2)
693 : impl_(Init(fst1, fst2, ComposeFstOptions<>())) { }
696 ComposeFst(const Fst<A> &fst1,
699 : impl_(Init(fst1, fst2, opts)) { }
762 // implementation that is appropriate for the properties of fst1 and
766 const Fst<A> &fst1,
778 uint64 props1 = fst1.Properties(sort_props_mask, true);
781 props1 |= fst1.Properties(opt_props_mask, false);
785 props1 |= fst1.Properties(kUnweighted, true);
794 return new ComposeFstImpl<A, T>(fst1, fst2, opts);
802 // Case 2: fst1 is a string, fst2 is deterministic and epsilon-free.
807 fst1, fst2, opts);
809 // Case 3: fst1 is deterministic and epsilon-free, fst2 is string.
814 fst1, fst2, opts);
818 return new ComposeFstImpl<A, T>(fst1, fst2, opts);
870 // the composed FST into a MurableFst. If FST1 transduces string x to