/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
relabel.h | 45 const vector<pair<typename A::Label, typename A::Label> >& opairs) { 58 for (size_t i = 0; i < opairs.size(); ++i) { 59 output_map[opairs[i].first] = opairs[i].second; 118 vector<pair<Label, Label> > opairs; local 122 opairs.push_back(make_pair(syms_iter.Value(), 129 Relabel(fst, ipairs, opairs); 166 const vector<pair<Label, Label> >& opairs, 183 if (opairs.size() > 0) { 184 for (size_t i = 0; i < opairs.size(); ++i) [all...] |
/external/openfst/src/include/fst/ |
relabel.h | 51 // \param opairs vector of output label pairs indicating old to new mapping 57 const vector<pair<typename A::Label, typename A::Label> >& opairs) { 70 for (size_t i = 0; i < opairs.size(); ++i) { 71 output_map[opairs[i].first] = opairs[i].second; 157 vector<pair<Label, Label> > opairs; local 164 opairs.push_back(make_pair(osymbol_val, new_osymbol_val)); 171 Relabel(fst, ipairs, opairs); 214 const vector<pair<Label, Label> >& opairs, 231 if (opairs.size() > 0) [all...] |
/external/openfst/src/bin/ |
fstrelabel.cc | 59 usage += " -relabel_opairs opairs.txts\n"; 101 vector<pair<Label, Label> > opairs; local 108 if (!fst::ReadLabelPairs(FLAGS_relabel_opairs, &opairs, 112 s::Relabel(fst, ipairs, opairs);
|
fstsymbols.cc | 106 vector<pair<Label, Label> > opairs; local 107 fst::ReadLabelPairs(FLAGS_relabel_opairs, &opairs, 109 SymbolTable *osyms = RelabelSymbolTable(fst->OutputSymbols(), opairs);
|
/external/openfst/src/script/ |
relabel.cc | 38 const vector<pair<int64, int64> > &opairs) { 39 RelabelArgs2 args(ofst, ipairs, opairs);
|
/external/openfst/src/include/fst/script/ |
relabel.h | 90 const vector<pair<int64, int64> > &opairs);
|