gpt4 book ai didi

ubuntu - HTK 3.4.1 在 Ubuntu 14.04 上安装错误

转载 作者:太空宇宙 更新时间:2023-11-03 17:11:56 25 4
gpt4 key购买 nike

我尝试了几乎所有在 google 上写的解决方案,但仍然无法正常工作。

输入 ./configure 之后:

    configure: creating ./config.status
config.status: creating HTKLib/Makefile
config.status: WARNING: HTKLib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HTKTools/Makefile
config.status: WARNING: HTKTools/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HLMLib/Makefile
config.status: WARNING: HLMLib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HLMTools/Makefile
config.status: WARNING: HLMTools/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HTKLVRec/Makefile
config.status: WARNING: HTKLVRec/Makefile.in seems to ignore the --datarootdir setting
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting

**************************************************

HTK is now ready to be built.

Type "make all" to build the HTK libraries
and tools.

Then "make install" to install them.

The tools will be installed in /usr/local/bin

Build notes: Language Modelling tools will be
built. HDecode will not be built. You can build
it manually later by running 'make hdecode
install-hdecode'

配置部分似乎出了问题。

(cd HTKTools && make all) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/hmtsk/voxforge/bin/htk/HTKTools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/hmtsk/voxforge/bin/htk/HTKTools'
(cd HLMTools && make all) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/hmtsk/voxforge/bin/htk/HLMTools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/hmtsk/voxforge/bin/htk/HLMTools'

我已经试过了:

  • sudo apt-get install libx11-dev
  • sudo apt-get install g++-multilib
  • ./configure --disable-hslab --disable-hlmtools
  • sudo apt-get install libc6-dev-i386
  • sudo gedit configure.ac 然后删除文件中的“-m32”。

我需要你的帮助,谢谢!

最佳答案

不清楚你的错误是什么。您可以忽略有关 -datarootdir 的警告,我也收到这些警告,但 make 正确完成。您的输出看起来是正确的。

检查目录 HTKTools 和 HLMTools 的内容。查看是否已创建任何二进制文件。您可以通过运行以下命令来测试它们是否有效:

./HLMTools/LMerge

USAGE: LMerge [options] wordList inModel outModel

Option Default

-f s set output LM format to s BIN
-i f s interpolate with model s, weight f off
-n n produce n-gram model max
-A Print command line arguments off
-C cf Set config file to cf default
-D Display configuration variables off
-G fmt Set source label format to fmt as config
-I mlf Load master label file mlf
-S f Set script file to f none
-T N Set trace flags to N 0
-V Print version information off

请注意,HTK 有一种非标准的方式来请求命令行帮助,您不使用 -h 或 --help,只使用不带选项的命令。如果您可以继续进行安装,它应该会给您一个想法。

如果您仍然遇到错误,请发回。

关于ubuntu - HTK 3.4.1 在 Ubuntu 14.04 上安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34465295/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com