Spence Green

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

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

Archive for the ‘Ubuntu’ Category

Ubuntu 12.04 Wifi timeout

without comments

Gosh, I’ve been battling this issue for over a year. After the machine resumes from suspend the wifi connection times out. I finally discovered that this is a DNS problem. This solution worked for me.

Written by Spence

February 10th, 2013 at 3:31 pm

Posted in Ubuntu

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