FST  openfst-1.7.2
OpenFst Library
Namespaces | Typedefs | Functions
relabel.h File Reference
#include <algorithm>
#include <tuple>
#include <utility>
#include <vector>
#include <fst/relabel.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::RelabelArgs1 = std::tuple< MutableFstClass *, const SymbolTable *, const SymbolTable *, const string &, bool, const SymbolTable *, const SymbolTable *, const string &, bool >
 
using fst::script::LabelPair = std::pair< int64, int64 >
 
using fst::script::RelabelArgs2 = std::tuple< MutableFstClass *, const std::vector< LabelPair > &, const std::vector< LabelPair > & >
 

Functions

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