tree-accu.h File Reference
#include <cctype>
#include <limits>
#include "base/kaldi-common.h"
#include "hmm/transition-model.h"
#include "tree/clusterable-classes.h"
#include "tree/build-tree-questions.h"
Include dependency graph for tree-accu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  AccumulateTreeStatsOptions
struct  AccumulateTreeStatsInfo


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


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)