Spence Green

التكرار يعلم الحمار

I work at Lilt. In addition to computers and languages, my interests include travel, running, and scuba diving. more...

Installing SRILM on Ubuntu 11.10

with 4 comments

I’ve recently upgraded to Ubuntu 11.10, which I had avoided due to the Unity fiasco, among other reports of general “bugginess.” 10.04 worked really well for me for years. One of the first jobs was to install SRILM. Previously, installation proceeded without incident. Not this time. Here is how I got it to install in /usr/share/srilm on a 64-bit architecture:

  1. mkdir /usr/share/srilm
  2. mv srilm.tgz /usr/share/srilm
  3. cd /usr/share/srilm
  4. tar xzf srilm.tgz
  5. sudo apt-get install tcl tcl-dev csh gawk
  6. In Makefile, uncomment the SRILM= parameter and point it to /usr/share/srilm (or your equivalent path)
  7. make NO_TCL=1 MACHINE_TYPE=i686-ubuntu World
  8. Add the following to your .bashrc

SRILM=/usr/share/srilm
export PATH=$PATH:$SRILM/bin:$SRILM/bin/i686-ubuntu
export MANPATH=$SRILM/man:$MANPATH

Now you should be able to run ‘make test’ successfully.

 

Written by Spence

February 1st, 2012 at 5:42 pm

Posted in HOWTO,NLP,Ubuntu

4 Responses to 'Installing SRILM on Ubuntu 11.10'

Subscribe to comments with RSS or TrackBack to 'Installing SRILM on Ubuntu 11.10'.

  1. […] Installing SRILM on Ubuntu 11.10 […]

  2. […] There is no clear installation guide to install SRILM on ubuntu 14.04. There was one for 11.10 but it is outdated and it doesn’t work properly. http://www.spencegreen.com/2012/02/01/installing-srilm-on-ubuntu-11-10/ […]

  3. […] There is no clear installation guide to install SRILM on ubuntu 14.04. There was one for 11.10 but it is outdated and it doesn’t work properly. http://www.spencegreen.com/2012/02/01/installing-srilm-on-ubuntu-11-10/ […]

  4. Hello, i am trying a few days to install srilm and i have problems with
    make NO_TCL=1 MACHINE_TYPE=i686-ubuntu World

    make: *** No rule to make target `World’. Stop.

    Do you know the reason why?

    Thanks in advance

    Despina

    24 Nov 15 at 1:45 pm

Leave a Reply

You must be logged in to post a comment.