[Julius-cvs 269] CVS update: julius4/libsent/src/voca

アーカイブの一覧に戻る

sumom****@users***** sumom****@users*****
2008年 9月 30日 (火) 12:58:18 JST


Index: julius4/libsent/src/voca/voca_load_htkdict.c
diff -u julius4/libsent/src/voca/voca_load_htkdict.c:1.4 julius4/libsent/src/voca/voca_load_htkdict.c:1.5
--- julius4/libsent/src/voca/voca_load_htkdict.c:1.4	Tue Aug  5 18:50:54 2008
+++ julius4/libsent/src/voca/voca_load_htkdict.c	Tue Sep 30 12:58:18 2008
@@ -19,7 +19,7 @@
  * @author Akinobu LEE
  * @date   Fri Feb 18 19:43:06 2005
  *
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
  * 
  */
 /*
@@ -143,11 +143,11 @@
   buf = (char *)mymalloc(strlen(name) + 1);
   strcpy(buf, name);
   if (winfo->errph_root == NULL) {
-    winfo->errph_root = aptree_make_root_node(buf);
+    winfo->errph_root = aptree_make_root_node(buf, &(winfo->mroot));
   } else {
     match = aptree_search_data(buf, winfo->errph_root);
     if (match == NULL || !strmatch(match, buf)) {
-      aptree_add_entry(buf, buf, match, &(winfo->errph_root));
+      aptree_add_entry(buf, buf, match, &(winfo->errph_root), &(winfo->mroot));
     }
   }
 }
Index: julius4/libsent/src/voca/voca_load_wordlist.c
diff -u julius4/libsent/src/voca/voca_load_wordlist.c:1.3 julius4/libsent/src/voca/voca_load_wordlist.c:1.4
--- julius4/libsent/src/voca/voca_load_wordlist.c:1.3	Tue Dec 18 17:45:54 2007
+++ julius4/libsent/src/voca/voca_load_wordlist.c	Tue Sep 30 12:58:18 2008
@@ -13,7 +13,7 @@
  * @author Akinobu LEE
  * @date   Sun Jul 22 13:29:32 2007
  *
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
  * 
  */
 /*
@@ -61,11 +61,11 @@
   buf = (char *)mymalloc(strlen(name) + 1);
   strcpy(buf, name);
   if (winfo->errph_root == NULL) {
-    winfo->errph_root = aptree_make_root_node(buf);
+    winfo->errph_root = aptree_make_root_node(buf, &(winfo->mroot));
   } else {
     match = aptree_search_data(buf, winfo->errph_root);
     if (match == NULL || !strmatch(match, buf)) {
-      aptree_add_entry(buf, buf, match, &(winfo->errph_root));
+      aptree_add_entry(buf, buf, match, &(winfo->errph_root), &(winfo->mroot));
     }
   }
 }


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