#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
#include <sent/htk_param.h>
#include <sent/hmm.h>
#include <sent/hmm_calc.h>
関数 | |
| LOGPROB | compute_g_base (HMMWork *wrk, HTK_HMM_Dens *binfo) |
| Calculate probability of a Gaussian density against input vector on OP_vec. | |
| boolean | gprune_none_init (HMMWork *wrk) |
| Initialize and setup work area for Gaussian computation | |
| void | gprune_none_free (HMMWork *wrk) |
| Free gprune_none related work area. | |
| void | gprune_none (HMMWork *wrk, HTK_HMM_Dens **g, int num, int *last_id) |
| Compute a set of Gaussians with no pruning | |
gprune_none()は混合ガウス分布集合の計算ルーチンの一つです. pruningなどを行なわずに全てのGauss分布について出力確率を求めます. tied-mixtureでないモデルではこの関数がデフォルトで用いられます. また "-gprune none" を指定することでも選択することができます.
outprob_init() によって gprune_none() が関数ポインタ compute_gaussset に セットされ,それが calc_tied_mix() またはcalc_mix() から呼び出されます.
gprune_none.c で定義されています。
| LOGPROB compute_g_base | ( | HMMWork * | wrk, | |
| HTK_HMM_Dens * | binfo | |||
| ) |
Calculate probability of a Gaussian density against input vector on OP_vec.
| wrk | [i/o] HMM computation work area | |
| binfo | [in] a Gaussian density |
gprune_none.c の 59 行で定義されています。
参照元 gprune_beam(), gprune_heu(), gprune_none(), と gprune_safe().
| boolean gprune_none_init | ( | HMMWork * | wrk | ) |
Initialize and setup work area for Gaussian computation
| wrk | [i/o] HMM computation work area |
gprune_none.c の 86 行で定義されています。
参照元 outprob_init().
| void gprune_none_free | ( | HMMWork * | wrk | ) |
Free gprune_none related work area.
| wrk | [i/o] HMM computation work area |
gprune_none.c の 104 行で定義されています。
参照元 outprob_init().
| void gprune_none | ( | HMMWork * | wrk, | |
| 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().
| wrk | [i/o] HMM computation work area | |
| 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 |
gprune_none.c の 126 行で定義されています。
参照元 outprob_init().
1.5.4