#include <sstream>
#include <iterator>
#include <algorithm>
#include <iomanip>
#include "nnet/nnet-loss.h"
#include "nnet/nnet-utils.h"
#include "cudamatrix/cu-math.h"
#include "hmm/posterior.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: 
  | 
|   | 
|    | kaldi::nnet1 | 
|   | 
 | 
| template<typename T >  | 
| void  | CountCorrectFramesWeighted (const CuArray< T > &hyp, const CuArray< T > &ref, const CuVectorBase< BaseFloat > &weights, Vector< double > *correct) | 
|   | Helper function of Xent::Eval, calculates number of matching elemente in 'hyp', 'ref' weighted by 'weights'.  More...
  | 
|   |