[hts-users:00779] Re: A bug in festival/lib/hts.scm
Hi all,
I additionally found two crucial bugs in the festival/lib/hts.scm.
********Bug 1 of Current Code**********
; nn.name
(format ofd "+%s" (if (string-equal "0" (item.feat s "n.n.name"))
"x" (item.feat s "n.n.name")))
********Fixed version******************
; nn.name
(format ofd "=%s" (if (string-equal "0" (item.feat s "n.n.name"))
"x" (item.feat s "n.n.name")))
********Bug 2 of Current Code**********
; distance from content word in phrase
(format ofd ";%s"
(if (string-equal "pau" (item.feat s "name"))
"x"
(item.feat s
"R:SylStructure.parent.parent.R:Word.lisp_distance_to_p_content")))
********Fixed version******************
; distance from content word in phrase
(format ofd "#%s"
(if (string-equal "pau" (item.feat s "name"))
"x"
(item.feat s
"R:SylStructure.parent.parent.R:Word.lisp_distance_to_p_content")))
If you are using any HTS US English voices with festival, please fix.
Quality of synthetic speech would become much better.
Junichi
CSTR
On 2007/04/12, at 2:01, Heiga ZEN (Byung Ha CHUN) wrote:
Hi all,
I found a bug in festival/lib/hts.scm.
; length of next phrase (word)
(format ofd "=:%s"
(if (string-equal "pau" (item.feat s "name"))
(item.feat s
"n.R:SylStructure.parent.parent.R:Phrase.parent.lisp_num_words_in_phra
se")
(item.feat s
"R:SylStructure.parent.parent.R:Phrase.parent.n.lisp_num_words_in_phra
se")))
In the above code, "=:%s" should be "=%s".
This bug exists in both festival 1.95 and 1.96, and may degrades
speech quality. If you are using any HTS US English voices with
festival, please fix.
Best regards,
Heiga ZEN (Byung Ha CHUN)
--
------------------------------------------------
Heiga ZEN (in Japanese pronunciation)
Byung Ha CHUN (in Korean pronunciation)
Department of Computer Science and Engineering
Nagoya Institute of Technology
Gokiso-cho, Showa-ku, Nagoya 466-8555 Japan
http://www.sp.nitech.ac.jp/~zen
------------------------------------------------
- References
-
- [hts-users:00622] A bug in festival/lib/hts.scm, Heiga ZEN (Byung Ha CHUN)