Julius 4.2
関数
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>

ソースコードを見る。

関数

boolean htk_hmm_has_several_arc_on_edge (HTK_HMM_INFO *hmminfo)
 Return TRUE if it has more than one arc from initial state, or to the final state.
static boolean trans_ok_p (HTK_HMM_Trans *t)
 Scan the transition matrix to test the ristrictions.
boolean check_hmm_limit (HTK_HMM_Data *dt)
 Check if the transition matrix conforms the ristrictions of Julius.
boolean check_all_hmm_limit (HTK_HMM_INFO *hmminfo)
 Check all the HMM definitions in a HTK HMM definition data.
boolean is_skippable_model (HTK_HMM_Data *d)
 モデルが,出力状態を経由せずに入力状態から出力状態へ直接遷移するような 遷移を持つかどうかをチェックする.

説明

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

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.

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

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


関数

boolean htk_hmm_has_several_arc_on_edge ( HTK_HMM_INFO hmminfo)

Return TRUE if it has more than one arc from initial state, or to the final state.

In such case, Julius should be run in multi-path version.

引数:
hmminfo[in] HMM definition
戻り値:
TRUE if has, or FALSE if not exist.

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

参照元 rdhmmdef(), と read_binhmm().

static boolean 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.c109 行で定義されています。

参照元 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.c174 行で定義されています。

参照元 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.c198 行で定義されています。

参照元 rdhmmdef().

boolean is_skippable_model ( HTK_HMM_Data d)

モデルが,出力状態を経由せずに入力状態から出力状態へ直接遷移するような 遷移を持つかどうかをチェックする.

引数:
d[in] 論理HMM
戻り値:
入力から出力への直接遷移を持つ場合 TRUE, 持たない場合 FALSE を返す.

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

参照元 print_hmmdef_info().