This class can be used to save the word segmentation of a SpeechHMM in a file.
Inheritance:
Public Fields
-
SpeechHMM* shmm
- the pointer to the SpeechHMM object
-
bool print_targets
- a boolean stating whether we also print the corresponding targets
Public Methods
-
WordSegMeasurer(SpeechHMM* shmm_, DataSet* data_, FILE* file_, bool print_targets=true)
-
WordSegMeasurer(SpeechHMM* shmm_, DataSet* data_, const char* filename, bool print_targets=true)
Public Fields
-
void* measure
-
FILE* file
-
DataSet* data
Public Methods
-
virtual void measureEx()
-
virtual void measureIter()
-
virtual void measureEnd()
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 can be used to save the word segmentation of a SpeechHMM
in a file. Optionally, it also prints the corresponding target segmentation.
SpeechHMM* shmm
- the pointer to the SpeechHMM object
bool print_targets
- a boolean stating whether we also print the corresponding targets
WordSegMeasurer(SpeechHMM* shmm_, DataSet* data_, FILE* file_, bool print_targets=true)
WordSegMeasurer(SpeechHMM* shmm_, DataSet* data_, const char* filename, bool print_targets=true)
- This class has no child classes.
- Author:
- Samy Bengio (bengio@idiap.ch)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.