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

export PATH=$PATH:$SRILM/bin:$SRILM/bin/i686-ubuntu

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

Last Weekend’s Dive at Pt. Lobos: Twin Peaks

without comments

Written by Spence

August 14th, 2011 at 9:32 pm

Posted in Diving

Don’t Push pO2 During Deco

without comments

Dive Rite has just published an excellent article on O2 toxicity for CCR divers. Most of the article covers ground that is standard in CCR courses, except for this point:

The biggest mistake many CCR divers make is to elevate the pO2 at the end of the dive, during decompression. The logic is that they are at rest and therefore the risk of an O2 convulsion is reduced. This logic is correct, but it fails to consider several other factors.

CNS O2 toxicity is a result of cumulative damage in the cells. At the end of a CCR dive that requires decompression a significant amount of damage has occurred. If you then increase the pO2 you will increase the rate of damage and you will dramatically increase the risk of suffering an O2 convulsion, even if you are at rest.

That technique was recommended to me during basic training, and it is standard procedure for many of the CCR divers that I know. Never stop learning….

Written by Spence

June 2nd, 2011 at 8:07 am

Posted in Diving