BaumWelch  baumwelch-0.3.8
OpenGrm-BaumWelch library
Classes | Namespaces | Functions | Variables
train.h File Reference
#include <cmath>
#include <cstdint>
#include <vector>
#include <fst/log.h>
#include <fst/extensions/far/far.h>
#include <fst/arcfilter.h>
#include <fst/compose.h>
#include <fst/fst.h>
#include <fst/mutable-fst.h>
#include <fst/queue.h>
#include <fst/shortest-distance.h>
#include <fst/weight.h>
#include <baumwelch/cascade.h>
#include <baumwelch/expectation-table.h>
#include <baumwelch/log-adder.h>
#include <baumwelch/util.h>
Include dependency graph for train.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fst::TrainOptions
 
class  fst::internal::ForwardBackward< Arc >
 
class  fst::internal::StepwiseBaumWelchTrainer< Arc, ExpectationTable >
 

Namespaces

 fst
 
 fst::internal
 

Functions

template<class Arc , class ExpectationTable >
Arc::Weight fst::internal::Train (FarReader< Arc > &input, FarReader< Arc > &output, MutableFst< Arc > *model, const TrainOptions &opts=TrainOptions())
 
template<class Arc >
Arc::Weight fst::Train (FarReader< Arc > &input, FarReader< Arc > &output, MutableFst< Arc > *model, bool normalize_ilabel=true, const TrainOptions &opts=TrainOptions())
 

Variables

constexpr float fst::kAlpha = 1.
 
constexpr int fst::kMaxIters = 50