#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
#include <sent/htk_param.h>
#include <sent/hmm.h>
Go to the source code of this file.
Functions | |
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) |
Check if the model has direct transition from initial state to final state, skipping all the output state. |
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.
Definition in file 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 |
Definition at line 63 of file check_hmm_restriction.c.
Referenced by rdhmmdef(), and 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 |
Definition at line 109 of file check_hmm_restriction.c.
Referenced by 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. |
Definition at line 174 of file check_hmm_restriction.c.
Referenced by 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. |
Definition at line 198 of file check_hmm_restriction.c.
Referenced by rdhmmdef().
boolean is_skippable_model | ( | HTK_HMM_Data * | d | ) |
Check if the model has direct transition from initial state to final state, skipping all the output state.
d | [in] logical HMM |
Definition at line 232 of file check_hmm_restriction.c.
Referenced by print_hmmdef_info().