BaumWelch  baumwelch-0.3.8
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  TrainOptions
 

Functions

template<class Arc >
void AStarSingleShortestString (const Fst< Arc > &ifst, MutableFst< Arc > *ofst, float delta=kShortestDelta)
 
template<class Arc >
void Decode (FarReader< Arc > &input, FarReader< Arc > &output, const Fst< Arc > &model, FarWriter< Arc > &hypotext)
 
template<class Arc >
void Randomize (MutableFst< Arc > *fst, uint64_t seed=std::random_device()())
 
template<class Arc >
Arc::Weight Train (FarReader< Arc > &input, FarReader< Arc > &output, MutableFst< Arc > *model, bool normalize_ilabel=true, const TrainOptions &opts=TrainOptions())
 

Variables

constexpr float kAlpha = 1.
 
constexpr int kMaxIters = 50
 

Function Documentation

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

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

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

Definition at line 89 of file decode.h.

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

Definition at line 48 of file randomize.h.

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

Definition at line 330 of file train.h.

Variable Documentation

constexpr float fst::kAlpha = 1.

Definition at line 39 of file train.h.

constexpr int fst::kMaxIters = 50

Definition at line 40 of file train.h.