rizar / actor-critic-public

The source code for "An Actor Critic Algorithm for Structured Prediction"
MIT License
167 stars 43 forks source link

Please set SCRIPTS variable correctly to point to Moses scripts #3

Open wjb123 opened 7 years ago

wjb123 commented 7 years ago

When i run the script create_dataset.sh in /exp/ted, the script produces the error : Please set SCRIPTS variable correctly to point to Moses scripts. So the Moses needs to be installed before running this script, but there is no hint for it.

hnwlp commented 7 years ago

Hi, I met the same problem with you! you just have to load Moses(https://github.com/moses-smt/mosesdecoder/blob/debe09042675315bb0baddb1900bd66e3a2c5af5/scripts/training/clean-corpus-n.perl), and modify the path of SCRIPTS. What's more, you can find how to use Moses on website(http://www.statmt.org/moses/?n=FactoredTraining.PrepareTraining)