Lines Matching refs:fst_pairs
66 ReplaceUtil(const vector<MutableFstPair> &fst_pairs,
70 ReplaceUtil(const vector<FstPair> &fst_pairs,
129 void GetFstPairs(vector<FstPair> *fst_pairs);
193 const vector<MutableFstPair> &fst_pairs,
202 for (Label i = 0; i < fst_pairs.size(); ++i) {
203 Label label = fst_pairs[i].first;
204 MutableFst<Arc> *fst = fst_pairs[i].second;
217 const vector<FstPair> &fst_pairs,
225 for (Label i = 0; i < fst_pairs.size(); ++i) {
226 Label label = fst_pairs[i].first;
227 const Fst<Arc> *fst = fst_pairs[i].second;
457 vector<FstPair> fst_pairs;
464 fst_pairs.push_back(make_pair(label, fst));
466 if (fst_pairs.empty())
470 fst_pairs.push_back(make_pair(label, fst));
472 Replace(fst_pairs, mutable_fst_array_[s], label, epsilon_on_replace_);
522 void ReplaceUtil<Arc>::GetFstPairs(vector<FstPair> *fst_pairs) {
524 fst_pairs->clear();
530 fst_pairs->push_back(make_pair(label, fst));