BaumWelch  baumwelch-0.3.6
OpenGrm-BaumWelch library
Typedefs | Functions
fst::script Namespace Reference

Typedefs

using DecodeBaumWelchArgs = std::tuple< FarReaderClass *, FarReaderClass *, const FstClass &, FarWriterClass * >
 
using RandomizeBaumWelchArgs = std::tuple< MutableFstClass *, uint64 >
 
using TrainBaumWelchArgs = std::tuple< FarReaderClass *, FarReaderClass *, MutableFstClass *, bool, const TrainBaumWelchOptions & >
 

Functions

template<class Arc >
void DecodeBaumWelch (DecodeBaumWelchArgs *args)
 
void DecodeBaumWelch (FarReaderClass *input, FarReaderClass *output, const FstClass &model, FarWriterClass *hypotext)
 
template<class Arc >
void RandomizeBaumWelch (RandomizeBaumWelchArgs *args)
 
void RandomizeBaumWelch (MutableFstClass *fst, uint64 seed=std::random_device()())
 
template<class Arc >
void TrainBaumWelch (TrainBaumWelchArgs *args)
 
void TrainBaumWelch (FarReaderClass *input, FarReaderClass *output, MutableFstClass *model, bool normalize_ilabel=true, const TrainBaumWelchOptions &opts=TrainBaumWelchOptions())
 
 REGISTER_FST_OPERATION_3ARCS (DecodeBaumWelch, DecodeBaumWelchArgs)
 
 REGISTER_FST_OPERATION_3ARCS (RandomizeBaumWelch, RandomizeBaumWelchArgs)
 
 REGISTER_FST_OPERATION_3ARCS (TrainBaumWelch, TrainBaumWelchArgs)
 

Typedef Documentation

using fst::script::DecodeBaumWelchArgs = typedef std::tuple<FarReaderClass *, FarReaderClass *, const FstClass &, FarWriterClass *>

Definition at line 26 of file decodescript.h.

using fst::script::RandomizeBaumWelchArgs = typedef std::tuple<MutableFstClass *, uint64>

Definition at line 26 of file randomizescript.h.

using fst::script::TrainBaumWelchArgs = typedef std::tuple<FarReaderClass *, FarReaderClass *, MutableFstClass *, bool, const TrainBaumWelchOptions &>

Definition at line 27 of file trainscript.h.

Function Documentation

template<class Arc >
void fst::script::DecodeBaumWelch ( DecodeBaumWelchArgs args)

Definition at line 29 of file decodescript.h.

void fst::script::DecodeBaumWelch ( FarReaderClass *  input,
FarReaderClass *  output,
const FstClass &  model,
FarWriterClass *  hypotext 
)

Definition at line 22 of file decodescript.cc.

template<class Arc >
void fst::script::RandomizeBaumWelch ( RandomizeBaumWelchArgs args)

Definition at line 29 of file randomizescript.h.

void fst::script::RandomizeBaumWelch ( MutableFstClass *  fst,
uint64  seed = std::random_device()() 
)

Definition at line 22 of file randomizescript.cc.

fst::script::REGISTER_FST_OPERATION_3ARCS ( RandomizeBaumWelch  ,
RandomizeBaumWelchArgs   
)
fst::script::REGISTER_FST_OPERATION_3ARCS ( DecodeBaumWelch  ,
DecodeBaumWelchArgs   
)
fst::script::REGISTER_FST_OPERATION_3ARCS ( TrainBaumWelch  ,
TrainBaumWelchArgs   
)
template<class Arc >
void fst::script::TrainBaumWelch ( TrainBaumWelchArgs args)

Definition at line 30 of file trainscript.h.

void fst::script::TrainBaumWelch ( FarReaderClass *  input,
FarReaderClass *  output,
MutableFstClass *  model,
bool  normalize_ilabel = true,
const TrainBaumWelchOptions opts = TrainBaumWelchOptions() 
)

Definition at line 23 of file trainscript.cc.