class EditDistanceMeasurer

This class can be used to measure and print an EditDistance object.

Inheritance:


Public Fields

[more]EditDistance* edit
the EditDistance to measure
[more]EditDistance* sum
an accumulator of EditDistance objects, to compute statistics
[more]bool print_ex
do we print the edit distance for each example?

Public Methods

[more] EditDistanceMeasurer(EditDistance* edit_, DataSet* data_, XFile* file_, bool is_confusion_=false)


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 measure and print an EditDistance object. It is used for instance in speech recognition experiments.

oEditDistance* edit
the EditDistance to measure

oEditDistance* sum
an accumulator of EditDistance objects, to compute statistics

obool print_ex
do we print the edit distance for each example?

o EditDistanceMeasurer(EditDistance* edit_, DataSet* data_, XFile* file_, bool is_confusion_=false)


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