Closed dsli208 closed 2 years ago
Hi @dsli208,
you first have to download Moses, FastAlign and MGiza. Make sure to also compile FastAlign and MGiza (you can skip MGiza if you only want to run FastAlign). The links to the repositories are mentioned here: https://github.com/lilt/alignment-scripts#dependencies (click on the links and you'll find installation instructions).
After you did that, set the environment variables to point to the directories. On my installation I exported the variables as follows:
export MOSES_DIR=/home/thomas/mosesdecoder-RELEASE-4.0
export MGIZA_DIR=/home/thomas/GitRepos/mgiza
export FASTALIGN_DIR=/home/thomas/GitRepos/fast_align
If you've never used environment variables or the export command before, it might make sense to skim a tutorial (e.g. this one: https://linuxconfig.org/learning-linux-commands-export).
I'm closing this for now as I hope above comment helped. @dsli208 Feel free to reopen this issue anytime.
Am trying to run the alignment-scripts and am experiencing slight issues when running preprocessing. I was confused as to what this instruction meant, if anyone could give an example it might be helpful:
Export install locations for dependencies:
export {MOSES_DIR,FASTALIGN_DIR,MGIZA_DIR}=/foo/bar
When running the code I get these issues:
might this have anything to do with the above instruction?