#include <cassert>
#include <cstdlib>
#include <string>
#include <vector>
#include "matrix/matrix-lib.h"
#include "util/common-utils.h"
#include "base/kaldi-error.h"
 
Go to the source code of this file.
 | 
|    | kaldi | 
|   | This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for mispronunciations detection tasks, the reference: 
  | 
|   | 
 | 
| void  | ComputeVadEnergy (const VadEnergyOptions &opts, const MatrixBase< BaseFloat > &input_features, Vector< BaseFloat > *output_voiced) | 
|   | Compute voice-activity vector for a file: 1 if we judge the frame as voiced, 0 otherwise.  More...
  | 
|   |