#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
#include <sent/htk_param.h>
#include <sent/hmm.h>
#include <sent/gprune.h>
#include "globalvars.h"
Include dependency graph for gprune_none.c:
Go to the source code of this file.
Functions | |
LOGPROB | compute_g_base (HTK_HMM_Dens *binfo) |
boolean | gprune_none_init () |
void | gprune_none_free () |
void | gprune_none (HTK_HMM_Dens **g, int num, int *last_id) |
Compute a set of Gaussians with no pruning. |
gprune_none() will be used by calling outprob_init() to set its pointer to the global variable compute_gaussset. Then it will be called from calc_tied_mix() or calc_mix().
Definition in file gprune_none.c.
LOGPROB compute_g_base | ( | HTK_HMM_Dens * | binfo | ) |
Calculate probability of a Gaussian density against input vector on OP_vec.
binfo | [in] a Gaussian density |
Definition at line 58 of file gprune_none.c.
Referenced by compute_gs_scores(), gprune_beam(), gprune_heu(), gprune_none(), and gprune_safe().
boolean gprune_none_init | ( | ) |
Initialize and setup work area for Gaussian computation
Definition at line 84 of file gprune_none.c.
Referenced by outprob_init().
void gprune_none_free | ( | ) |
Free gprune_none related work area.
Definition at line 100 of file gprune_none.c.
Referenced by outprob_init().
void gprune_none | ( | HTK_HMM_Dens ** | g, | |
int | num, | |||
int * | last_id | |||
) |
Compute a set of Gaussians with no pruning.
The calculated scores will be stored to OP_calced_score, with its corresponding mixture id to OP_calced_id. The number of calculated mixtures is also stored in OP_calced_num.
This can be called from calc_tied_mix() or calc_mix().
g | [in] set of Gaussian densities to compute the output probability. | |
num | [in] length of above | |
last_id | [in] ID list of N-best mixture in previous input frame, or NULL if not exist |
Definition at line 121 of file gprune_none.c.
Referenced by outprob_init().