20 #ifndef KALDI_HMM_TREE_ACCU_H_ 21 #define KALDI_HMM_TREE_ACCU_H_ 44 central_position(1) { }
48 opts->
Register(
"var-floor", &var_floor,
"Variance floor for tree " 50 opts->
Register(
"ci-phones", &ci_phones_str,
"Colon-separated list of " 51 "integer indices of context-independent phones (after " 52 "mapping, if --phone-map option is used).");
53 opts->
Register(
"context-width", &context_width,
"Context window size.");
54 opts->
Register(
"central-position", ¢ral_position,
"Central " 55 "context-window position (zero-based)");
56 opts->
Register(
"phone-map", &phone_map_rxfilename,
57 "File name containing old->new phone mapping (each line is: " 58 "old-integer-id new-integer-id)");
79 const std::vector<int32> &alignment,
81 std::map<EventType, GaussClusterable*> *stats);
93 std::vector<int32> *phone_map);
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
void Register(OptionsItf *opts)
std::vector< int32 > phone_map
void AccumulateTreeStats(const TransitionModel &trans_model, const AccumulateTreeStatsInfo &info, const std::vector< int32 > &alignment, const Matrix< BaseFloat > &features, std::map< EventType, GaussClusterable *> *stats)
Accumulates the stats needed for training context-dependency trees (in the "normal" way)...
virtual void Register(const std::string &name, bool *ptr, const std::string &doc)=0
void ReadPhoneMap(std::string phone_map_rxfilename, std::vector< int32 > *phone_map)
bool collapse_pdf_classes
std::string ci_phones_str
std::vector< int32 > ci_phones
AccumulateTreeStatsOptions()
std::string phone_map_rxfilename