The wrapper structure for all statistics in sphinx 3.x. More...
Go to the source code of this file.
Classes | |
struct | stat_t |
Structure to hold all statistics in Sphinx 3.x. More... | |
Functions | |
stat_t * | stat_init (void) |
void | stat_free (stat_t *st) |
void | stat_clear_utt (stat_t *st) |
void | stat_clear_corpus (stat_t *st) |
void | stat_update_corpus (stat_t *st) |
void | stat_report_utt (stat_t *st, char *uttid) |
S3DECODER_EXPORT void | stat_report_corpus (stat_t *st) |
The wrapper structure for all statistics in sphinx 3.x.
void stat_clear_corpus | ( | stat_t * | st | ) |
Clear the corpus statistics
st | A statistics data structure |
void stat_clear_utt | ( | stat_t * | st | ) |
Clear the utterance statistics
st | A statistics data structure |
void stat_free | ( | stat_t * | st | ) |
Delete the memory of stat_init
st | A statistics data structure |
stat_t* stat_init | ( | void | ) |
Initialized the statistics structure
S3DECODER_EXPORT void stat_report_corpus | ( | stat_t * | st | ) |
void stat_report_utt | ( | stat_t * | st, |
char * | uttid | ||
) |
Report the utterance statistics
st | A statistics data structure |
uttid | The utterance ID |
void stat_update_corpus | ( | stat_t * | st | ) |
Update the corpus statistics with the utterance statistics
st | A statistics data structure |