#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
#include <sent/htk_param.h>
#include <sent/hmm.h>
#include <sent/hmm_calc.h>
Go to the source code of this file.
Functions | |
boolean | outprob_init (HMMWork *wrk, HTK_HMM_INFO *hmminfo, HTK_HMM_INFO *gshmm, int gms_num, int gprune_method, int gprune_mixnum) |
Initialize and setup acoustic computation functions. | |
boolean | outprob_prepare (HMMWork *wrk, int framenum) |
Prepare for the next input of given frame length. | |
void | outprob_free (HMMWork *wrk) |
Free all work area for outprob computation. |
These functions switch computation function suitable for the given HMM types (tied-mixture or shared-state, use GMS or not, and so on). It also sets various parameters and global pointers for the likelihood computation. These functions should be called at first.
How to usage these acoustic computation routines:
Definition in file outprob_init.c.
boolean outprob_init | ( | HMMWork * | wrk, | |
HTK_HMM_INFO * | hmminfo, | |||
HTK_HMM_INFO * | gshmm, | |||
int | gms_num, | |||
int | gprune_method, | |||
int | gprune_mixnum | |||
) |
Initialize and setup acoustic computation functions.
wrk | [i/o] HMM computation work area | |
hmminfo | [in] HMM definition | |
gshmm | [in] GMS HMM definition if exist, or NULL if not | |
gms_num | [in] number of GMS HMM to compute (valid if gshmm != NULL) | |
gprune_method | [in] gaussian pruning method | |
gprune_mixnum | [in] number of pdf to compute at a codebook in gaussian pruning |
select functions
Definition at line 68 of file outprob_init.c.
Referenced by j_final_fusion().
Prepare for the next input of given frame length.
wrk | [i/o] HMM computation work area | |
framenum | [in] input length in frame. |
Definition at line 201 of file outprob_init.c.
Referenced by get_back_trellis(), j_recognize_stream_core(), proceed_one_frame(), RealTimePipeLinePrepare(), and RealTimeResume().
void outprob_free | ( | HMMWork * | wrk | ) |
Free all work area for outprob computation.
wrk | [i/o] HMM computation work area |
Definition at line 222 of file outprob_init.c.
Referenced by j_process_am_free().