File Reference
#include "util/kaldi-io.h"
#include "hmm/tree-accu.h"
#include "hmm/hmm-utils.h"
Include dependency graph for

Go to the source code of this file.


 This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for mispronunciations detection tasks, the reference:


static int32 MapPhone (const std::vector< int32 > &phone_map, int32 phone)
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). More...
void ReadPhoneMap (std::string phone_map_rxfilename, std::vector< int32 > *phone_map)