Handles the standard Ascii HTK targets/labels format in Torch.
Inheritance:
Public Members
-
Saves one sequence in file using the ascii format
Public Fields
-
int n_sequences
-
int frame_size
Public Methods
-
virtual int getNumberOfFrames(int t)
-
virtual void getSequence(int t, Sequence* sequence)
-
virtual int getTotalNumberOfFrames()
Inherited from Object:
Public Fields
-
Allocator* allocator
Public Methods
-
void addOption(const char* name, int size, void* ptr, const char* help="")
-
void addIOption(const char* name, int* ptr, int init_value, const char* help="")
-
void addROption(const char* name, real* ptr, real init_value, const char* help="")
-
void addBOption(const char* name, bool* ptr, bool init_value, const char* help="")
-
void addOOption(const char* name, Object** ptr, Object* init_value, const char* help="")
-
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)
-
void setOOption(const char* name, Object* option)
-
virtual void loadXFile(XFile* file)
-
virtual void saveXFile(XFile* file)
-
void load(const char* filename)
-
void save(const char* filename)
-
void* operator new(size_t size, Allocator* allocator_=NULL)
-
void* operator new(size_t size, Allocator* allocator_, void* ptr_)
-
void operator delete(void* ptr)
Documentation
Handles the standard Ascii HTK targets/labels format in Torch.
There are two format:
- each line is a word/phoneme
separated by a space).
- each line consiste in two integer (begin and end of the sequence) and a string containing the label (word/phoneme)
- Saves one sequence in file using the ascii format
- Saves one sequence in file using the ascii format
- This class has no child classes.
- Author:
- Johnny Mariethoz (Johnny.Mariethoz@idiap.ch)
- See Also:
- IOAscii
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.