All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
OnlineCmvnOptions Struct Reference

#include <online-feature.h>

Collaboration diagram for OnlineCmvnOptions:

Public Member Functions

 OnlineCmvnOptions ()
 
void Check ()
 
void Register (ParseOptions *po)
 

Public Attributes

int32 cmn_window
 
int32 speaker_frames
 
int32 global_frames
 
bool normalize_mean
 
bool normalize_variance
 
int32 modulus
 
int32 ring_buffer_size
 
std::string skip_dims
 

Detailed Description

Definition at line 174 of file online-feature.h.

Constructor & Destructor Documentation

OnlineCmvnOptions ( )
inline

Definition at line 189 of file online-feature.h.

Member Function Documentation

void Check ( )
inline

Definition at line 199 of file online-feature.h.

References KALDI_ASSERT.

void Register ( ParseOptions po)
inline

Definition at line 204 of file online-feature.h.

References ParseOptions::Register().

204  {
205  po->Register("cmn-window", &cmn_window, "Number of frames of sliding "
206  "context for cepstral mean normalization.");
207  po->Register("global-frames", &global_frames, "Number of frames of "
208  "global-average cepstral mean normalization stats to use for "
209  "first utterance of a speaker");
210  po->Register("speaker-frames", &speaker_frames, "Number of frames of "
211  "previous utterance(s) from this speaker to use in cepstral "
212  "mean normalization");
213  // we name the config string "norm-vars" for compatibility with
214  // ../featbin/apply-cmvn.cc
215  po->Register("norm-vars", &normalize_variance, "If true, do "
216  "cepstral variance normalization in addition to cepstral mean "
217  "normalization ");
218  po->Register("norm-mean", &normalize_mean, "If true, do mean normalization "
219  "(note: you cannot normalize the variance but not the mean)");
220  po->Register("skip-dims", &skip_dims, "Dimensions to skip normalization of "
221  "(colon-separated list of integers)");}

Member Data Documentation

int32 cmn_window
int32 global_frames

Definition at line 177 of file online-feature.h.

Referenced by OnlineCmvn::SmoothOnlineCmvnStats().

int32 modulus
bool normalize_mean

Definition at line 178 of file online-feature.h.

Referenced by OnlineCmvn::GetFrame().

bool normalize_variance

Definition at line 179 of file online-feature.h.

Referenced by OnlineCmvn::GetFrame().

int32 ring_buffer_size
std::string skip_dims

Definition at line 186 of file online-feature.h.

Referenced by OnlineCmvn::OnlineCmvn().

int32 speaker_frames

Definition at line 176 of file online-feature.h.

Referenced by OnlineCmvn::SmoothOnlineCmvnStats().


The documentation for this struct was generated from the following file: