BaumWelch  baumwelch-0.3.6
OpenGrm-BaumWelch library
Namespaces | Classes | Functions | Variables
fst Namespace Reference

Namespaces

 internal
 
 script
 

Classes

struct  CascadeOptions
 
class  ChannelStateCascade
 
class  LogAdder
 
class  SimpleCascade
 
class  StateExpectationTable
 
class  StateILabelExpectationTable
 
struct  TrainBaumWelchOptions
 

Functions

template<class Arc >
void AStarSingleShortestPath (const Fst< Arc > &ifst, MutableFst< Arc > *ofst, float delta=kShortestDelta)
 
template<class Arc >
void DecodeBaumWelch (FarReader< Arc > *input, FarReader< Arc > *output, const Fst< Arc > &model, FarWriter< Arc > *hypotext)
 
template<class Arc >
void RandomizeBaumWelch (MutableFst< Arc > *fst, uint64 seed=std::random_device()())
 
template<class Arc >
Arc::Weight TrainBaumWelch (FarReader< Arc > *input, FarReader< Arc > *output, MutableFst< Arc > *model, bool normalize_ilabel=true, const TrainBaumWelchOptions &opts=TrainBaumWelchOptions())
 

Variables

constexpr float kLr = 1.
 
constexpr int kMaxIters = 50
 

Function Documentation

template<class Arc >
void fst::AStarSingleShortestPath ( const Fst< Arc > &  ifst,
MutableFst< Arc > *  ofst,
float  delta = kShortestDelta 
)

Definition at line 39 of file a-star.h.

template<class Arc >
void fst::DecodeBaumWelch ( FarReader< Arc > *  input,
FarReader< Arc > *  output,
const Fst< Arc > &  model,
FarWriter< Arc > *  hypotext 
)

Definition at line 88 of file decode.h.

template<class Arc >
void fst::RandomizeBaumWelch ( MutableFst< Arc > *  fst,
uint64  seed = std::random_device()() 
)

Definition at line 46 of file randomize.h.

template<class Arc >
Arc::Weight fst::TrainBaumWelch ( FarReader< Arc > *  input,
FarReader< Arc > *  output,
MutableFst< Arc > *  model,
bool  normalize_ilabel = true,
const TrainBaumWelchOptions opts = TrainBaumWelchOptions() 
)

Definition at line 286 of file train.h.

Variable Documentation

constexpr float fst::kLr = 1.

Definition at line 36 of file train.h.

constexpr int fst::kMaxIters = 50

Definition at line 37 of file train.h.