Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

htk_param.h

Go to the documentation of this file.
00001 
00053 /*
00054  * Copyright (c) 1991-2006 Kawahara Lab., Kyoto University
00055  * Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology
00056  * Copyright (c) 2005-2006 Julius project team, Nagoya Institute of Technology, Nagoya Institute of Technology
00057  * All rights reserved
00058  */
00059 
00060 #ifndef __SENT_HTK_PARAM_H__
00061 #define __SENT_HTK_PARAM_H__
00062 
00063 #include <sent/stddefs.h>
00064 #include <sent/htk_defs.h>
00065 
00067 typedef struct {
00068   unsigned int samplenum;       
00069   unsigned int wshift;          
00070   unsigned short sampsize;      
00071   short samptype;               
00072 } HTK_Param_Header;
00073 
00075 typedef struct {
00076   HTK_Param_Header header;      
00077   unsigned int samplenum;       
00078   short veclen;                 
00079   VECT **parvec;                
00080 } HTK_Param;
00081 
00082 
00083 boolean rdparam(char *, HTK_Param *);
00084 HTK_Param *new_param();
00085 void free_param(HTK_Param *);
00086 short param_qualstr2code(char *);
00087 short param_str2code(char *);
00088 char *param_qualcode2str(char *, short, boolean);
00089 char *param_code2str(char *, short, boolean);
00090 HTK_Param *new_select_param_kind(HTK_Param *src, short select_qualifier);
00091 boolean select_param_vmark(HTK_Param *src, short dst_type);
00092 int exec_exclude_one_vector(VECT *vec, int len);
00093 int guess_basenum(HTK_Param *p, short qualtype);
00094 boolean param_strip_zero(HTK_Param *param);
00095 
00096 
00097 /* hmminfo/put_htkdata_info.c */
00098 void put_param_head(HTK_Param_Header *h);
00099 void put_vec(VECT **p, int num, short veclen);
00100 void put_param(HTK_Param *pinfo);
00101 void put_param_info(HTK_Param *pinfo);
00102 
00103 #endif /* __SENT_HTK_PARAM_H__ */

Generated on Tue Mar 28 16:01:39 2006 for Julius by  doxygen 1.4.2