class WordSegMeasurer

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

Inheritance:


Public Fields

[more]SimpleDecoderSpeechHMM* shmm
the pointer to the SimpleDecoderSpeechHMM object
[more]bool print_targets
a boolean stating whether we also print the corresponding targets
[more]bool print_timing
a boolean stating whether we also print the alignment timings
[more]int n_per_frame
when timing is required, what is the number of tics per frames

Public Methods

[more] WordSegMeasurer(SimpleDecoderSpeechHMM* shmm_, DataSet* data_, XFile* file_)


Inherited from Measurer:

Public Fields

oXFile* file
oDataSet* data
obool binary_mode

Public Methods

ovirtual void measureExample()
ovirtual void measureIteration()
ovirtual void measureEnd()
ovirtual void reset()


Inherited from Object:

Public Fields

oAllocator* allocator

Public Methods

ovoid addOption(const char* name, int size, void* ptr, const char* help="")
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="")
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="")
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="")
ovoid addOOption(const char* name, Object** ptr, Object* init_value, const char* help="")
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)
ovoid setOOption(const char* name, Object* option)
ovirtual void loadXFile(XFile* file)
ovirtual void saveXFile(XFile* file)
ovoid load(const char* filename)
ovoid save(const char* filename)
ovoid* operator new(size_t size, Allocator* allocator_=NULL)
ovoid* operator new(size_t size, Allocator* allocator_, void* ptr_)
ovoid operator delete(void* ptr)


Documentation

This class can be used to save the word segmentation of a SimpleDecoderSpeechHMM in a file. Optionally, it also prints the corresponding target segmentation.

oSimpleDecoderSpeechHMM* shmm
the pointer to the SimpleDecoderSpeechHMM object

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

obool print_timing
a boolean stating whether we also print the alignment timings

oint n_per_frame
when timing is required, what is the number of tics per frames

o WordSegMeasurer(SimpleDecoderSpeechHMM* shmm_, DataSet* data_, XFile* file_)


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