#include <sent/stddefs.h>
#include <sent/htk_param.h>
#include <sent/htk_hmm.h>
Include dependency graph for rdhmmdef.c:

Go to the source code of this file.
| Defines | |
| #define | MAXBUFLEN 4096 | 
| Maximum length of a line in the input. | |
| Functions | |
| void | rderr (char *str) | 
| char * | read_token (FILE *fp) | 
| static void | conv_log_arc (HTK_HMM_INFO *hmm) | 
| void | init_hmm (HTK_HMM_INFO *hmm) | 
| boolean | rdhmmdef (FILE *fp, HTK_HMM_INFO *hmm) | 
| Main top routine to read in HTK HMM definition file. | |
| Variables | |
| char * | rdhmmdef_token | 
| Current token. | |
| static char * | buf = NULL | 
| Local work area for token reading. | |
| static int | line | 
| Input Line count. | |
This file also contains functions and global variables for per-token reading tailored for reading HTK HMM definition file. The read_token() will read the file per token, and the read token is stored in a global variable rdhmmdef_token. The other reading function will refer to this variable to read the current token.
Definition in file rdhmmdef.c.
| 
 | 
| Output error message, with current reading status. 
 
 Definition at line 60 of file rdhmmdef.c. Referenced by codebook_add(), def_regtree_macro(), dens_add(), dens_read(), get_dens_data(), get_opttype_str(), get_state_data(), get_trans_data(), get_var_data(), htk_hmmdata_add(), htk_hmmdata_read(), rdhmmdef(), read_global_opt(), state_add(), tmix_read(), trans_add(), trans_read(), var_add(), and var_read(). | 
| 
 | 
| Read next token and ste it to rdhmmdef_token. 
 
 
 Definition at line 77 of file rdhmmdef.c. Referenced by dens_read(), get_dens_data(), get_state_data(), get_trans_data(), get_var_data(), htk_hmmdata_read(), rdhmmdef(), read_global_opt(), regtree_read(), state_read(), tmix_read(), trans_read(), and var_read(). | 
| 
 | 
| Convert all the transition probabilities to log10 scale. 
 
 Definition at line 106 of file rdhmmdef.c. Referenced by rdhmmdef(). | 
| 
 | 
| Initialize the HMM definition data by setting default values. 
 
 Definition at line 129 of file rdhmmdef.c. Referenced by rdhmmdef(). | 
| 
 | ||||||||||||
| Main top routine to read in HTK HMM definition file. A HTK HMM definition file will be read from fp. After reading, the parameter type is checked and calculate some statistics. 
 
 
 Definition at line 174 of file rdhmmdef.c. Referenced by init_hmminfo(). | 
 1.4.2
 1.4.2