Home
last modified time | relevance | path

Searched refs:opairs (Results 1 – 5 of 5) sorted by relevance

/external/openfst/src/include/fst/
Drelabel.h57 const vector<pair<typename A::Label, typename A::Label> >& opairs) { in Relabel()
70 for (size_t i = 0; i < opairs.size(); ++i) { in Relabel()
71 output_map[opairs[i].first] = opairs[i].second; in Relabel()
157 vector<pair<Label, Label> > opairs; in Relabel() local
164 opairs.push_back(make_pair(osymbol_val, new_osymbol_val)); in Relabel()
171 Relabel(fst, ipairs, opairs); in Relabel()
214 const vector<pair<Label, Label> >& opairs, in RelabelFstImpl()
231 if (opairs.size() > 0) { in RelabelFstImpl()
232 for (size_t i = 0; i < opairs.size(); ++i) { in RelabelFstImpl()
233 output_map_[opairs[i].first] = opairs[i].second; in RelabelFstImpl()
[all …]
/external/openfst/src/bin/
Dfstrelabel.cc101 vector<pair<Label, Label> > opairs; in main() local
108 if (!fst::ReadLabelPairs(FLAGS_relabel_opairs, &opairs, in main()
112 s::Relabel(fst, ipairs, opairs); in main()
Dfstsymbols.cc106 vector<pair<Label, Label> > opairs; in main() local
107 fst::ReadLabelPairs(FLAGS_relabel_opairs, &opairs, in main()
109 SymbolTable *osyms = RelabelSymbolTable(fst->OutputSymbols(), opairs); in main()
/external/openfst/src/script/
Drelabel.cc38 const vector<pair<int64, int64> > &opairs) { in Relabel()
39 RelabelArgs2 args(ofst, ipairs, opairs); in Relabel()
/external/openfst/src/include/fst/script/
Drelabel.h90 const vector<pair<int64, int64> > &opairs);