#include <sent/stddefs.h>
#include <sent/hmm.h>
Include dependency graph for mkwhmm.c:

Go to the source code of this file.
Functions | |
| static int | totalstatelen (HMM_Logical **hdseq, int hdseqlen) |
| static void | add_arc (HMM_STATE *state, int arc, LOGPROB a) |
| HMM * | new_make_word_hmm_with_lm (HTK_HMM_INFO *hmminfo, HMM_Logical **hdseq, int hdseqlen, LOGPROB *lscore) |
| HMM * | new_make_word_hmm (HTK_HMM_INFO *hmminfo, HMM_Logical **hdseq, int hdseqlen) |
| void | free_hmm (HMM *d) |
Definition in file mkwhmm.c.
| static int totalstatelen | ( | HMM_Logical ** | hdseq, | |
| int | hdseqlen | |||
| ) | [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 |
Definition at line 41 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, | |||
| 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 | |
| lscore | [in] list of log probability to be added at the emitting transition of each phoneme, or NULL if not needed. |
Definition at line 102 of file mkwhmm.c.
Referenced by new_make_word_hmm().
| HMM* new_make_word_hmm | ( | HTK_HMM_INFO * | hmminfo, | |
| HMM_Logical ** | hdseq, | |||
| int | hdseqlen | |||
| ) |
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 |
Definition at line 362 of file mkwhmm.c.
Referenced by do_align(), and scan_word().
| void free_hmm | ( | HMM * | d | ) |
1.5.0