103 #ifndef _S3_KBCORE_H_ 104 #define _S3_KBCORE_H_ 200 #define kbcore_config(k) ((k)->config) 201 #define kbcore_fcb(k) ((k)->fcb) 202 #define kbcore_mdef(k) ((k)->mdef) 203 #define kbcore_dict(k) ((k)->dict) 204 #define kbcore_dict2pid(k) ((k)->dict2pid) 205 #define kbcore_lm(k) ((k)->lmset ? (k)->lmset->cur_lm : NULL) 206 #define kbcore_fillpen(k) ((k)->fillpen) 207 #define kbcore_dict2lmwid(k,w) ((k)->dict2lmwid[w]) 208 #define kbcore_mgau(k) ((k)->mgau) 209 #define kbcore_ms_mgau(k) ((k)->ms_mgau) 210 #define kbcore_s2_mgau(k) ((k)->s2_mgau) 211 #define kbcore_svq(k) ((k)->svq) 212 #define kbcore_gs(k) ((k)->gs) 213 #define kbcore_tmat(k) ((k)->tmat) 214 #define kbcore_lmset(k) ((k)->lmset) 217 #define kbcore_n_mgau(k) ((k)->mgau ? mgau_n_mgau((k)->mgau) \ 218 : ((k)->s2_mgau ? (k)->s2_mgau->CdWdPDFMod \ 219 : (k)->ms_mgau->s->n_sen)) 220 #define kbcore_logmath(k) ((k)->logmath) (Sphinx 3.0 specific) A module that wraps up the code of gauden and senone because they are closely r...
strcture for storing the model definition.
Definition: mdef.h:184
subvq_t * svq
Definition: kbcore.h:150
Building triphones for a dictionary.
void linksilences(lm_t *l, kbcore_t *kbc, dict_t *d)
Filler penalties, penalties for words that do not show up in the main LM.
kbcore_t * kbcore_init(cmd_ln_t *config)
Structure for multiple LM, provide operations for addition/deletion/read Structure for multiple...
mgau_model_t * mgau
Definition: kbcore.h:145
Interface of full GMM computation with integer value of log likelihood.
Operations on dictionary.
int32 lastfrm
Definition: kbcore.h:155
s2_semi_mgau_t * s2_mgau
Definition: kbcore.h:147
int32 maxNewHeurScore
Definition: kbcore.h:154
lmset_t * lmset
Definition: kbcore.h:141
S3DECODER_EXPORT void kbcore_free(kbcore_t *kbcore)
tmat_t * tmat
Definition: kbcore.h:152
Definition: s2_semi_mgau.h:80
Implementation of Sub-vector quantization.
dict_t * dict
Definition: kbcore.h:138
cmd_ln_t * config
Definition: kbcore.h:135
mdef_t * mdef
Definition: kbcore.h:137
Size definition of semantically units. Common for both s3 and s3.X decoder.
#define S3DECODER_EXPORT
Definition: sphinx3_export.h:15
logmath_t * logmath
Definition: kbcore.h:159
S3DECODER_EXPORT kbcore_t * New_kbcore(cmd_ln_t *config)
dict2pid_t * dict2pid
Definition: kbcore.h:139
a structure for a dictionary.
Definition: dict.h:146
Transition matrix data structure.
S3DECODER_EXPORT void s3_am_init(kbcore_t *kbc)
s3lmwid32_t finishwid
Definition: kbcore.h:158
The set of mixture-Gaussians in an acoustic model used in Sphinx 3.X family of tool.
Definition: cont_mgau.h:207
Transition matrix data structure. All phone HMMs are assumed to have the same topology.
Definition: tmat.h:113
ms_mgau_model_t * ms_mgau
Definition: kbcore.h:146
void unlinksilences(lm_t *l, kbcore_t *kbc, dict_t *d)
gs_t * gs
Definition: kbcore.h:151
Wrapper structures of sub-vector quantization.
Definition: subvq.h:114
The language model. All unigrams are read into memory on initialization. Bigrams and trigrams read in...
(Not opened to public) Gaussian selector Implentation
uint32 s3lmwid32_t
Definition: s3types.h:149
Definition: ms_mgau.h:131
feat_t * fcb
Definition: kbcore.h:136
s3lmwid32_t startwid
Definition: kbcore.h:157
fillpen_t * fillpen
Definition: kbcore.h:149
Building composite triphone (as well as word internal triphones) with the dictionary.
Definition: dict2pid.h:176