class HTKDataSet

This dataset can deal with the HTK format for features and targets.

Inheritance:


Public Methods

[more] HTKDataSet(const char* inputs_filenames, bool one_file_is_one_sequence, int max_load, const char* targets_filename = NULL, LexiconInfo* lex_=NULL, bool words=true)
[more] HTKDataSet(char** inputs_filenames, char** targets_filename, int n_files_, bool one_file_is_one_sequence, int max_load, LexiconInfo* lex_=NULL, bool words=true)


Inherited from MemoryDataSet:

Public Fields

oSequence** inputs_array
oSequence** targets_array

Public Methods

ovoid init(IOSequence* io_inputs, IOSequence* io_outputs)
ovoid setInputs(Sequence** inputs_, int n_sequences_)
ovoid setTargets(Sequence** targets_, int n_sequences_)


Inherited from DataSet:

Public Fields

oint* selected_examples
oint n_inputs
oint n_targets
oint real_current_example_index
oSequence* inputs
oSequence* targets
oint n_examples
oint n_real_examples

Public Methods

ovoid setExample(int t, bool set_inputs=true, bool set_targets=true)
ovirtual void setRealExample(int t, bool set_inputs=true, bool set_targets=true)
ovirtual void pushSubset(int* subset_, int n_examples_)
ovirtual void popSubset()
ovirtual void pushExample()
ovirtual void popExample()
ovirtual void getNumberOfFrames(int t, int* n_input_frames, int* n_target_frames)
ovirtual void preProcess(PreProcessing* pre_processing)


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 dataset can deal with the HTK format for features and targets.

o HTKDataSet(const char* inputs_filenames, bool one_file_is_one_sequence, int max_load, const char* targets_filename = NULL, LexiconInfo* lex_=NULL, bool words=true)

o HTKDataSet(char** inputs_filenames, char** targets_filename, int n_files_, bool one_file_is_one_sequence, int max_load, LexiconInfo* lex_=NULL, bool words=true)


This class has no child classes.
Author:
Johnny Mariethoz (Johnny.Mariethoz@idiap.ch)
See Also:
MatDataSet
IOHTK
IOHTKTarget

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.