libsent/src/hmminfo/check_hmm_restriction.c

与えられた HMM の遷移が使用可能な形式かどうかチェックする [詳細]

#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
#include <sent/htk_param.h>
#include <sent/hmm.h>
check_hmm_restriction.cのインクルード依存関係図

ソースコードを見る。

マクロ定義

#define GOOD   0
 Mark transition as allowed.
#define FIXED   1
 Mark fixed transition.
#define BAD   3
 Mark not supported transition.

関数

static int trans_ok_p (HTK_HMM_Trans *t)
boolean check_hmm_limit (HTK_HMM_Data *dt)
boolean check_all_hmm_limit (HTK_HMM_INFO *hmminfo)

説明

与えられた HMM の遷移が使用可能な形式かどうかチェックする

作者:
Akinobu LEE
日付:
Tue Feb 15 19:00:58 2005

TRANSITION RESTRICTIONS:

In multipath version, all the transitions including model-skipping transition is allowed. However, in normal version, their transition is restricted as above.

If such transition is found, Julius output warning and proceed by modifying transition to suite for the restriction.

Revision
1.4

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


関数

static int trans_ok_p ( HTK_HMM_Trans t  )  [static]

Scan the transition matrix to test the ristrictions.

引数:
t [in] a transition matrix to be tested
戻り値:
0 if it conforms, 1 if unacceptable transition was found and modification forced, 3 if totally unsupported transition as included and cannot by handled.

check_hmm_restriction.c75 行で定義されています。

参照元 check_hmm_limit().

boolean check_hmm_limit ( HTK_HMM_Data dt  ) 

Check if the transition matrix conforms the ristrictions of Julius.

引数:
dt [in] HTK HMM model to check.
戻り値:
TRUE on success, FALSE if the check failed.

check_hmm_restriction.c209 行で定義されています。

参照元 check_all_hmm_limit().

boolean check_all_hmm_limit ( HTK_HMM_INFO hmminfo  ) 

Check all the HMM definitions in a HTK HMM definition data.

引数:
hmminfo [in] HTK HMM data to check.
戻り値:
TRUE if there was no bad models, FALSE if at least one model is bad.

check_hmm_restriction.c242 行で定義されています。

参照元 rdhmmdef().


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