Home | History | Annotate | Download | only in lib

Lines Matching refs:FST1

93 // <code>fst1</code> and <code>fst2</code> are equivalent. The input
113 bool Equivalent(const Fst<Arc> &fst1, const Fst<Arc> &fst2) {
117 if (fst1.Properties(props, true) != props) {
126 if ((fst1.Properties(kUnweighted , true) != kUnweighted)
128 VectorFst<Arc> efst1(fst1);
144 enum { FST1 = 1, FST2 = 2 }; // Required by Util::MapState(...)
146 MappedId s1 = Util::MapState(fst1.Start(), FST1);
157 if (Util::IsFinal(fst1, s1) != Util::IsFinal(fst2, s2)) {
161 // fst1 and fst2: input labels mapped to pairs of MappedId's
162 // representing destination states of the corresponding arcs in fst1
191 ArcIterator<Fst<Arc> > arc_iter(fst1, Util::UnMapState(s1));
197 arc_pairs[arc.ilabel].first = Util::MapState(arc.nextstate, FST1);
220 if (Util::IsFinal(fst1, p.first) != Util::IsFinal(fst2, p.second)) {