FST  openfst-1.8.3
OpenFst Library
Namespaces | Typedefs | Functions
relabel.h File Reference
#include <algorithm>
#include <cstdint>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include <fst/mutable-fst.h>
#include <fst/relabel.h>
#include <fst/symbol-table.h>
#include <fst/script/fst-class.h>
Include dependency graph for relabel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 fst
 
 fst::script
 

Typedefs

using fst::script::FstRelabelArgs1 = std::tuple< MutableFstClass *, const SymbolTable *, const SymbolTable *, const std::string &, bool, const SymbolTable *, const SymbolTable *, const std::string &, bool >
 
using fst::script::FstRelabelArgs2 = std::tuple< MutableFstClass *, const std::vector< std::pair< int64_t, int64_t >> &, const std::vector< std::pair< int64_t, int64_t >> & >
 

Functions

template<class Arc >
void fst::script::Relabel (FstRelabelArgs1 *args)
 
template<class Arc >
void fst::script::Relabel (FstRelabelArgs2 *args)
 
void fst::script::Relabel (MutableFstClass *ofst, const SymbolTable *old_isymbols, const SymbolTable *new_isymbols, const std::string &unknown_isymbol, bool attach_new_isymbols, const SymbolTable *old_osymbols, const SymbolTable *new_osymbols, const std::string &unknown_osymbol, bool attach_new_osymbols)
 
void fst::script::Relabel (MutableFstClass *ofst, const std::vector< std::pair< int64_t, int64_t >> &ipairs, const std::vector< std::pair< int64_t, int64_t >> &opairs)