Ubuntu20.04下安装kaldi(sctk-2.4.10下载)

1、从github上下载kaldi

下载地址:GitHub - kaldi-asr/kaldi: kaldi-asr/kaldi is the official location of the Kaldi project.

2、解压后打开INSTALL,了解整个安装流程

[Option 1 in the following does not apply to native Windows install, see windows/INSTALL or following Option 2]

Option 1 (bash + makefile):

  Steps:
    (1)    go to tools/  and follow INSTALL instructions there.

    (2)    go to src/ and follow INSTALL instructions there.

Option 2 (cmake):

    Go to cmake/ and follow INSTALL.md instructions there.
    Note, it may not be well tested and some features are missing currently.

里面也有针对windows安装的详情介绍,此处是安装ubuntu。

3、在tools文件目录下进行安装

检查先决条件

extras/check_dependencies.sh

在这个过程中会出现安装编译依赖文件提醒,根据提示进行安装即可。直到下图文字弹出表示依赖文件均安装成功。

支持C++兼容的

make

 如果默认不支持C++兼容的

CXX=g++-4.8 extras/check_dependencies.sh
make
# which by default will install ATLAS headers, OpenFst, SCTK and sph2pipe.OpenFst requires a relatively recent C++ compiler with C++11 support, e.g.g++ >= 4.7, Apple clang >= 5.0 or LLVM clang >= 3.3. If your system default compiler does not have adequate support for C++11, you can specify a C++11 compliant compiler as a command argument
make CXX=g++-4.8
make -j 4

4、在src文件目录下进行安装

  ./configure --shared
  make depend -j 8
  make -j 8

相关的更多信息可以查看:Kaldi: Kaldi

5、验证安装成功,在egs/yesno目录下

cd s5/
bash ./run.sh

6、下载sctk-2.4.10

下载链接:

wget http://www.openslr.org/resources/4/sctk-2.4.10-20151007-1312Z.tar.bz2

下载解压,在sctk-2.4.10下打开终端运行

make config
make all
make check
make install
make doc

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值