20 #ifndef KALDI_NNET_NNET_PDF_PRIOR_H_    21 #define KALDI_NNET_NNET_PDF_PRIOR_H_    41     class_frame_counts(
""),
    47     opts->
Register(
"class-frame-counts", &class_frame_counts,
    48                    "Vector with frame-counts of pdfs to compute log-priors."    49                    " (priors are typically subtracted from log-posteriors"    50                    " or pre-softmax activations)");
    51     opts->
Register(
"prior-scale", &prior_scale,
    52                    "Scaling factor to be applied on pdf-log-priors");
    53     opts->
Register(
"prior-floor", &prior_floor,
    54                    "Flooring constatnt for prior probability "    55                    "(i.e. label rel. frequency)");
    77 #endif  // KALDI_NNET_NNET_PDF_PRIOR_H_ 
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
 
CuVector< BaseFloat > log_priors_
 
std::string class_frame_counts
 
#define KALDI_DISALLOW_COPY_AND_ASSIGN(type)
 
virtual void Register(const std::string &name, bool *ptr, const std::string &doc)=0
 
Matrix for CUDA computing. 
 
void Register(OptionsItf *opts)