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

音響尤度計算ルーチンの初期化とセットアップ [詳細]

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

ソースコードを見る。

関数

boolean outprob_init (HMMWork *wrk, HTK_HMM_INFO *hmminfo, HTK_HMM_INFO *gshmm, int gms_num, int gprune_method, int gprune_mixnum)
 Initialize and setup acoustic computation functions.
boolean outprob_prepare (HMMWork *wrk, int framenum)
 Prepare for the next input of given frame length.
void outprob_free (HMMWork *wrk)
 Free all work area for outprob computation.

説明

音響尤度計算ルーチンの初期化とセットアップ

音響モデルのタイプにあわせた計算ルーチンの選択や,計算用の各種 パラメータの初期化を行います.これらの初期化関数は音響尤度計算を始める前に 呼び出される必要があります.

音響尤度計算関数の使用方法:

  1. 最初に outprob_init() を呼んで初期化とセットアップを行います.
  2. 各入力に対して,以下を行います.
    1. outprob_prepare() で必要な尤度キャッシュを確保します.
    2. outprob(t, hmmstate, param) で各状態に対する音響尤度を計算して 返します.
作者:
Akinobu LEE
日付:
Thu Feb 17 13:35:37 2005
Revision:
1.5

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


関数

boolean outprob_init ( HMMWork wrk,
HTK_HMM_INFO hmminfo,
HTK_HMM_INFO gshmm,
int  gms_num,
int  gprune_method,
int  gprune_mixnum 
)

Initialize and setup acoustic computation functions.

引数:
wrk[i/o] HMM computation work area
hmminfo[in] HMM definition
gshmm[in] GMS HMM definition if exist, or NULL if not
gms_num[in] number of GMS HMM to compute (valid if gshmm != NULL)
gprune_method[in] gaussian pruning method
gprune_mixnum[in] number of pdf to compute at a codebook in gaussian pruning
戻り値:
TRUE on success, FALSE on failure.

select functions

outprob_init.c68 行で定義されています。

参照元 j_final_fusion().

boolean outprob_prepare ( HMMWork wrk,
int  framenum 
)

Prepare for the next input of given frame length.

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

outprob_init.c201 行で定義されています。

参照元 get_back_trellis(), j_recognize_stream_core(), RealTimePipeLinePrepare(), と RealTimeResume().

void outprob_free ( HMMWork wrk)

Free all work area for outprob computation.

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

outprob_init.c222 行で定義されています。

参照元 j_process_am_free().