templated Mapper that modifies weights when copying from one FST to another, passing through the other values of the arc. This mapper is to be combined with any functor that accepts FromArc::Weight as a unique parameter for operator () and returns ToArc::Weight. The functor itself implements the mapping details.
More...
#include <fstutils.mapper.hpp>
template<class FromArc, class ToArc, class WeightMakerFunctorT>
class fst::GenericWeightMapper< FromArc, ToArc, WeightMakerFunctorT >
templated Mapper that modifies weights when copying from one FST to another, passing through the other values of the arc. This mapper is to be combined with any functor that accepts FromArc::Weight as a unique parameter for operator () and returns ToArc::Weight. The functor itself implements the mapping details.
Definition at line 69 of file fstutils.mapper.hpp.
template<class FromArc , class ToArc , class WeightMakerFunctorT >
template<class FromArc , class ToArc , class WeightMakerFunctorT >
template<class FromArc , class ToArc , class WeightMakerFunctorT >
template<class FromArc , class ToArc , class WeightMakerFunctorT >
template<class FromArc , class ToArc , class WeightMakerFunctorT >
template<class FromArc , class ToArc , class WeightMakerFunctorT >
The documentation for this class was generated from the following file: