class WordSegMeasurer

This class can be used to save the word segmentation of a SpeechHMM in a file.

Inheritance:


Public Fields

[more]SpeechHMM* shmm
the pointer to the SpeechHMM object
[more]bool print_targets
a boolean stating whether we also print the corresponding targets

Public Methods

[more] WordSegMeasurer(SpeechHMM* shmm_, DataSet* data_, FILE* file_, bool print_targets=true)
[more] WordSegMeasurer(SpeechHMM* shmm_, DataSet* data_, const char* filename, bool print_targets=true)


Inherited from Measurer:

Public Fields

ovoid* measure
oFILE* file
oDataSet* data

Public Methods

ovirtual void measureEx()
ovirtual void measureIter()
ovirtual void measureEnd()


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 can be used to save the word segmentation of a SpeechHMM in a file. Optionally, it also prints the corresponding target segmentation.

oSpeechHMM* shmm
the pointer to the SpeechHMM object

obool print_targets
a boolean stating whether we also print the corresponding targets

o WordSegMeasurer(SpeechHMM* shmm_, DataSet* data_, FILE* file_, bool print_targets=true)

o 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++.