20 #ifndef KALDI_FEAT_FEATURE_COMMON_H_ 21 #define KALDI_FEAT_FEATURE_COMMON_H_ 52 return opts_.frame_opts;
92 void Compute(
BaseFloat signal_raw_log_energy,
119 feature_window_function_(computer_.GetFrameOptions()) { }
160 computer_(other.computer_),
161 feature_window_function_(other.feature_window_function_) { }
176 #endif // KALDI_FEAT_FEATURE_COMMON_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
OfflineFeatureTpl(const OfflineFeatureTpl< F > &other)
FeatureWindowFunction feature_window_function_
ExampleFeatureComputer(const ExampleFeatureComputerOptions &opts)
constructor from options class; it should not store a reference or pointer to the options class but s...
ExampleFeatureComputerOptions Options
const FrameExtractionOptions & GetFrameOptions() const
Returns a reference to the frame-extraction options class, which will be part of our own options clas...
This class is only added for documentation, it is not intended to ever be used.
FrameExtractionOptions frame_opts
This class is only added for documentation, it is not intended to ever be used.
This templated class is intended for offline feature extraction, i.e.
Provides a vector abstraction class.
OfflineFeatureTpl(const Options &opts)
bool NeedRawLogEnergy() const
Returns true if this function may inspect the raw log-energy of the signal (before windowing and pre-...