include/gau_cb_float64.h File Reference

#include <sphinx_config.h>
#include <cmd_ln.h>
#include <gau_cb.h>
#include <fe.h>

Go to the source code of this file.

Data Structures

struct  gau_den_float64_s

Typedefs

typedef struct gau_den_float64_s gau_den_float64_t
 Type representing a single density for computation.

Functions

gau_cb_tgau_cb_float64_read (cmd_ln_t *config, const char *meanfn, const char *varfn, const char *normfn)
 Read a codebook of Gaussians from mean and variance files and precompute for linear float64 computation.
void gau_cb_float64_free (gau_cb_t *gau)
 Free a codebook loaded with gau_cb_float64_read().
int gau_cb_float64_compute_all (gau_cb_t *cb, int mgau, int feat, mfcc_t *obs, float64 *out_den, float64 worst)
 Compute all floating point densities for a single feature stream in an observation.
int gau_cb_float64_compute (gau_cb_t *cb, int mgau, int feat, mfcc_t *obs, gau_den_float64_t *inout_den, int nden)
 Compute a subset of floating point densities for a single feature stream in an observation.
float32 **** gau_cb_float64_get_means (gau_cb_t *cb)
 Retrieve the mean vectors from the codebook.
float32 **** gau_cb_float64_get_invvars (gau_cb_t *cb)
 Retrieve the scaled inverse variance vectors from the codebook.
float32 *** gau_cb_float64_get_norms (gau_cb_t *cb)
 Retrieve the normalization constants from the codebook.


Detailed Description

Author:
David Huggins-Daines <dhuggins@cs.cmu.edu>
Gaussian distribution parameters (linear floating-point computation)

Definition in file gau_cb_float64.h.


Function Documentation

int gau_cb_float64_compute ( gau_cb_t cb,
int  mgau,
int  feat,
mfcc_t *  obs,
gau_den_float64_t inout_den,
int  nden 
)

Compute a subset of floating point densities for a single feature stream in an observation.

Returns:
the offset in inout_den of the lowest density

int gau_cb_float64_compute_all ( gau_cb_t cb,
int  mgau,
int  feat,
mfcc_t *  obs,
float64 *  out_den,
float64  worst 
)

Compute all floating point densities for a single feature stream in an observation.

Returns:
the index of the highest density

gau_cb_t* gau_cb_float64_read ( cmd_ln_t config,
const char *  meanfn,
const char *  varfn,
const char *  normfn 
)

Read a codebook of Gaussians from mean and variance files and precompute for linear float64 computation.

Parameters:
config  Configuration parameters
meanfn  Filename for means
varfn  Filename for variances
normfn  (optional) Filename for normalization constants


Generated on Mon Jul 7 22:32:38 2008 for SphinxBase by  doxygen 1.5.5