#include <sent/stddefs.h>
#include <sent/hmm.h>
Go to the source code of this file.
Functions | |
| static int | totalstatelen (HMM_Logical **hdseq, int hdseqlen, boolean *has_sp, HTK_HMM_INFO *hmminfo) | 
| Calculate total number of states in a phoneme sequence.   | |
| static void | add_arc (HMM_STATE *state, int arc, LOGPROB a) | 
| Add a transition arc on the HMM state.   | |
| HMM * | new_make_word_hmm_with_lm (HTK_HMM_INFO *hmminfo, HMM_Logical **hdseq, int hdseqlen, boolean *has_sp, LOGPROB *lscore) | 
| Make a HMM instance for recognition from phoneme sequence, with connection probabiliry given for each phoneme.   | |
| HMM * | new_make_word_hmm (HTK_HMM_INFO *hmminfo, HMM_Logical **hdseq, int hdseqlen, boolean *has_sp) | 
| Make a HMM instance for recognition from phoneme sequence.   | |
| void | free_hmm (HMM *d) | 
| Free an HMM instance.   | |
Definition in file mkwhmm.c.
| static int totalstatelen | ( | HMM_Logical ** | hdseq, | |
| int | hdseqlen, | |||
| boolean * | has_sp, | |||
| HTK_HMM_INFO * | hmminfo | |||
| ) |  [static] | 
        
Calculate total number of states in a phoneme sequence.
| hdseq | [in] phoneme sequence as given by pointer list of logical HMM | |
| hdseqlen | [in] length of above | |
| has_sp | [in] indicates where short-pause insertion is possible | |
| hmminfo | [in] HMM definition | 
Definition at line 42 of file mkwhmm.c.
Referenced by new_make_word_hmm_with_lm().
| HMM* new_make_word_hmm_with_lm | ( | HTK_HMM_INFO * | hmminfo, | |
| HMM_Logical ** | hdseq, | |||
| int | hdseqlen, | |||
| boolean * | has_sp, | |||
| LOGPROB * | lscore | |||
| ) | 
Make a HMM instance for recognition from phoneme sequence, with connection probabiliry given for each phoneme.
| hmminfo | [in] HTK HMM definitions data | |
| hdseq | [in] phoneme sequence as given by pointer list of logical HMM | |
| hdseqlen | [in] length of above | |
| has_sp | [in] indicates where short-pause insertion is possible | |
| lscore | [in] list of log probability to be added at the emitting transition of each phoneme, or NULL if not needed. | 
Definition at line 99 of file mkwhmm.c.
Referenced by new_make_word_hmm().
| HMM* new_make_word_hmm | ( | HTK_HMM_INFO * | hmminfo, | |
| HMM_Logical ** | hdseq, | |||
| int | hdseqlen, | |||
| boolean * | has_sp | |||
| ) | 
Make a HMM instance for recognition from phoneme sequence.
| hmminfo | [in] HTK HMM definitions data | |
| hdseq | [in] phoneme sequence as given by pointer list of logical HMM | |
| hdseqlen | [in] length of above | |
| has_sp | [in] indicates where short-pause insertion is possible | 
Definition at line 356 of file mkwhmm.c.
Referenced by scan_word().
| void free_hmm | ( | HMM * | d | ) | 
 1.5.1