Skip to content

Commit 427cfd7

Browse files
authored
to 1.11 (r9y9#1)
1 parent 9572293 commit 427cfd7

29 files changed

+305125
-937
lines changed

src/NEWS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Version 1.11:
2+
* add UniDic.
3+
* add digit rules for digits including comma.
4+
* add pronunciation rules for filler.
5+
* fix some bugs.
6+
17
Version 1.10:
28
* modify digit rules.
39
* add many words to dictionary.

src/README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
===============================================================================
2-
The Japanese TTS System "Open JTalk" version 1.10
3-
release December 25, 2016
2+
The Japanese TTS System "Open JTalk" version 1.11
3+
release December 25, 2018
44

55

66
The Open JTalk is a Japanese TTS System. It has been being developed by HTS
@@ -24,7 +24,7 @@ the conditions in the following license:
2424
/* http://open-jtalk.sourceforge.net/ */
2525
/* ----------------------------------------------------------------- */
2626
/* */
27-
/* Copyright (c) 2008-2016 Nagoya Institute of Technology */
27+
/* Copyright (c) 2008-2018 Nagoya Institute of Technology */
2828
/* Department of Computer Science */
2929
/* */
3030
/* All rights reserved. */

src/bin/open_jtalk.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/* http://open-jtalk.sourceforge.net/ */
55
/* ----------------------------------------------------------------- */
66
/* */
7-
/* Copyright (c) 2008-2016 Nagoya Institute of Technology */
7+
/* Copyright (c) 2008-2018 Nagoya Institute of Technology */
88
/* Department of Computer Science */
99
/* */
1010
/* All rights reserved. */
@@ -228,6 +228,11 @@ static void usage()
228228
fprintf(stderr, "Copyright (C) 2009 Nara Institute of Science and Technology\n");
229229
fprintf(stderr, "All rights reserved.\n");
230230
fprintf(stderr, "\n");
231+
fprintf(stderr, "UniDic\n");
232+
fprintf(stderr, "Version 2.2.0 (https://unidic.ninjal.ac.jp/)\n");
233+
fprintf(stderr, "Copyright (C) 2011-2017 The UniDic Consortium\n");
234+
fprintf(stderr, "All rights reserved.\n");
235+
fprintf(stderr, "\n");
231236
fprintf(stderr, "open_jtalk - The Japanese TTS system \"Open JTalk\"\n");
232237
fprintf(stderr, "\n");
233238
fprintf(stderr, " usage:\n");

src/configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Process this file with autoconf to produce a configure script.
22
AC_PREREQ(2.59)
3-
AC_INIT(open_jtalk, 1.10, [email protected])
3+
AC_INIT(open_jtalk, 1.11, [email protected])
44
AC_CONFIG_AUX_DIR([config])
5-
AC_COPYRIGHT(Copyright 2008-2016 Nagoya Institute of Technology)
5+
AC_COPYRIGHT(Copyright 2008-2018 Nagoya Institute of Technology)
66
AM_INIT_AUTOMAKE
77

88
# Checks for C/C++ compiler

src/jpcommon/jpcommon_label.c

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ static void JPCommonLabelWord_initialize(JPCommonLabelWord * w, const char *pron
174174
}
175175
if (find == 0) {
176176
fprintf(stderr,
177-
"WARNING: JPCommonLabelWord_initializel() in jpcommon_label.c: %s is unknown POS.\n",
177+
"WARNING: JPCommonLabelWord_initialize() in jpcommon_label.c: %s is unknown POS.\n",
178178
pos);
179179
i = 0;
180180
}
@@ -187,7 +187,7 @@ static void JPCommonLabelWord_initialize(JPCommonLabelWord * w, const char *pron
187187
}
188188
if (find == 0) {
189189
fprintf(stderr,
190-
"WARNING: JPCommonLabelWord_initializel() in jpcommon_label.c: %s is unknown conjugation type.\n",
190+
"WARNING: JPCommonLabelWord_initialize() in jpcommon_label.c: %s is unknown conjugation type.\n",
191191
ctype);
192192
i = 0;
193193
}
@@ -200,7 +200,7 @@ static void JPCommonLabelWord_initialize(JPCommonLabelWord * w, const char *pron
200200
}
201201
if (find == 0) {
202202
fprintf(stderr,
203-
"WARNING: JPCommonLabelWord_initializel() in jpcommon_label.c: %s is unknown conjugation form .\n",
203+
"WARNING: JPCommonLabelWord_initialize() in jpcommon_label.c: %s is unknown conjugation form .\n",
204204
cform);
205205
i = 0;
206206
}
@@ -411,6 +411,9 @@ void JPCommonLabel_initialize(JPCommonLabel * label)
411411
label->mora_tail = NULL;
412412
label->phoneme_head = NULL;
413413
label->phoneme_tail = NULL;
414+
415+
label->size = 0;
416+
label->feature = NULL;
414417
}
415418

416419
static void JPCommonLabel_insert_pause(JPCommonLabel * label)
@@ -420,7 +423,7 @@ static void JPCommonLabel_insert_pause(JPCommonLabel * label)
420423
if (label->phoneme_tail != NULL) {
421424
if (strcmp(label->phoneme_tail->phoneme, JPCOMMON_PHONEME_SHORT_PAUSE) == 0) {
422425
fprintf(stderr,
423-
"WARNING: JPCommonLabel_insert_word() in jpcommon_label.c: Short pause should not be chained.\n");
426+
"WARNING: JPCommonLabel_insert_pause() in jpcommon_label.c: Short pause should not be chained.\n");
424427
return;
425428
}
426429
label->phoneme_tail->next =
@@ -430,7 +433,7 @@ static void JPCommonLabel_insert_pause(JPCommonLabel * label)
430433
label->phoneme_tail = label->phoneme_tail->next;
431434
} else {
432435
fprintf(stderr,
433-
"WARNING: JPCommonLabel_insert_word() in jpcommon_label.c: First mora should not be short pause.\n");
436+
"WARNING: JPCommonLabel_insert_pause() in jpcommon_label.c: First mora should not be short pause.\n");
434437
}
435438
label->short_pause_flag = 0;
436439
}

0 commit comments

Comments
 (0)