install moses (local user environment)

(option) manually install boost
 cd ~/tools
 wget http://downloads.sourceforge.net/project/boost/boost/1.63.0/boost_1_63_0.tar.bz2
 tar jxvf boost_1_63_0.tar.bz2
 cd boost_1_63_0/
 ./bootstrap.sh
 ./b2 -j4 --prefix=$PWD --libdir=$PWD/lib64 --layout=system link=static install || echo FAILURE
 (うまくいかない場合)./b2 -j4 --prefix=$PWD --libdir=$PWD/lib64

install moses
 cd ~/tools
 git clone https://github.com/moses-smt/mosesdecoder.git
 cd mosesdecoder
 (if the boost is maually installed) ./bjam --with-boost=~/tools/boost_1_63_0 -j4
 (else) make -f contrib/Makefiles/install-dependencies.gmake
 ./compile.sh

if fails, check your gcc version (4.9.3)

タグ:

boost moses nlp mt
最終更新:2017年03月09日 03:38