38 #ifndef _LIBFBS_GAUDEN_H_ 39 #define _LIBFBS_GAUDEN_H_ 54 #include <sphinxbase/feat.h> 55 #include <sphinxbase/logmath.h> 56 #include <sphinxbase/cmd_ln.h> void gauden_dump(const gauden_t *g)
Dump the definitionn of Gaussian distribution.
Internal implementation of PocketSphinx decoder.
logmath_t * lmath
log math computation
int32 n_density
Number gaussian densities in each codebook-feature stream.
void gauden_free(gauden_t *g)
Release memory allocated by gauden_init.
int32 id
Index of codeword (gaussian density)
mfcc_t *** det
log(determinant) for each variance vector; actually, log(sqrt(2*pi*det))
Structure to store distance (density) values for a given input observation wrt density values in some...
int32 gauden_mllr_transform(gauden_t *s, ps_mllr_t *mllr, cmd_ln_t *config)
Transform Gaussians according to an MLLR matrix (or, eventually, more).
gauden_t * gauden_init(char const *meanfile, char const *varfile, float32 varfloor, logmath_t *lmath)
Read mixture gaussian codebooks from the given files.
Implementation of HMM base structure.
int32 * featlen
feature length for each feature
int32 n_mgau
Number codebooks.
Feature space linear transform structure.
mfcc_t **** mean
mean[codebook][feature][codeword] vector
int32 n_feat
Number feature streams in each codebook.
mfcc_t dist
Density value for input observation wrt above codeword; NOTE: result in logs3 domain, but var_t used for speed.
void gauden_dump_ind(const gauden_t *g, int senidx)
Dump the definition of Gaussian distribution of a particular index to the standard output stream...
Multivariate gaussian mixture density parameters.
int32 gauden_dist(gauden_t *g, int mgau, int n_top, mfcc_t **obs, gauden_dist_t **out_dist)
Compute gaussian density values for the given input observation vector wrt the specified mixture gaus...
mfcc_t **** var
like mean; diagonal covariance vector only