#include <sent/stddefs.h>
#include <sent/hmm.h>
関数 | |
| 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. | |
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 |
| 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. |
参照元 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 |
参照元 do_align(), と scan_word().
| void free_hmm | ( | HMM * | d | ) |
1.5.4