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
智慧在街市上呼喊,在宽阔处发声。