libsent/src/hmminfo/put_htkdata_info.c File Reference

Output HMM and parameter information to standard out. More...

#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
#include <sent/htk_param.h>
#include <sent/hmm.h>
#include <sent/hmm_calc.h>

Go to the source code of this file.

Functions

void put_htk_trans (FILE *fp, HTK_HMM_Trans *t)
 Output transition matrix.
void put_htk_var (FILE *fp, HTK_HMM_Var *v)
 Output variance vector (diagonal).
void put_htk_dens (FILE *fp, HTK_HMM_Dens *d)
 Output a density information, mean and variance.
void put_htk_state (FILE *fp, HTK_HMM_State *s)
 Output mixture component of a state.
void put_htk_hmm (FILE *fp, HTK_HMM_Data *h)
 Output HMM model, number of states and information for each state.
void put_logical_hmm (FILE *fp, HMM_Logical *logical)
 Output logical HMM data and its mapping status.
void put_hmm_arc (FILE *fp, HMM *d)
 Output transition arcs of an HMM instance.
void put_hmm_outprob (FILE *fp, HMM *d)
 Output output probability information of an HMM instance.
void put_hmm (FILE *fp, HMM *d)
 Output an HMM instance.
void put_param_head (FILE *fp, HTK_Param_Header *h)
 Output parameter header.
void put_vec (FILE *fp, VECT **p, int num, short veclen)
 Output array of vectors.
void put_param (FILE *fp, HTK_Param *pinfo)
 Output the whole parameter information, including header and all vectors.
void put_param_info (FILE *fp, HTK_Param *pinfo)
 Output the length of an input parameter by number of frames and seconds.
static int get_max_mixture_num (HTK_HMM_INFO *hmminfo)
 Get the maximum number of mixtures per state in a HMM definition.
void print_hmmdef_info (FILE *fp, HTK_HMM_INFO *hmminfo)
 Output total statistic informations of the HMM definition data.

Variables

static char buf [512]
 Local work area for text handling.


Detailed Description

Output HMM and parameter information to standard out.

Author:
Akinobu LEE
Date:
Tue Feb 15 23:36:00 2005
Revision
1.1.1.1

Definition in file put_htkdata_info.c.


Function Documentation

void put_htk_trans ( FILE *  fp,
HTK_HMM_Trans t 
)

Output transition matrix.

Parameters:
fp [in] file descriptor
t [in] pointer to a transion matrix

Definition at line 41 of file put_htkdata_info.c.

Referenced by check_hmm_limit(), and put_htk_hmm().

void put_htk_var ( FILE *  fp,
HTK_HMM_Var v 
)

Output variance vector (diagonal).

Parameters:
fp [in] file descriptor
v [in] pointer to a variance data

Definition at line 65 of file put_htkdata_info.c.

Referenced by put_htk_dens().

void put_htk_dens ( FILE *  fp,
HTK_HMM_Dens d 
)

Output a density information, mean and variance.

Parameters:
fp [in] file descriptor
d [in] pointer to a density data

Definition at line 88 of file put_htkdata_info.c.

Referenced by put_htk_state().

void put_htk_state ( FILE *  fp,
HTK_HMM_State s 
)

Output mixture component of a state.

Parameters:
fp [in] file descriptor
s [in] pointer to HMM state

Definition at line 113 of file put_htkdata_info.c.

Referenced by put_hmm_outprob(), and put_htk_hmm().

void put_htk_hmm ( FILE *  fp,
HTK_HMM_Data h 
)

Output HMM model, number of states and information for each state.

Parameters:
fp [in] file descriptor
h [in] pointer to HMM model

Definition at line 136 of file put_htkdata_info.c.

void put_logical_hmm ( FILE *  fp,
HMM_Logical logical 
)

Output logical HMM data and its mapping status.

Parameters:
fp [in] file descriptor
logical [in] pointer to a logical HMM

Definition at line 157 of file put_htkdata_info.c.

Referenced by print_hmminfo().

void put_hmm_arc ( FILE *  fp,
HMM d 
)

Output transition arcs of an HMM instance.

Parameters:
fp [in] file descriptor
d [in] pointer to a HMM instance.

Definition at line 175 of file put_htkdata_info.c.

Referenced by put_hmm().

void put_hmm_outprob ( FILE *  fp,
HMM d 
)

Output output probability information of an HMM instance.

Parameters:
fp [in] file descriptor
d [in] pointer to a HMM instance.

Definition at line 200 of file put_htkdata_info.c.

Referenced by put_hmm().

void put_hmm ( FILE *  fp,
HMM d 
)

Output an HMM instance.

Parameters:
fp [in] file descriptor
d [in] pointer to a HMM instance.

Definition at line 223 of file put_htkdata_info.c.

void put_param_head ( FILE *  fp,
HTK_Param_Header h 
)

Output parameter header.

Parameters:
fp [in] file descriptor
h [in] pointer to a parameter header information

Definition at line 237 of file put_htkdata_info.c.

Referenced by put_param().

void put_vec ( FILE *  fp,
VECT **  p,
int  num,
short  veclen 
)

Output array of vectors.

Parameters:
fp [in] file descriptor
p [in] pointer to vector array represented as [0..num-1][0...veclen-1]
num [in] number of vectors in p
veclen [in] length of each vector

Definition at line 255 of file put_htkdata_info.c.

Referenced by put_param().

void put_param ( FILE *  fp,
HTK_Param pinfo 
)

Output the whole parameter information, including header and all vectors.

Parameters:
fp [in] file descriptor
pinfo [in] pointer to parameter structure.

Definition at line 277 of file put_htkdata_info.c.

void put_param_info ( FILE *  fp,
HTK_Param pinfo 
)

Output the length of an input parameter by number of frames and seconds.

Parameters:
fp [in] file descriptor
pinfo [in] pointer to parameter structure.

Definition at line 291 of file put_htkdata_info.c.

static int get_max_mixture_num ( HTK_HMM_INFO hmminfo  )  [static]

Get the maximum number of mixtures per state in a HMM definition.

Parameters:
hmminfo [in] HMM definition data.
Returns:
the maximum number of mixtures per state.

Definition at line 310 of file put_htkdata_info.c.

Referenced by print_hmmdef_info().

void print_hmmdef_info ( FILE *  fp,
HTK_HMM_INFO hmminfo 
)

Output total statistic informations of the HMM definition data.

Parameters:
fp [in] file descriptor
hmminfo [in] HMM definition data.

Definition at line 329 of file put_htkdata_info.c.

Referenced by print_engine_info().


Generated on Tue Dec 18 16:01:39 2007 for Julius by  doxygen 1.5.4