class IOHtk

This class is used to read HTK objects (used for various datasets)

Inheritance:


Public Fields

[more]real* data
the data itself
[more]int n_cols
number of columns in the data
[more]int n_lines
number of lines in the data
[more]char* kind
kind of data
[more]char* file_name
file name
[more]long samp_period
sampling period

Public Methods

[more] 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
[more]void write(char* dir_to_save=NULL)
write data on HTK binary format on the specifing directory
[more]virtual void createMaskFromParam(bool* mask)
create a mask to remove energy and corresponding delta, delta-delta
[more]char* parmKind2Str(ParmKind kind, char* buf)
HTK source code


Inherited from Object:

Public Methods

ovirtual void init()
ovoid addOption(const char* name, int size, void* ptr, const char* help="", bool is_allowed_after_init=false)
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="", bool is_allowed_after_init=false)
ovoid setOption(const char* name, void* ptr)
ovoid setIOption(const char* name, int option)
ovoid setROption(const char* name, real option)
ovoid setBOption(const char* name, bool option)
ovirtual void loadFILE(FILE* file)
ovirtual void saveFILE(FILE* file)
ovoid load(const char* filename)
ovoid save(const char* filename)


Documentation

This class is used to read HTK objects (used for various datasets)

oreal* data
the data itself

oint n_cols
number of columns in the data

oint n_lines
number of lines in the data

ochar* kind
kind of data

ochar* file_name
file name

olong samp_period
sampling period

o 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

ovoid write(char* dir_to_save=NULL)
write data on HTK binary format on the specifing directory

ovirtual void createMaskFromParam(bool* mask)
create a mask to remove energy and corresponding delta, delta-delta

ochar* 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++.