34 const std::string &unknown_isymbol,
bool attach_new_isyms,
36 const std::string &unknown_osymbol,
bool attach_new_osyms) {
46 Apply<Operation<FstRelabelArgs1>>(
"Relabel", ofst->
ArcType(), &args);
50 const std::vector<std::pair<int64_t, int64_t>> &ipairs,
51 const std::vector<std::pair<int64_t, int64_t>> &opairs) {
53 Apply<Operation<FstRelabelArgs2>>(
"Relabel", ofst->
ArcType(), &args);
REGISTER_FST_OPERATION_3ARCS(Compress, CompressArgs)
const std::string & ArcType() const final
void Relabel(FstRelabelArgs1 *args)
std::tuple< MutableFstClass *, const SymbolTable *, const SymbolTable *, const std::string &, bool, const SymbolTable *, const SymbolTable *, const std::string &, bool > FstRelabelArgs1
std::tuple< MutableFstClass *, const std::vector< std::pair< int64_t, int64_t >> &, const std::vector< std::pair< int64_t, int64_t >> & > FstRelabelArgs2