Kaldi是基于C++开发并遵守Apache License v2.0的一款语音识别工具包,是目前最流行的ASR工具之一,本文基于Ubuntu 18.04 LTS介绍了如何安装Kaldi。
首先按照官网提示,将Kaldi项目克隆至本地:
~$ git clone https://github.com/kaldi-asr/kaldi.git kaldi-trunk --origin golden
进入kaldi-trunk:
~$ cd kaldi-trunk
~/kaldi-trunk$
查看INSTALL:
~/kaldi-trunk$ cat INSTALL
This is the official Kaldi INSTALL. Look also at INSTALL.md for the git mirror installation.
[for native Windows install, see windows/INSTALL]
(1)
go to tools/ and follow INSTALL instructions there.
(2)
go to src/ and follow INSTALL instructions there.
所以先进入tools目录按提示安装,再进入src目录按提示安装。
进入tools目录查看INSTALL:
~/kaldi-trunk$ cd tools
~/kaldi-trunk/tools$ cat INSTALL
To check the prerequisites for Kaldi, first run
extras/check_dependencies.sh
and see if there are any system-level installations you need to do. Check the
output carefully. There are some things that will make your life a lot easier
if you fix them at this stage. If your system default C++ compiler is not
supported, you can do the check with another compiler by setting the CXX