42 #ifndef __S2_SEMI_MGAU_H__ 43 #define __S2_SEMI_MGAU_H__ 61 #define S2_NUM_ALPHABET 256 62 #define S2_NUM_FEATURES 4 76 #define GMMSUB(a,b) ((a)-(b)) 77 #define GMMADD(a,b) ((a)+(b)) 110 float64 varfloor,
const char *mixw_path,
111 float64 mixwfloor, int32 topn, logmath_t *logmath);
123 uint32 maxdepth, int32 maxbbi);
float32 mean_t
Definition: s2_semi_mgau.h:74
File that implement various structure for fast algorithms. fast_algo_struct implement beam_t...
kd_tree_t ** kdtrees
Definition: s2_semi_mgau.h:92
int32 topN
Definition: s2_semi_mgau.h:89
float32 var_t
Definition: s2_semi_mgau.h:75
int32 dist
Definition: s2_semi_mgau.h:68
uint32 n_kdtrees
Definition: s2_semi_mgau.h:93
#define S2_NUM_ALPHABET
Definition: s2_semi_mgau.h:61
vqFeature_t f[S2_NUM_FEATURES][S2_MAX_TOPN]
Definition: s2_semi_mgau.h:102
Definition: s2_semi_mgau.h:65
s2_semi_mgau_t * s2_semi_mgau_init(const char *mean_path, const char *var_path, float64 varfloor, const char *mixw_path, float64 mixwfloor, int32 topn, logmath_t *logmath)
int32 detArr[S2_NUM_FEATURES *S2_NUM_ALPHABET]
Definition: s2_semi_mgau.h:82
int32 use20ms_diff_pow
Definition: s2_semi_mgau.h:97
int32 CdWdPDFMod
Definition: s2_semi_mgau.h:90
logmath_t * logmath
Definition: s2_semi_mgau.h:81
int32 s2_semi_mgau_load_kdtree(s2_semi_mgau_t *s, const char *kdtree_path, uint32 maxdepth, int32 maxbbi)
int32 num_frames
Definition: s2_semi_mgau.h:99
#define S2_NUM_FEATURES
Definition: s2_semi_mgau.h:62
int32 score
Definition: s2_semi_mgau.h:67
Structure that contains all parameter related to 4-Level Fast GMM computation.
Definition: fast_algo_struct.h:256
Definition: s2_semi_mgau.h:80
vqFeature_t ldfrm[S2_MAX_TOPN]
Definition: s2_semi_mgau.h:104
vqFeature_t lcfrm[S2_MAX_TOPN]
Definition: s2_semi_mgau.h:103
int32 frame_ds_ratio
Definition: s2_semi_mgau.h:100
#define S2_MAX_TOPN
Definition: s2_semi_mgau.h:63
vqFeature_t * vqFrame_t
Definition: s2_semi_mgau.h:72
Size definition of semantically units. Common for both s3 and s3.X decoder.
mean_t * means[S2_NUM_FEATURES]
Definition: s2_semi_mgau.h:84
#define S3DECODER_EXPORT
Definition: sphinx3_export.h:15
int32 codeword
Definition: s2_semi_mgau.h:70
int32 kd_maxbbi
Definition: s2_semi_mgau.h:95
void s2_semi_mgau_free(s2_semi_mgau_t *s)
var_t * vars[S2_NUM_FEATURES]
Definition: s2_semi_mgau.h:85
unsigned char ** OPDF_8B[4]
Definition: s2_semi_mgau.h:87
int32 * dets[S2_NUM_FEATURES]
Definition: s2_semi_mgau.h:83
S3DECODER_EXPORT int32 s2_semi_mgau_frame_eval(s2_semi_mgau_t *s, ascr_t *ascr, fast_gmm_t *fgmm, mfcc_t **feat, int32 frame)
vqFeature_t lxfrm[S2_MAX_TOPN]
Definition: s2_semi_mgau.h:105
Wrapper to hold senone scores.
vqFeature_t vtmp
Definition: s2_semi_mgau.h:106
uint32 kd_maxdepth
Definition: s2_semi_mgau.h:94
float64 dcep80msWeight
Definition: s2_semi_mgau.h:96