46 #include <sphinxbase/err.h>
47 #include <sphinxbase/ckd_alloc.h>
48 #include <sphinxbase/cmd_ln.h>
49 #include <sphinxbase/logmath.h>
103 char const *mixwfile,
104 char const *mgau_mapfile,
senprob_t *** pdf
gaussian density mixture weights, organized two possible ways depending on n_gauden: if (n_gauden > 1...
int32 aw
Inverse acoustic weight.
Structure to store distance (density) values for a given input observation wrt density values in some...
Binary format model definition files, with support for heterogeneous topologies and variable-size N-p...
float32 mixwfloor
floor applied to each PDF entry
uint32 n_sen
Number senones in this set.
uint32 * mgau
senone-id -> mgau-id mapping for senones in this set
8-bit senone PDF structure.
uint32 n_feat
Number feature streams.
int32 * featscr
The feature score for every senone, will be initialized inside senone_eval_all.
int32 senone_eval(senone_t *s, int id, gauden_dist_t **dist, int n_top)
Evaluate the score for the given senone wrt to the given top N gaussian codewords.
(Sphinx 3.0 specific) Gaussian density module.
void senone_free(senone_t *s)
Release memory allocated by senone_init.
logmath_t * lmath
log math computation
uint32 n_cw
Number codewords per codebook,stream.
uint32 n_gauden
Number gaussian density codebooks referred to by senones.
Multivariate gaussian mixture density parameters.
senone_t * senone_init(gauden_t *g, char const *mixwfile, char const *mgau_mapfile, float32 mixwfloor, logmath_t *lmath, bin_mdef_t *mdef)
Load a set of senones (mixing weights and mixture gaussian codebook mappings) from the given files...
uint8 senprob_t
Senone logs3-probs, truncated to 8 bits.