How to Install srilm for Kaldi on RedHat / Ubuntu

Current versions of Kaldi do not install srilm as a default tool.

While trying to install srilm on RedHat / Ubuntu, I encountered some problems. Here are the tricks for these problems.

  1. Simply running /tools/extras/install_srilm.sh cannot install srilm automatically.
  2. The right procedure is as follows.
    1. Download srilm package from http://www.speech.sri.com/projects/srilm/download.html.
    2. Rename the package as “srilm.tgz”.
    3. Copy the package to /tools.
    4. Run /tools/extras/install_srilm.sh.
    5. Source /tools/env.sh.
  3. For a safer option, you may add the content in /tools/env.sh into ~/.bash_profile.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s