#include <iostream>
#include <ostream>
#include <string>
#include <vector>
#include <fst/float-weight.h>
#include <fst/fst.h>
#include <fst/matcher.h>
#include <fst/signed-log-weight.h>
#include <fst/weight.h>
#include <sfst/sfst.h>
Go to the source code of this file.
|
template<class Weight > |
void | sfst::NormWeights (std::vector< Weight > *weights) |
|
template<class Weight > |
bool | sfst::ApproxEqualWeights (const std::vector< Weight > &weights1, const std::vector< Weight > &weights2, float delta=fst::kDelta, Weight approx_zero=Weight::NoWeight()) |
|
template<class Weight > |
void | sfst::WriteWeights (std::ostream &strm, const std::vector< Weight > &weights) |
|
template<class Weight > |
bool | sfst::WriteWeights (const std::string &filename, const std::vector< Weight > &weights) |
|
template<class Arc > |
void | sfst::SumStateWeights (const fst::Fst< Arc > &fst, std::vector< typename Arc::Weight > *weights, typename Arc::Label phi_label, bool fail_arc) |
|
template<class Arc > |
void | sfst::DiffStateWeights (const fst::Fst< Arc > &fst, std::vector< typename Arc::Weight > *weights, typename Arc::Label phi_label, bool fail_arc) |
|
template<class Arc > |
void | sfst::SumStates (const fst::Fst< Arc > &fst, typename Arc::Label phi_label, std::vector< typename Arc::Weight > *weights) |
|