[Julius-cvs 248] CVS update: julius4/libsent/src/dfa

アーカイブの一覧に戻る

sumom****@users***** sumom****@users*****
2008年 9月 25日 (木) 13:55:00 JST


Index: julius4/libsent/src/dfa/cpair.c
diff -u julius4/libsent/src/dfa/cpair.c:1.3 julius4/libsent/src/dfa/cpair.c:1.4
--- julius4/libsent/src/dfa/cpair.c:1.3	Mon Jul 21 14:21:17 2008
+++ julius4/libsent/src/dfa/cpair.c	Thu Sep 25 13:54:59 2008
@@ -18,7 +18,7 @@
  * @author Akinobu LEE
  * @date   Tue Feb 15 13:54:44 2005
  *
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
  * 
  */
 /*
@@ -286,8 +286,7 @@
 void
 malloc_dfa_cp(DFA_INFO *dfa, int term_num, int size)
 {
-  int i, j, x;
-  int maxlen;
+  int i;
 
   dfa->cp = (int **)mymalloc(sizeof(int *) * term_num);
   dfa->cplen = (int *)mymalloc(sizeof(int) * term_num);
@@ -421,12 +420,12 @@
     }
     fprintf(fp, "\n");
   }
-  fprintf(fp, "bgn:", i);
+  fprintf(fp, "bgn:");
   for(j=0;j<dfa->cp_begin_len;j++) {
     fprintf(fp, " %d", dfa->cp_begin[j]);
   }
   fprintf(fp, "\n");
-  fprintf(fp, "end:", i);
+  fprintf(fp, "end:");
   for(j=0;j<dfa->cp_end_len;j++) {
     fprintf(fp, " %d", dfa->cp_end[j]);
   }
Index: julius4/libsent/src/dfa/dfa_util.c
diff -u julius4/libsent/src/dfa/dfa_util.c:1.3 julius4/libsent/src/dfa/dfa_util.c:1.4
--- julius4/libsent/src/dfa/dfa_util.c:1.3	Mon Jul 21 14:21:17 2008
+++ julius4/libsent/src/dfa/dfa_util.c	Thu Sep 25 13:54:59 2008
@@ -12,7 +12,7 @@
  * @author Akinobu LEE
  * @date   Tue Feb 15 14:18:36 2005
  *
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
  * 
  */
 /*
@@ -41,7 +41,7 @@
 	 dinfo->state_num, dinfo->arc_num, dinfo->term_num);
   
   dfa_cp_count_size(dinfo, &size, &allocsize);
-  fprintf(fp, "      category-pair matrix: %ld bytes (%d bytes allocated)\n", size, allocsize);
+  fprintf(fp, "      category-pair matrix: %ld bytes (%ld bytes allocated)\n", size, allocsize);
 }
 
 /** 
@@ -53,9 +53,6 @@
 void
 print_dfa_cp(FILE *fp, DFA_INFO *dinfo)
 {
-  int i,j;
-  int t;
-
   if (fp == NULL) return;
   fprintf(fp, "---------- terminal(category)-pair matrix ----------\n");
   dfa_cp_output_rawdata(fp, dinfo);
Index: julius4/libsent/src/dfa/mkcpair.c
diff -u julius4/libsent/src/dfa/mkcpair.c:1.3 julius4/libsent/src/dfa/mkcpair.c:1.4
--- julius4/libsent/src/dfa/mkcpair.c:1.3	Mon Jul 21 14:21:17 2008
+++ julius4/libsent/src/dfa/mkcpair.c	Thu Sep 25 13:54:59 2008
@@ -38,7 +38,7 @@
  * @author Akinobu LEE
  * @date   Tue Feb 15 14:35:33 2005
  *
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
  * 
  */
 /*
@@ -122,8 +122,6 @@
 boolean
 cpair_append(DFA_INFO *dst, DFA_INFO *src, int coffset)
 {
-  int i,j;
-
   /* dst info must be already appended */
   /* [coffset..dst->term_num-1] is the new categories */
   if (dst->term_num - coffset != src->term_num) {


Julius-cvs メーリングリストの案内
アーカイブの一覧に戻る