Lines Matching refs:fst1

40   COMPOSE_FST1_RHO    = 1ULL<<0,  // "Rest" symbol on the output side of fst1.
43 // side of fst1.
47 // fst1.
68 COMPOSE_FST1_STRING = 1ULL<<33, // fst1 is a string
70 COMPOSE_FST1_DET = 1ULL<<35, // fst1 is deterministic
104 ComposeFstImplBase(const Fst<A> &fst1,
107 :CacheImpl<A>(opts), fst1_(fst1.Copy()), fst2_(fst2.Copy()) {
109 uint64 props1 = fst1.Properties(kFstProperties, false);
113 if (!CompatSymbols(fst2.InputSymbols(), fst1.OutputSymbols()))
117 SetInputSymbols(fst1.InputSymbols());
212 StateId state_id1; // state Id on fst1
282 StateId state_id1; // state Id on fst1
334 FIND_OUTPUT = 2, // find output label on fst1
341 ComposeFstImpl(const Fst<A> &fst1,
344 :ComposeFstImplBase<A>(fst1, fst2, opts) {
346 bool osorted = fst1.Properties(kOLabelSorted, false);
354 osorted = fst1.Properties(kOLabelSorted, true);
370 osorted = fst1.Properties(kOLabelSorted, true);
689 ComposeFst(const Fst<A> &fst1, const Fst<A> &fst2)
690 : impl_(Init(fst1, fst2, ComposeFstOptions<>())) { }
693 ComposeFst(const Fst<A> &fst1,
696 : impl_(Init(fst1, fst2, opts)) { }
759 // implementation that is appropriate for the properties of fst1 and
763 const Fst<A> &fst1,
775 uint64 props1 = fst1.Properties(sort_props_mask, true);
778 props1 |= fst1.Properties(opt_props_mask, false);
782 props1 |= fst1.Properties(kUnweighted, true);
791 return new ComposeFstImpl<A, T>(fst1, fst2, opts);
799 // Case 2: fst1 is a string, fst2 is deterministic and epsilon-free.
804 fst1, fst2, opts);
806 // Case 3: fst1 is deterministic and epsilon-free, fst2 is string.
811 fst1, fst2, opts);
815 return new ComposeFstImpl<A, T>(fst1, fst2, opts);