shithub: flite

Download patch

ref: b273a40041a0330bd1545316eed63959a6cc4bdd
parent: d673f65b2c4a8cd3da7447079309a6dc4bcf1a5e
author: Alan W Black <awb@cs.cmu.edu>
date: Tue Jun 26 03:30:49 EDT 2018

remove some debug messages

--- a/lang/cmu_grapheme_lex/cmu_grapheme_lex.c
+++ b/lang/cmu_grapheme_lex/cmu_grapheme_lex.c
@@ -89,8 +89,10 @@
         /* afterwards */
         cst_utf8_as_hex(val_string(val_car(v)),ord);
         phindex = cst_find_u2sampa(ord);
+#if 0        
         if (phindex < 0)
             printf("awb_debug no sampa %s %s\n",val_string(val_car(v)),ord);
+#endif        
         for (i=4; (phindex>=0) && (i>0); i--)
         {
             if (unicode_sampa_mapping[phindex][i])
@@ -100,7 +102,7 @@
     }
 
     phones = val_reverse(phones);
-#if 1
+#if 0
     printf("cmu_grapheme_lex.c: word \"%s\" ",word);
     val_print(stdout,phones);
     printf("\n");