This configuration class is responsible for storing the configuration options for OnlineFeaturePipeline, but it does not set them. More...
#include <online-feature-pipeline.h>
Public Member Functions | |
OnlineFeaturePipelineConfig () | |
OnlineFeaturePipelineConfig (const OnlineFeaturePipelineCommandLineConfig &cmdline_config) | |
BaseFloat | FrameShiftInSeconds () const |
Public Attributes | |
std::string | feature_type |
MfccOptions | mfcc_opts |
PlpOptions | plp_opts |
FbankOptions | fbank_opts |
bool | add_pitch |
PitchExtractionOptions | pitch_opts |
ProcessPitchOptions | pitch_process_opts |
OnlineCmvnOptions | cmvn_opts |
bool | add_deltas |
DeltaFeaturesOptions | delta_opts |
bool | splice_feats |
OnlineSpliceOptions | splice_opts |
std::string | lda_rxfilename |
std::string | global_cmvn_stats_rxfilename |
This configuration class is responsible for storing the configuration options for OnlineFeaturePipeline, but it does not set them.
To do that you should use OnlineFeaturePipelineCommandLineConfig, which can read in the configuration from config files on disk. The reason for structuring it this way with two config files, is to make it easier to configure from code as well as from the command line.
Definition at line 112 of file online-feature-pipeline.h.
|
inline |
Definition at line 113 of file online-feature-pipeline.h.
OnlineFeaturePipelineConfig | ( | const OnlineFeaturePipelineCommandLineConfig & | cmdline_config | ) |
Definition at line 26 of file online-feature-pipeline.cc.
References OnlineFeaturePipelineCommandLineConfig::add_deltas, OnlineFeaturePipelineConfig::add_deltas, OnlineFeaturePipelineCommandLineConfig::add_pitch, OnlineFeaturePipelineConfig::add_pitch, OnlineFeaturePipelineCommandLineConfig::cmvn_config, OnlineFeaturePipelineConfig::cmvn_opts, OnlineFeaturePipelineCommandLineConfig::delta_config, OnlineFeaturePipelineConfig::delta_opts, OnlineFeaturePipelineCommandLineConfig::fbank_config, OnlineFeaturePipelineConfig::fbank_opts, OnlineFeaturePipelineCommandLineConfig::feature_type, OnlineFeaturePipelineConfig::feature_type, OnlineFeaturePipelineCommandLineConfig::global_cmvn_stats_rxfilename, OnlineFeaturePipelineConfig::global_cmvn_stats_rxfilename, KALDI_ERR, KALDI_WARN, OnlineFeaturePipelineCommandLineConfig::lda_rxfilename, OnlineFeaturePipelineConfig::lda_rxfilename, OnlineFeaturePipelineCommandLineConfig::mfcc_config, OnlineFeaturePipelineConfig::mfcc_opts, OnlineFeaturePipelineCommandLineConfig::pitch_config, OnlineFeaturePipelineConfig::pitch_opts, OnlineFeaturePipelineCommandLineConfig::pitch_process_config, OnlineFeaturePipelineConfig::pitch_process_opts, OnlineFeaturePipelineCommandLineConfig::plp_config, OnlineFeaturePipelineConfig::plp_opts, kaldi::ReadConfigFromFile(), OnlineFeaturePipelineCommandLineConfig::splice_config, OnlineFeaturePipelineCommandLineConfig::splice_feats, OnlineFeaturePipelineConfig::splice_feats, and OnlineFeaturePipelineConfig::splice_opts.
BaseFloat FrameShiftInSeconds | ( | ) | const |
Definition at line 286 of file online-feature-pipeline.cc.
References KALDI_ERR.
bool add_deltas |
Definition at line 137 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::Init(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
bool add_pitch |
Definition at line 130 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::Init(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
OnlineCmvnOptions cmvn_opts |
Definition at line 135 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::Init(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
DeltaFeaturesOptions delta_opts |
Definition at line 138 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::Init(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
FbankOptions fbank_opts |
Definition at line 127 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::Init(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
std::string feature_type |
Definition at line 122 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::Init(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
std::string global_cmvn_stats_rxfilename |
Definition at line 145 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::OnlineFeaturePipeline(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
std::string lda_rxfilename |
Definition at line 143 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::OnlineFeaturePipeline(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
MfccOptions mfcc_opts |
Definition at line 124 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::Init(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
PitchExtractionOptions pitch_opts |
Definition at line 131 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::Init(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
ProcessPitchOptions pitch_process_opts |
Definition at line 132 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::Init(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
PlpOptions plp_opts |
Definition at line 126 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::Init(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
bool splice_feats |
Definition at line 140 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::Init(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().
OnlineSpliceOptions splice_opts |
Definition at line 141 of file online-feature-pipeline.h.
Referenced by OnlineFeaturePipeline::Init(), and OnlineFeaturePipelineConfig::OnlineFeaturePipelineConfig().