This class is used to read HTK objects (used for various datasets)
Inheritance:
Public Fields
-
real* data
- the data itself
-
int n_cols
- number of columns in the data
-
int n_lines
- number of lines in the data
-
char* kind
- kind of data
-
char* file_name
- file name
-
long samp_period
- sampling period
Public Methods
-
IOHtk(char* file, int max_load=-1)
- for each IOHtk object, specify the corresponding filename as well as the maximum number of examples to load
-
void write(char* dir_to_save=NULL)
- write data on HTK binary format on the specifing directory
-
virtual void createMaskFromParam(bool* mask)
- create a mask to remove energy and corresponding delta, delta-delta
-
char* parmKind2Str(ParmKind kind, char* buf)
- HTK source code
Inherited from Object:
Public Methods
-
virtual void init()
-
void addOption(const char* name, int size, void* ptr, const char* help="", bool is_allowed_after_init=false)
-
void addIOption(const char* name, int* ptr, int init_value, const char* help="", bool is_allowed_after_init=false)
-
void addROption(const char* name, real* ptr, real init_value, const char* help="", bool is_allowed_after_init=false)
-
void addBOption(const char* name, bool* ptr, bool init_value, const char* help="", bool is_allowed_after_init=false)
-
void setOption(const char* name, void* ptr)
-
void setIOption(const char* name, int option)
-
void setROption(const char* name, real option)
-
void setBOption(const char* name, bool option)
-
virtual void loadFILE(FILE* file)
-
virtual void saveFILE(FILE* file)
-
void load(const char* filename)
-
void save(const char* filename)
Documentation
This class is used to read HTK objects (used for various datasets)
real* data
- the data itself
int n_cols
- number of columns in the data
int n_lines
- number of lines in the data
char* kind
- kind of data
char* file_name
- file name
long samp_period
- sampling period
IOHtk(char* file, int max_load=-1)
- for each IOHtk object, specify the corresponding filename as well
as the maximum number of examples to load
void write(char* dir_to_save=NULL)
- write data on HTK binary format on the specifing directory
virtual void createMaskFromParam(bool* mask)
- create a mask to remove energy and corresponding delta, delta-delta
char* parmKind2Str(ParmKind kind, char* buf)
- HTK source code
- This class has no child classes.
- Author:
- Samy Bengio (bengio@idiap.ch)
Johnny Mariethoz (Johnny.Mariethoz@idiap.ch)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.