--- mkchadic/makemat.c.orig	2003-06-04 23:19:35.000000000 +0900
+++ mkchadic/makemat.c	2011-11-18 23:04:27.000000000 +0900
@@ -539,8 +539,13 @@
      * 短い規則の順に処理 
      */
     for (rlen = 2; rlen <= rule_len_max; rlen++) {
-	fprintf(stderr, rlen == 2 ? "bi%s" : rlen == 3 ? "tri%s" : "%d%s",
-		"-gram: ", rlen);
+        if (rlen == 2) {
+            fprintf(stderr, "bi-gram");
+        } else if (rlen == 3) {
+            fprintf(stderr, "tri-gram");
+        } else {
+            fprintf(stderr, "%d-gram", rlen);
+        }
 	for (ln = 0; ln < linenum; ln++) {
 	    if (rule_len[ln] != rlen)
 		continue;
