#include <sphinx_config.h>#include <cmd_ln.h>#include <gau_cb.h>#include <fixpoint.h>#include <logmath.h>#include <fe.h>Go to the source code of this file.
Data Structures | |
| struct | gau_den_int32_s |
Typedefs | |
| typedef struct gau_den_int32_s | gau_den_int32_t |
| Type representing a single density for computation. | |
| typedef float32 | int32_mean_t |
| Type of precomputed means for gau_cb_int32. | |
| typedef float32 | int32_var_t |
| Type of precomputed invvars for gau_cb_int32. | |
| typedef float32 | int32_norm_t |
| Type of precomputed norms for gau_cb_int32. | |
Functions | |
| gau_cb_t * | gau_cb_int32_read (cmd_ln_t *config, const char *meanfn, const char *varfn, const char *normfn, logmath_t *lmath) |
| Read a codebook of Gaussians from mean and variance files and precompute for logarithmic int32 computation. | |
| void | gau_cb_int32_free (gau_cb_t *gau) |
| Free a codebook loaded with gau_cb_int32_read(). | |
| int | gau_cb_int32_compute_all (gau_cb_t *gau, int mgau, int feat, mfcc_t *obs, int32 *out_den, int worst) |
| Compute all floating point densities for a single feature stream in an observation. | |
| int | gau_cb_int32_compute (gau_cb_t *gau, int mgau, int feat, mfcc_t *obs, gau_den_int32_t *inout_den, int nden) |
| Compute a subset of floating point densities for a single feature stream in an observation. | |
| int32_mean_t **** | gau_cb_int32_get_means (gau_cb_t *gau) |
| Retrieve the mean vectors from the codebook. | |
| int32_var_t **** | gau_cb_int32_get_invvars (gau_cb_t *gau) |
| Retrieve the scaled inverse variance vectors from the codebook. | |
| int32_norm_t *** | gau_cb_int32_get_norms (gau_cb_t *gau) |
| Retrieve the log normalization constants from the codebook. | |
Definition in file gau_cb_int32.h.
| typedef float32 int32_mean_t |
| typedef float32 int32_norm_t |
| typedef float32 int32_var_t |
| int gau_cb_int32_compute | ( | gau_cb_t * | gau, | |
| int | mgau, | |||
| int | feat, | |||
| mfcc_t * | obs, | |||
| gau_den_int32_t * | inout_den, | |||
| int | nden | |||
| ) |
Compute a subset of floating point densities for a single feature stream in an observation.
| int gau_cb_int32_compute_all | ( | gau_cb_t * | gau, | |
| int | mgau, | |||
| int | feat, | |||
| mfcc_t * | obs, | |||
| int32 * | out_den, | |||
| int | worst | |||
| ) |
Compute all floating point densities for a single feature stream in an observation.
| gau_cb_t* gau_cb_int32_read | ( | cmd_ln_t * | config, | |
| const char * | meanfn, | |||
| const char * | varfn, | |||
| const char * | normfn, | |||
| logmath_t * | lmath | |||
| ) |
Read a codebook of Gaussians from mean and variance files and precompute for logarithmic int32 computation.
| config | Configuration parameters |
| meanfn | Filename for means |
| varfn | Filename for variances |
| normfn | (optional) Filename for normalization constants |
| lmath | Log-math table (for logbase, etc) |
1.5.5