FST  openfst-1.7.2
OpenFst Library
Namespaces | Typedefs | Enumerations | Functions
map.h File Reference
#include <memory>
#include <tuple>
#include <fst/arc-map.h>
#include <fst/state-map.h>
#include <fst/script/arg-packs.h>
#include <fst/script/fst-class.h>
#include <fst/script/weight-class.h>
Include dependency graph for map.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::MapInnerArgs = std::tuple< const FstClass &, MapType, float, double, const WeightClass & >
 
using fst::script::MapArgs = WithReturnValue< FstClass *, MapInnerArgs >
 

Enumerations

enum  fst::script::MapType {
  fst::script::ARC_SUM_MAPPER, fst::script::ARC_UNIQUE_MAPPER, fst::script::IDENTITY_MAPPER, fst::script::INPUT_EPSILON_MAPPER,
  fst::script::INVERT_MAPPER, fst::script::OUTPUT_EPSILON_MAPPER, fst::script::PLUS_MAPPER, fst::script::POWER_MAPPER,
  fst::script::QUANTIZE_MAPPER, fst::script::RMWEIGHT_MAPPER, fst::script::SUPERFINAL_MAPPER, fst::script::TIMES_MAPPER,
  fst::script::TO_LOG_MAPPER, fst::script::TO_LOG64_MAPPER, fst::script::TO_STD_MAPPER
}
 

Functions

template<class M >
Fst< typename M::ToArc > * fst::script::ArcMap (const Fst< typename M::FromArc > &fst, const M &mapper)
 
template<class M >
Fst< typename M::ToArc > * fst::script::StateMap (const Fst< typename M::FromArc > &fst, const M &mapper)
 
template<class Arc >
void fst::script::Map (MapArgs *args)
 
FstClass * fst::script::Map (const FstClass &ifst, MapType map_type, float delta, double power, const WeightClass &weight)