PocketSphinx 5prealpha
|
Fast phonetically-tied mixture evaluation. More...
#include <sphinxbase/fe.h>
#include <sphinxbase/logmath.h>
#include <sphinxbase/mmio.h>
#include "acmod.h"
#include "hmm.h"
#include "bin_mdef.h"
#include "ms_gauden.h"
Go to the source code of this file.
Data Structures | |
struct | ptm_topn_s |
struct | ptm_fast_eval_s |
struct | ptm_mgau_s |
Typedefs | |
typedef struct ptm_mgau_s | ptm_mgau_t |
typedef struct ptm_topn_s | ptm_topn_t |
typedef struct ptm_fast_eval_s | ptm_fast_eval_t |
Functions | |
ps_mgau_t * | ptm_mgau_init (acmod_t *acmod, bin_mdef_t *mdef) |
void | ptm_mgau_free (ps_mgau_t *s) |
int | ptm_mgau_frame_eval (ps_mgau_t *s, int16 *senone_scores, uint8 *senone_active, int32 n_senone_active, mfcc_t **featbuf, int32 frame, int32 compallsen) |
Compute senone scores for the active senones. | |
int | ptm_mgau_mllr_transform (ps_mgau_t *s, ps_mllr_t *mllr) |
Fast phonetically-tied mixture evaluation.
Definition in file ptm_mgau.h.
typedef struct ptm_mgau_s ptm_mgau_t |
Definition at line 56 of file ptm_mgau.h.
int ptm_mgau_frame_eval | ( | ps_mgau_t * | s, |
int16 * | senone_scores, | ||
uint8 * | senone_active, | ||
int32 | n_senone_active, | ||
mfcc_t ** | featbuf, | ||
int32 | frame, | ||
int32 | compallsen | ||
) |
Compute senone scores for the active senones.
Definition at line 414 of file ptm_mgau.c.
References ptm_mgau_s::f, ptm_mgau_s::g, ptm_mgau_s::hist, ptm_mgau_s::n_fast_hist, gauden_t::n_feat, gauden_t::n_mgau, and ptm_fast_eval_s::topn.
void ptm_mgau_free | ( | ps_mgau_t * | s | ) |
Definition at line 896 of file ptm_mgau.c.
ps_mgau_t * ptm_mgau_init | ( | acmod_t * | acmod, |
bin_mdef_t * | mdef | ||
) |
Definition at line 775 of file ptm_mgau.c.
Definition at line 888 of file ptm_mgau.c.