Hi,
Yufeng Hao wrote (2008/06/17 10:05):I checked these files but I found
while configuring HTS-demo_Adaption, I found an error list below:
...
checking for HHEd... /usr/local/HTS-2.1/bin/HHEd
checking for hts_engine... /usr/local/HTS-2.1/bin/hts_engine
(standard_in) 1: illegal character: :
(standard_in) 1: parse error
./configure: line 3565: test: =: unary operator expected
checking for gcc... gcc
...
then editor configure:3562, modify
version=`$ENGINE -h 2>&1 | grep "version" | sed -e "s/.* //g"`
to
version=`$ENGINE -h 2>&1 | grep "version" | sed -e "s/.*version //g" -e "s/ .*//g"`
And then, configure again. everything is right. I think it is a little bug in adaption demo.
BTW, I check the HTS-demo_Adaption/data/Makefile.in, the gv pdf endian problem code still there(242-249), Do you make a patch there?
version=`$ENGINE -h 2>&1 | grep "version" | sed -e "s/.*version //g" -e "s/ .*//g"`in configure script and
# Add header (dimensionality and # of distributions)
if [ $(BYTESWAP) -eq 1 ]; then \
MGCDIM=`expr $(MGCORDER) + 1`; \
LF0DIM=1; \
echo $${MGCDIM} | $(X2X) +ai > gv/gv-mgc.pdf.big; \
echo "1" | $(X2X) +ai >> gv/gv-mgc.pdf.big; \
cat gv/gv-mgc.pdf >> gv/gv-mgc.pdf.big; \
echo $${LF0DIM} | $(X2X) +ai > gv/gv-lf0.pdf.big; \
echo "1" | $(X2X) +ai >> gv/gv-lf0.pdf.big; \
cat gv/gv-lf0.pdf >> gv/gv-lf0.pdf.big; \
else \
in data/Makefile.in.
I guess you're seeing old files rather than those of HTS-2.1RC2.
Check them again, these files in HTS-2.1RC2 don't have the above problems.
Regards,
Heiga ZEN (Byung Ha CHUN)
--
------------------------------------------------
Heiga ZEN (in Japanese pronunciation)
Byung Ha CHUN (in Korean pronunciation)
Department of Computer Science and Engineering
Nagoya Institute of Technology
Gokiso-cho, Showa-ku, Nagoya 466-8555 Japan
http://www.sp.nitech.ac.jp/~zen
------------------------------------------------