SIOD ERROR:不是数字

时间:2017-07-11 05:54:22

标签: festival

有时我使用(SayText " <some sentence >") 它会出现以下错误 SIOD ERROR:不是数字。 例如

festival> (SayText "ਮੇਰਾ ਨਾਮ")      means (SayText"mera naam")
SIOD ERROR: not a number 
festival> (SayText " ਨਾਮ ")  
SIOD ERROR: not a number 
festival> (SayText "ਨਾਮ")

当我回溯它时

SIOD ERROR: not a number 
festival> (set_backtrace t)
t
festival> (SayText "ਨਾਮ")  
SIOD ERROR: not a number 
BACKTRACE:
   0: (#<SUBR(5) Classic_Word> (quote #<Utterance 0xaddeb8b8>))
   1: (apply_method (quote Word_Method) utt)
   2: (Word utt)
   3: (let-internal
    (type)
    ((utt.type utt))
    ...)
   4: (utt.synth (eval (list (quote Utterance) (quote Text) text)))
   5: (SayText "ਨਾਮ")

1 个答案:

答案 0 :(得分:0)

如果您在节日源中查看FT_Classic_Word_Utt方法,您会看到它会根据字典中的数据尝试将压力作为整数。很可能这个有问题的单词在词典或其他你定义单词发音的地方都有字母而不是压力。

您可以使用gdb跟踪FT_Classic_Word_Utt,并研究像ਨਾਮ这样的词语的扩展,看看为什么没有正确指定压力。