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

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

#include <sent/stddefs.h>
#include <sent/speech.h>
#include <sent/htk_hmm.h>
#include <sent/htk_param.h>
#include <sent/hmm.h>
#include <sent/hmm_calc.h>

ソースコードを見る。

関数

boolean calc_tied_mix_init (HMMWork *wrk)
 Initialize codebook cache area.
boolean calc_tied_mix_prepare (HMMWork *wrk, int framenum)
 Setup codebook cache for the next incoming input.
static void calc_tied_mix_extend (HMMWork *wrk, int reqframe)
 Expand the cache to time axis if needed.
void calc_tied_mix_free (HMMWork *wrk)
 Free work area for tied-mixture calculation.
LOGPROB calc_tied_mix (HMMWork *wrk)
 Compute the output probability of current state OP_State on tied-mixture model.
LOGPROB calc_compound_mix (HMMWork *wrk)
 Compute the output probability of current state OP_State, regardless of tied-mixture model or state-level mixture PDF.

説明

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

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

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

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


関数

boolean calc_tied_mix_init ( HMMWork wrk)

Initialize codebook cache area.

引数:
wrk[i/o] HMM computation work area
戻り値:
TRUE on success, FALSE on failure.

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

参照元 outprob_init().

boolean calc_tied_mix_prepare ( HMMWork wrk,
int  framenum 
)

Setup codebook cache for the next incoming input.

引数:
wrk[i/o] HMM computation work area
framenum[in] length of the next input.
戻り値:
TRUE on success, FALSE on failure.

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

参照元 outprob_prepare().

static void calc_tied_mix_extend ( HMMWork wrk,
int  reqframe 
) [static]

Expand the cache to time axis if needed.

引数:
wrk[i/o] HMM computation work area
reqframe[in] required frame length

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

参照元 calc_compound_mix(), と calc_tied_mix().

void calc_tied_mix_free ( HMMWork wrk)

Free work area for tied-mixture calculation.

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

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

参照元 outprob_free().

LOGPROB calc_tied_mix ( HMMWork wrk)

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.

引数:
wrk[i/o] HMM computation work area
戻り値:
the computed output probability in log10.

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

参照元 outprob_init().

LOGPROB calc_compound_mix ( HMMWork wrk)

Compute the output probability of current state OP_State, regardless of tied-mixture model or state-level mixture PDF.

This function switches calculation function of calc_mix() and calc_tied_mix() based on the mixture PDF information. This will be used on a system which has tied-mixture codebook but some states still has their own mixture PDF.

The initialization functions should be the same as calc_tied_mix(), since calc_mix() has no specific initialization.

引数:
wrk[i/o] HMM computation work area
戻り値:
the computed output probability in log10.

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

参照元 outprob_init().