Created
February 26, 2015 18:44
-
-
Save ikegami-yukino/51cb4feb0739412be2e1 to your computer and use it in GitHub Desktop.
OpenJtalk 1.08 の間延びするバグ修正パッチ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** jpcommon/jpcommon_label.c.old 2015-02-27 03:35:32.000000000 +0900 | |
--- jpcommon/jpcommon_label.c 2015-02-27 03:36:34.000000000 +0900 | |
*************** static int index_accent_phrase_in_breath | |
*** 296,301 **** | |
--- 296,302 ---- | |
if (index == a) | |
break; | |
} | |
+ if (i > 3) i = 3; | |
return i; | |
} | |
*************** static int count_mora_in_utterance(JPCom | |
*** 395,400 **** | |
--- 396,402 ---- | |
for (i = 0, index = m->next; index != NULL; index = index->next) | |
i++; | |
+ if (i > 10) i = 10; | |
return index_mora_in_utterance(m) + i; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment