Hello I am sorry for sending
the previous email without searching the hts list adequately. The problem was with the
first lines of the dumpfeats.sh file. In order to fix the
problem I added the following two lines (as I found in an older email in the mailing
list) #!/bin/sh "true" ; exec
/cygdrive/c/cygwin/home/festival/festival/src/main/festival.exe --script $0 $* And I renamed the file
from dumpfeats.sh to dumpfeats Again I am really sorry for
my previous meaningless email. Thank you Alexandros Lazaridis. ############################################### Lazaridis Alexandros Electrical and Computer Engineer PhD Student Artificial Intelligence Group Fax: +30 2610 997336 ############################################### From: Lazaridis
Alexandros [mailto:alaza@xxxxxxxxxxxxxxxxx] Hello, I am running the procedure for the demo for hts
(HTS-demo_CMU-ARCTIC-SLT) and everything goes well until when the dumpfeats
script is used. ……………… ………….. ………………. # Extracting monophone and fullcontext labels from
utterance files for utt in utts/cmu_us_arctic_slt_*.utt; do \
base=`basename ${utt} .utt`; \
if [ -s ${utt} ]; then \
/cygdrive/c/festival/festival/examples/dumpfeats
-eval scripts/extra_feats.scm \
-relation Segment \
-feats scripts/label.feats \
-output tmp \
${utt}; \
fi; \
gawk -f scripts/label-full.awk tmp > labels/full/${base}.lab; \
gawk -f scripts/label-mono.awk tmp > labels/mono/${base}.lab; \ done /cygdrive/c/festival/festival/examples/dumpfeats:
line 1: syntax error near unexpected token `;;' /cygdrive/c/festival/festival/examples/dumpfeats:
line 1:
`;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-*-mode:scheme-*-' gawk: scripts/label-full.awk:219: fatal: cannot open
file `tmp' for reading (No such file or directory) gawk: scripts/label-mono.awk:58: fatal: cannot open
file `tmp' for reading (No such file or directory) /cygdrive/c/festival/festival/examples/dumpfeats:
line 1: syntax error near unexpected token `;;' /cygdrive/c/festival/festival/examples/dumpfeats:
line 1:
`;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-*-mode:scheme-*-' gawk: scripts/label-full.awk:219: fatal: cannot open
file `tmp' for reading (No such file or directory) gawk: scripts/label-mono.awk:58: fatal: cannot open
file `tmp' for reading (No such file or directory) /cygdrive/c/festival/festival/examples/dumpfeats:
line 1: syntax error near unexpected token `;;' /cygdrive/c/festival/festival/examples/dumpfeats:
line 1: `;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-*-mode:scheme-*-' ……………… …………… …………….. I changed all the ;;;; in the dumpfeats file and this
is what I get when I run again the demo ……………. …………… …………….. # Extracting monophone and fullcontext labels from
utterance files for utt in utts/cmu_us_arctic_slt_*.utt; do \
base=`basename ${utt} .utt`; \
if [ -s ${utt} ]; then \
/cygdrive/c/festival/festival/examples/dumpfeats
-eval scripts/extra_feats.scm \
-relation Segment \
-feats scripts/label.feats \
-output tmp \
${utt}; \
fi; \
gawk -f scripts/label-full.awk tmp > labels/full/${base}.lab; \
gawk -f scripts/label-mono.awk tmp > labels/mono/${base}.lab; \ done /cygdrive/c/festival/festival/examples/dumpfeats:
line 42: syntax error near unexpected token `path-append' /cygdrive/c/festival/festival/examples/dumpfeats:
line 42: `(load (path-append libdir "init.scm"))' gawk: scripts/label-full.awk:219: fatal: cannot open
file `tmp' for reading (No such file or directory) gawk: scripts/label-mono.awk:58: fatal: cannot open
file `tmp' for reading (No such file or directory) /cygdrive/c/festival/festival/examples/dumpfeats:
line 42: syntax error near unexpected token `path-append' /cygdrive/c/festival/festival/examples/dumpfeats:
line 42: `(load (path-append libdir "init.scm"))' gawk: scripts/label-full.awk:219: fatal: cannot open
file `tmp' for reading (No such file or directory) gawk: scripts/label-mono.awk:58: fatal: cannot open
file `tmp' for reading (No such file or directory) /cygdrive/c/festival/festival/examples/dumpfeats:
line 42: syntax error near unexpected token `path-append' /cygdrive/c/festival/festival/examples/dumpfeats:
line 42: `(load (path-append libdir "init.scm"))' …………… …………. …………. The dumpfeats file is the dumpfeats.sh file in the
festival/examples. Am I using wrong file? Thank you in advance Alexandros Lazaridis ############################################### Lazaridis Alexandros Electrical and Computer Engineer PhD Student Artificial Intelligence Group Fax: +30 2610 997336 ############################################### |