This is a record about how did I install Moses, in case I need to install Moses again in the future. Maybe it's not the whole procedure of installing, but it's enough for me to implement pbsmt proposed by Lample in EMNLP2018.
- Download Moses source codes from https://github.com/moses-smt/mosesdecoder/, or directly code in the commend line
git clone git@github.com:moses-smt/mosesdecoder.git
cd mosesdecoder
- Follow the installment instruction on the Moses website.
./bjam -j4
The code above is just to compile with bare minimum of features. After I finish compile to this step and implement the PBSMT model proposed by Lample, I found that with only compiling bare minimum features, the reordering table cannot be generated. Maybe it's because I didn't i