Julius 4.2
関数
libsent/src/phmm/gprune_none.c

混合ガウス分布計算: Gaussian pruning 無し [詳細]

#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, int lnum)
 Compute a set of Gaussians with no pruning.

説明

混合ガウス分布計算: Gaussian pruning 無し

gprune_none()は混合ガウス分布集合の計算ルーチンの一つです. pruningなどを行なわずに全てのGauss分布について出力確率を求めます. tied-mixtureでないモデルではこの関数がデフォルトで用いられます. また "-gprune none" を指定することでも選択することができます.

outprob_init() によって gprune_none() が関数ポインタ compute_gaussset に セットされ,それが calc_tied_mix() またはcalc_mix() から呼び出されます.

作者:
Akinobu LEE
日付:
Thu Feb 17 05:09:46 2005
Revision:
1.5

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
戻り値:
the output log probability.

gprune_none.c59 行で定義されています。

参照元 compute_gs_scores(), 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
戻り値:
TRUE on success, FALSE on failure.

gprune_none.c92 行で定義されています。

参照元 outprob_init().

void gprune_none_free ( HMMWork wrk)

Free gprune_none related work area.

引数:
wrk[i/o] HMM computation work area

gprune_none.c110 行で定義されています。

参照元 outprob_init().

void gprune_none ( HMMWork wrk,
HTK_HMM_Dens **  g,
int  num,
int *  last_id,
int  lnum 
)

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
lnum[in] length of last_id

gprune_none.c133 行で定義されています。

参照元 outprob_init().