PocketSphinx
5.0.0
A small speech recognizer
|
Go to the documentation of this file.
78 #include <pocketsphinx/export.h>
116 #define LOGMATH_TABLE(lm) ((logadd_t *)lm)
149 uint32 *out_width, uint32 *out_shift);
Integer log math computation table.
Basic type definitions used in Sphinx.
POCKETSPHINX_EXPORT logmath_t * logmath_read(const char *filename)
POCKETSPHINX_EXPORT int logmath_log(logmath_t *lmath, float64 p)
POCKETSPHINX_EXPORT int logmath_add_exact(logmath_t *lmath, int logb_p, int logb_q)
POCKETSPHINX_EXPORT int32 logmath_get_table_shape(logmath_t *lmath, uint32 *out_size, uint32 *out_width, uint32 *out_shift)
POCKETSPHINX_EXPORT logmath_t * logmath_retain(logmath_t *lmath)
POCKETSPHINX_EXPORT float64 logmath_exp(logmath_t *lmath, int logb_p)
POCKETSPHINX_EXPORT int logmath_get_shift(logmath_t *lmath)
POCKETSPHINX_EXPORT float logmath_log10_to_log_float(logmath_t *lmath, float64 log_p)
POCKETSPHINX_EXPORT int logmath_ln_to_log(logmath_t *lmath, float64 log_p)
POCKETSPHINX_EXPORT float64 logmath_get_base(logmath_t *lmath)
POCKETSPHINX_EXPORT float64 logmath_log_float_to_log10(logmath_t *lmath, float log_p)
POCKETSPHINX_EXPORT int logmath_get_width(logmath_t *lmath)
POCKETSPHINX_EXPORT int logmath_free(logmath_t *lmath)
POCKETSPHINX_EXPORT int logmath_log10_to_log(logmath_t *lmath, float64 log_p)
POCKETSPHINX_EXPORT int logmath_add(logmath_t *lmath, int logb_p, int logb_q)
Integer log math computation class.
POCKETSPHINX_EXPORT logmath_t * logmath_init(float64 base, int shift, int use_table)
POCKETSPHINX_EXPORT float64 logmath_log_to_log10(logmath_t *lmath, int logb_p)
POCKETSPHINX_EXPORT int32 logmath_write(logmath_t *lmath, const char *filename)
POCKETSPHINX_EXPORT float64 logmath_log_to_ln(logmath_t *lmath, int logb_p)
POCKETSPHINX_EXPORT int logmath_get_zero(logmath_t *lmath)