(1)Install GIZA++ and mkcls
Since I have installed GIZA++ and mkcls in my computer, I won't give the full process here. You can refer to the last report about running GIZA++.One you should do before the install is to delete the“-DBINARY_SEARCH_FOR_TTABLE” in the “Makefile”(新版的GIZA++不用删除,直接运行即可).
Just enter the install folder and use the command:
$make
(2)Install SRILM
Prepare third-party software:
You need the following free third-party software to build SRILM:
--> gcc version 3.4.3 or higher
Gcc is a compiler which is “GNU Compiler Collection” for short. It includes front ends for C, C++, Objective-C,Fortran, Java, and Ada, as well as libraries for these languages (libstdc++, libgcj...).My gcc version is 4.4.1.
--> GNU make and automake
Explain the commands in file –Makefile.
--> Libboost1.41.0
To build the program “memscore” .The details are described in http://randspringer.de/boost
--> John Ousterhout's Tcl toolkit, version 7.3 or higher
This is currently used only for some test programs, but is needed for the build to go through without manual intervention. Here I use Tcl 8.5 .
--> Csh
A kind of Unix Shell.It is very important, if you don't install this, there will be something wrong with the program!
The following tools are needed at runtime only:
--> GNU awk (gawk)
To interpret many of the utility scripts.
--> Gzip
To read/write compressed files.
--> bzip2
To read/write .bz2 compressed files.