sumom****@users*****
sumom****@users*****
2008年 9月 25日 (木) 13:55:00 JST
Index: julius4/libsent/src/hmminfo/put_htkdata_info.c diff -u julius4/libsent/src/hmminfo/put_htkdata_info.c:1.4 julius4/libsent/src/hmminfo/put_htkdata_info.c:1.5 --- julius4/libsent/src/hmminfo/put_htkdata_info.c:1.4 Mon Jul 7 14:50:11 2008 +++ julius4/libsent/src/hmminfo/put_htkdata_info.c Thu Sep 25 13:55:00 2008 @@ -12,7 +12,7 @@ * @author Akinobu LEE * @date Tue Feb 15 23:36:00 2005 * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * */ /* @@ -122,7 +122,7 @@ book = (GCODEBOOK *)m->b; fprintf(fp, " tmix codebook = \"%s\" (size=%d)\n", book->name, book->num); for (i=0;i<m->mix_num;i++) { - fprintf(fp, " weight%d = %f\n", exp(m->bweight[i])); + fprintf(fp, " weight%d = %f\n", i, exp(m->bweight[i])); } } else { for (i=0;i<m->mix_num;i++) { @@ -141,7 +141,7 @@ void put_htk_state(FILE *fp, HTK_HMM_State *s) { - int st, i; + int st; if (fp == NULL) return; if (s == NULL) {