libsent/src/hmminfo/rdhmmlist.c File Reference

Read in HMMList file. More...

#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
#include <sent/ptree.h>

Include dependency graph for rdhmmlist.c:

Go to the source code of this file.

Defines

#define MAXLINEINHMMLIST   256
 Maximum line length in HMMList.

Functions

boolean rdhmmlist (FILE *fp, HTK_HMM_INFO *hmminfo)


Detailed Description

Read in HMMList file.

Author:
Akinobu LEE
Date:
Wed Feb 16 04:04:23 2005
HMMList file specifies how the phones as described in word dictionary, or their context-dependent form, should be mapped to actual defined HMM.

In HMMList file, the possible phone names and their corresponding HMM name should be specified one per line. The phone name should be put on the first column, and its corresponding HMM name in the HTK HMM definition file should be defined on the second column. If the two strings are the same, which occurs when a HMM of the phone name is directly defined, the second column can be omitted.

When using a triphone model, ALL the possible triphones that can appear on the given word dictionary should be specified in the HMMList file. If some possible triphone are not specified in the HMMList, Julius produces error.

Revision
1.4

Definition in file rdhmmlist.c.


Function Documentation

boolean rdhmmlist ( FILE *  fp,
HTK_HMM_INFO hmminfo 
)

Read a HMMList file and build initial logical triphone list.

Parameters:
fp [in] file pointer
hmminfo [i/o] HMM definition data to store the logical phone list
Returns:
TRUE on success, FALSE on failure.

Definition at line 68 of file rdhmmlist.c.

Referenced by init_hmminfo().


Generated on Tue Dec 26 12:54:50 2006 for Julian by  doxygen 1.5.0