Installing Moses on Ubuntu 16.04

Installing Moses on Ubuntu 16.04

The process of installation

To install requirements

sudo apt-get install build-essential git-core pkg-config automake libtool wget zlib1g-dev python-dev libbz2-dev

To clone Moses from the repository and cd into the directory for building Moses

git clone https://github.com/moses-smt/mosesdecoder.git
cd mosesdecoder

To turn on the output of wget for identifying the process of installation

vi contrib/Makefiles/install-dependencies.gmake

find

wget -qO-

turn on the output of wget. By the other words, alert the option like below

wget -O-

To install a recent version of Boost, as well as cmph, irstlm and xmlrpc-c.

make -f contrib/Makefiles/install-dependencies.gmake

To compile moses, run

./compile.sh

try Moses, varifying it is whether fine

posted @ 2017-09-18 20:28  健康平安快乐  阅读(299)  评论(0编辑  收藏  举报