I see proper installation guide available for Giza, but not for Giza++. The instructions for installing the former (as found here http://giza.sourceforge.net/documentation/installation.html) is obviously not working on the latter. I am using Ubuntu 12.04.
Is there a proper installation guide for Giza++ on Ubuntu?
2.2k views Asked by Satarupa Guha At
2
There are 2 answers
1
On
TL;DR
sudo apt-get install build-essential git-core pkg-config automake libtool wget zlib1g-dev python-dev libbz2-dev
git clone https://github.com/moses-smt/mosesdecoder.git
cd mosesdecoder
make -f contrib/Makefiles/install-dependencies.gmake
./compile.sh
When you install Moses, GIZA++ is also installed in the mosesdecoder/bin/
directory. See http://www.statmt.org/moses/?n=Development.GetStarted
To install MGIZA++
, do this:
sudo apt-get install -y cmake libboost-all-dev
git clone https://github.com/moses-smt/mgiza.git
cd mgiza/mgizapp
cmake . && make && make install
cp scripts/merge_alignment.py bin/
The binaries for MGIZA++ would be in mgiza/mgizapp/bin/
.
Assuming that you have the dependencies, simple install with:
I've uploaded the pre-compiled binaries and you can get it here, but i'm not sure whether it works on your machine:
If you run into dependencies problems, simply install the dependencies required by the MOSES toolkit:
Personally, I would just use the fast aligner which implemented IBM model 2 without the whole fuss about
mkcls
, see https://github.com/clab/fast_align