- This topic has 2 replies, 2 voices, and was last updated 4 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
› Forums › Speech Synthesis › Festival › SIOD ERROR: not a number
Hello,
I run the command (check_script “utts.data” ‘unilex-gam) after loading my_lexicon without any issue, and I get the following error.
SIOD ERROR: not a number : a
BACKTRACE:
0: (#<SUBR(5) Unilex_Word> (quote #<Utterance 0x7f29b1ccee30>))
1: (apply_method (quote Word_Method) utt)
2: (Word utt)
3: (utt.synth_toSegment_text
(eval (list (quote Utterance) (quote Text) text)))
4: (check_script_entry (cadr l))
5: (f (car l2))
6: (cons (f (car l2)) r)
7: (set! r (cons (f (car l2)) r))
8: (while l2 (set! r (cons (f (car l2)) r)) (set! l2 (cdr l2)))
9: (mapcar (lambda (l) (check_script_entry (cadr l)) t) p)
10: (check_script “utts.data” (quote unilex-gam))
There is probably either a formatting error or a non-ASCII character in your utts.data
.
If you can’t easily locate it, try using binary search to find the offending line (here I’ll assume utts.data
has 600 lines):
0. make a backup of utts.data
1. make a file containing only first half of utts.data
, for example with
head -300 utts.data > first.data
2. try check_script
on first.data
3a. if you get an error then take the first half again
head -150 utts.data > first.data
3b.if you don’t get an error, make a file containing the first three-quarters of utts.data
head -450 utts.data > first.data
and iterate, varying the number of lines in a binary search pattern, until you home in on the error.
Thanks a lot!
Some forums are only available if you are logged in. Searching will only return results from those forums if you log in.
Copyright © 2024 · Balance Child Theme on Genesis Framework · WordPress · Log in