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 ############################################### |