On Wed, Mar 18, 2009 at 10:25:42PM +0200, Niko Tyni wrote:
> tag 495114 patch
Argh, here's the patch for real.
--
Niko Tyni [email protected]
Make text2wav work with the Finnish voices. (Closes: #495114)
This fixes a SIOD ERROR: wrong type of argument to get_c_val
when using text2wav or just speaking silence: (SayText "")
Apparently the item.name function can't be applied to a nil value.
---
festvox-suopuhe-lj-1.0g-20051204.orig/lib/voices/finnish/suo_fi_lj_diphone/festvox/finnish_mv_phrase.scm
+++
festvox-suopuhe-lj-1.0g-20051204/lib/voices/finnish/suo_fi_lj_diphone/festvox/finnish_mv_phrase.scm
@@ -351,7 +351,7 @@
"(initial_doubling WORD)
Checks wheter the current WORD can triggers initial doubling on the
next word or not."
- (let ((name (downcase (item.name WORD))))
+ (let ((name (if WORD (downcase (item.name WORD) nil))))
(if (and (item.next WORD)
(not (word_has_break? WORD))
;; (not suopuhe) ;; suopuhe-mode deal this personally ???