SRILM 1.5.8 released

Andreas Stolcke stolcke at speech.sri.com
Sun Jun 7 09:49:18 PDT 2009


yingyul at mail.ustc.edu.cn wrote:
> Dear Sir,
>   I have installed the SRILM 1.5.8 in ubuntu9.0.4 with i686 architecture. I will
> describe the installation process in detail. It may be useful for you. 
>   If you understand chinese , you can visit the chinese website which contain the
> Process Description of installing the SRILM 1.5.8 in ubuntu9.0.4 with i686
> architecture.
> http://www.52nlp.cn/ubuntu-64-bit-system-srilm-configuration
>
> First of all, I also installed the following freely available tools: 
> (1)A template-capable ANSI-C/C++ compiler: gcc 4.3, g++ 4.4.3.3
> (2)GNU make 3.81: It is used to control compilation and installation of the SRILM
> 1.5.8.
> (3)GNU gawk
> (4)GNU gzip
> (5)bzip2
> (6)p7zip
> (7)Tcl 
> (8)csh
>
> secondly, I will describe the installation process in detail:
> 1.	Creating the installation directory and extracting the compressed package to
> the directory.My installation directory is /home/user/srilm.
> 2.	Modifying Makefile file(in the directory:/home/user/srilm)
>   (1).searching the line: "# SRILM = /home/speech/stolcke/project/srilm/devel
> "£¬Input the actual installation path of srilm. The line was revised to:
> "SRILM=/home/user/srilm"
> ¡¡ (2).searching the line:" MACHINE_TYPE := $(shell
> $(SRILM)/sbin/machine-type)"£¬Input the actual machine type. The line was revised
> to:"MACHINE_TYPE := i686-m64". The line tell "Makefile" to find the Settings of
> ubuntu9.0.4 with i686 architecture in the path:
> /home/user/srilm/common/Makefile.machine.i686-m64.
> 3.	Modifying Makefile.machine.i686-m64 file(in the
> directory:/home/user/srilm/common/Makefile.machine.i686-m64)
> searching the line:"GAWK = /usr/bin/awk"
> The line was revised to:"GAWK = /usr/bin/gawk"
>   
Interesting.  I assumed that Linux systems have both /usr/bin/awk and 
/usr/bin/gawk and they seem to be the same program. If there is a reason 
to use /usr/bin/gawk I can will change the default configuration for 
i686 and i686-m64.
> Thirdly,Modifying system environment variables.
> input the command£ºsudo gedit /etc/profile
> finding the lines:
> if [ "$PS1" ]; then
> ¡¡if [ "$BASH" ]; then
> ¡¡¡¡PS1=¡¯u at h:w$ ¡®
> ¡¡¡¡if [ -f /etc/bash.bashrc ]; then
> ¡¡¡¡¡¡. /etc/bash.bashrc
> ¡¡¡¡fi
> ¡¡else
> ¡¡¡¡if [ "`id -u`" -eq 0 ]; then
> ¡¡¡¡¡¡PS1=¡¯# ¡®
> ¡¡¡¡else
> ¡¡¡¡¡¡PS1=¡¯$ ¡®
> ¡¡¡¡fi
> ¡¡fi
> fi
> Below these lines,input the setting£º"export
> PATH=¡±$PATH:/home/user/srilm/bin/i686-m64:/home/user/srilm/bin¡±"
>   
But this could also be done in the user's ~/.profile, right ?  Modifying 
/etc/profile affects all users and requires root authority.

> Finally.Installing and testing the SRILM 1.5.8
> 1.Input the following commands:
>   cd /home/user/srilm
>   make World
> 2.Input the following commands:
>   cd test
>   make all
>
> OK!!
>   
I'm glad it worked smoothly.  I get quite a few reports (of course 
without any useful details!) of problems installing SRILM on ubuntu,  so 
it's good to confirm that the installation instructions do in fact work.

Andreas

> Regards,
>  
>                Yulong Ying
>
>
>   
>> From: Sanjay Chatterji <sanjaychatter at gmail.com>
>> Reply-To: 
>> To: Andreas Stolcke <stolcke at speech.sri.com>
>> Subject: Re: SRILM 1.5.8 released
>> Date:Wed, 3 Jun 2009 15:44:59 +0530
>>
>> Dear Sir,
>> I tried to install the SRILM 1.5.8 in fedora 6 with i686 architecture. But
>> it is giving an error and
>> ngram
>> ngram-class
>> ngram-count
>> ngram-merge
>> etc. are not created.
>>
>> gcc version is gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13)
>> tcl is installed
>> Please suggest,
>> Regards,
>> Sanjay
>>
>>
>>     




More information about the SRILM-User mailing list