class DecoderBatchTest

This class is used to decode a set of test files and display statistics and results for each file (ie.

Public Methods

[more]void run()
Runs the batch test according to the options set by the call to 'configure'

Public Members

[more] Configures the batch test
[more] 'datafiles_filename' is the file containing a list of the input data files
[more] that need to be decoded.
[more] will occur in the order the files are listed in this file
[more] 'expected_results_file' is the file containing the correct transcriptions
[more] for all input data files.
[more] the same as the order in 'datafiles_filename'
[more] 'decoder_' is a pointer to the decoder to be used to perform the recognition
[more] 'remove_sil' indicates whether the silence word is to be removed from the
[more] recognition results before statistics are calculated
[more] 'output_res' indicates whether the result of each recognition is to be output
[more] immediately after it is obtained
[more] 'preload_data' indicates whether all of the input data in all files is to be
[more] preloaded into memory before any decoding occurs (takes lots of memory and lots
[more] of time before any results are obtained if the number of input data files
[more] is large
[more] 'pre_calc_emission_probs' indicates whether emission probabilities for
[more] all input files are to be calculated before the decoder is invoked.
[more] Intended to be called after the 'run' method has returned.
[more] recognition results for all input data files and compiles insertions,


Documentation

This class is used to decode a set of test files and display statistics and results for each file (ie. expected and actual words recognised) and also for the entire test set (ie. insertions, deletions, substitutions, accuracy, total time).

o Configures the batch test
Configures the batch test

o 'datafiles_filename' is the file containing a list of the input data files
'datafiles_filename' is the file containing a list of the input data files

o that need to be decoded.
that need to be decoded. Absolute pathnames are required. The decoding

o will occur in the order the files are listed in this file
will occur in the order the files are listed in this file

o 'expected_results_file' is the file containing the correct transcriptions
'expected_results_file' is the file containing the correct transcriptions

o for all input data files.
for all input data files. The ordering of the files does not have to be

o the same as the order in 'datafiles_filename'
the same as the order in 'datafiles_filename'

o 'decoder_' is a pointer to the decoder to be used to perform the recognition
'decoder_' is a pointer to the decoder to be used to perform the recognition

o 'remove_sil' indicates whether the silence word is to be removed from the
'remove_sil' indicates whether the silence word is to be removed from the

o recognition results before statistics are calculated
recognition results before statistics are calculated

o 'output_res' indicates whether the result of each recognition is to be output
'output_res' indicates whether the result of each recognition is to be output

o immediately after it is obtained
immediately after it is obtained

o 'preload_data' indicates whether all of the input data in all files is to be
'preload_data' indicates whether all of the input data in all files is to be

o preloaded into memory before any decoding occurs (takes lots of memory and lots
preloaded into memory before any decoding occurs (takes lots of memory and lots

o of time before any results are obtained if the number of input data files
of time before any results are obtained if the number of input data files

o is large
is large

o 'pre_calc_emission_probs' indicates whether emission probabilities for
'pre_calc_emission_probs' indicates whether emission probabilities for

o all input files are to be calculated before the decoder is invoked.
all input files are to be calculated before the decoder is invoked. This

o Intended to be called after the 'run' method has returned.
Intended to be called after the 'run' method has returned. Processes the

o recognition results for all input data files and compiles insertions,
recognition results for all input data files and compiles insertions,

ovoid run()
Runs the batch test according to the options set by the call to 'configure'


This class has no child classes.
Author:
Darren Moore (moore@idiap.ch)

Alphabetic index HTML hierarchy of classes or Java



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