Before installing the Kaldi, first we have to install the following necessary packages through the terminal.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
sudo apt-get install bc
sudo apt-get install g++
sudo apt-get install zlib1g-dev make automake autoconf bzip2 libtool subversion
sudo apt-get install libatlas3-base
sudo apt-get install gfortran
Download Link through terminal --- git clone https://github.com/kaldi-asr/kaldi.git kaldi --origin upstream
After installing the necessary packages successfully, then we can start the steps for installation of Kaldi through the following commands in the terminal:
cd kaldi/tools
extras/install_mkl.sh
extras/check_dependencies.sh
make
Note: After execution of “make” step, if you find error then carefully read the error and follow the suggestions. Normally we find some errors of library files. These files (attached in this page--see below) can manually download through the respective website, which is shown in suggestion/warning with error. Then paste these files into the “tools” subfolder of Kaldi directory, and run the “make” step again in cd kaldi/tools directory.
To install the irst language model:
cd kaldi/src
./configure --shared
make depend
make
In order to install the language model kaldi_lm:
cd kaldi/tools
extras/install_kaldi_lm.sh
download srilm file ..... https://drive.google.com/file/d/1iVmGDIFazmnnNlyik1VMhuoJbEgXjRwh/view?usp=sharing
then run the script ./install_srilm.sh
Important Website ----
Online decoder ---https://www.programmersought.com/article/91183095516/
installation and Error ------ http://jrmeyer.github.io/asr/2016/01/26/Installing-Kaldi.html
TDNN error ....https://blog.csdn.net/qq_40212975/article/details/105485313