Lines Matching refs:ifst
130 void StateMap(const Fst<A> &ifst, MutableFst<B> *ofst, C* mapper) {
137 ofst->SetInputSymbols(ifst.InputSymbols());
142 ofst->SetOutputSymbols(ifst.OutputSymbols());
146 uint64 iprops = ifst.Properties(kCopyProperties, false);
148 if (ifst.Start() == kNoStateId) {
154 if (ifst.Properties(kExpanded, false))
155 ofst->ReserveStates(CountStates(ifst));
156 for (StateIterator< Fst<A> > siter(ifst); !siter.Done(); siter.Next())
161 for (StateIterator< Fst<A> > siter(ifst); !siter.Done(); siter.Next()) {
177 void StateMap(const Fst<A> &ifst, MutableFst<B> *ofst, C mapper) {
178 StateMap(ifst, ofst, &mapper);