#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
#include <sent/htk_param.h>
#include <sent/hmm.h>
Include dependency graph for check_hmm_restriction.c:
Go to the source code of this file.
Defines | |
#define | GOOD 0 |
Mark transition as allowed. | |
#define | FIXED 1 |
Mark fixed transition. | |
#define | BAD 3 |
Mark not supported transition. | |
Functions | |
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) |
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.
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 |
Definition at line 75 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 209 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 242 of file check_hmm_restriction.c.
Referenced by rdhmmdef().