问题描述
我看到了适用于Giza的正确安装指南,但不适用于Giza ++.安装前者的说明(如此处 http://giza.sourceforge.net/documentation/installation .html )显然不适用于后者.我正在使用Ubuntu 12.04.
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.
推荐答案
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
在安装Moses时,GIZA ++也安装在mosesdecoder/bin/
目录中.请参见 http://www.statmt.org/moses/?n=Development.GetStarted
When you install Moses, GIZA++ is also installed in the mosesdecoder/bin/
directory. See http://www.statmt.org/moses/?n=Development.GetStarted
要安装MGIZA++
,请执行以下操作:
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/
用于MGIZA ++的二进制文件将在mgiza/mgizapp/bin/
中.
The binaries for MGIZA++ would be in mgiza/mgizapp/bin/
.
这篇关于在Ubuntu上是否有针对Giza ++的正确安装指南?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!