libsent/src/phmm/calc_tied_mix.c

混合ガウス分布の重みつき和の計算:tied-mixture用,キャッシュ有り [詳細]

#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"
calc_tied_mix.cのインクルード依存関係図

ソースコードを見る。

関数

boolean calc_tied_mix_init ()
boolean calc_tied_mix_prepare (int framenum)
void calc_tied_mix_free ()
LOGPROB calc_tied_mix ()
 Compute the output probability of current state OP_State on tied-mixture model.

変数

static MIXCACHE *** mixture_cache = NULL
 Codebook cache: [time][book_id][0..computed_mixture_num].
static MIXCACHE ** tcache
 Local work area that holds pointer to the cache array [bookid][0..computed_mixture_num] of the current time.
static MIXCACHEttcache
 Local work area that holds pointer to the cache list [0..computed_mixture_num] of the current time and the current codebook.
static int * last_id
 List of computed mixture id on the previous input frame.
static int allocframenum
 Allocated frame length of codebook cache.
static MIXCACHE ** last_tcache
 Pointer to the cache array of previous frame, to pass to compute_gaussset().
static MIXCACHElast_ttcache
 Pointer to the cache list of current codebook on previous frame.

説明

混合ガウス分布の重みつき和の計算:tied-mixture用,キャッシュ有り

作者:
Akinobu LEE
日付:
Thu Feb 17 14:22:44 2005

Tied-mixture 用のガウス混合分布計算ではキャッシュが考慮されます. 計算された混合分布の音響尤度はコードブック単位でフレームごとに キャッシュされ,同じコードブックが同じ時間でアクセスされた場合は そのキャッシュから値を返します.

Revision
1.5

calc_tied_mix.c で定義されています。


関数

boolean calc_tied_mix_init (  ) 

Initialize codebook cache area.

戻り値:
TRUE on success, FALSE on failure.

calc_tied_mix.c57 行で定義されています。

参照元 outprob_init().

boolean calc_tied_mix_prepare ( int  framenum  ) 

Setup codebook cache for the next incoming input.

引数:
framenum [in] length of the next input.
戻り値:
TRUE on success, FALSE on failure.

calc_tied_mix.c73 行で定義されています。

参照元 outprob_prepare().

void calc_tied_mix_free (  ) 

Free work area for tied-mixture calculation.

calc_tied_mix.c113 行で定義されています。

参照元 outprob_free().

LOGPROB calc_tied_mix (  ) 

Compute the output probability of current state OP_State on tied-mixture model.

This function assumes that the OP_state is assigned to a tied-mixture codebook. Here the output probability of Gaussian mixture component referred by OP_state is consulted to the book level cache, and if not computed yet on that input frame time, it will be computed here.

戻り値:
the computed output probability in log10.

calc_tied_mix.c138 行で定義されています。

参照元 outprob_init().


Juliusに対してTue Sep 22 00:15:26 2009に生成されました。  doxygen 1.6.0