15 #ifndef NLP_GRM2_BAUMWELCH_RANDOMIZESCRIPT_H_ 16 #define NLP_GRM2_BAUMWELCH_RANDOMIZESCRIPT_H_ 22 #include <fst/mutable-fst.h> 23 #include <fst/script/fst-class.h> 33 MutableFst<Arc> *model = std::get<0>(*args)->GetMutableFst<Arc>();
37 void Randomize(MutableFstClass *
fst, uint64_t seed = std::random_device()());
42 #endif // NLP_GRM2_BAUMWELCH_RANDOMIZESCRIPT_H_
std::tuple< MutableFstClass *, uint64_t > BaumWelchRandomizeArgs
void Randomize(BaumWelchRandomizeArgs *args)