mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
Moses, the machine translation system
f5a55e105b
Project is now configured such that it should compile cleanly with or without optional libraries. To compile the project, the user must (at minimum) have boost installed. If boost is installed in a standard location, such as /usr/local, then XCode should be able to find boost without any help from the user. If boost is in a non-standard location, the user must configure XCode such that the Source Tree variable XCODE_MOSES_INCLUDE_BOOST is set to the directory where boost is installed. For example, if you download and unzip boost in /path/to/boost_1_53_0, then after compiling boost, headers would be located in /path/to/boost_1_53_0/include and libraries would be located in /path/too/boost_1_53_0/lib. In this case, set XCODE_MOSES_INCLUDE_BOOST= /path/to/boost_1_53_0/include. If you want to compile using IRSTLM, RandLM, SRILM, or the HHMM SynLM, you will need to set the paths to those projects' respective include dirs in the respective corresponding Source Tree variables: For IRSTLM: XCODE_MOSES_INCLUDE_IRSTLM For RandLM: XCODE_MOSES_INCLUDE_RANDLM For SRILM: XCODE_MOSES_INCLUDE_SRILM For the HHMM syntactic LM: XCODE_MOSES_INCLUDE_SYNLM_RVTL XCODE_MOSES_INCLUED_SYNLM_WSJPARSE At the moment, the project is configured with the LM_SRI, LM_IRST, and LM_RAND preprocessor macros enabled, which means that to compile the project, the respective source tree variables must be defined. Alternatively, you could remove those macros from the project definitions. |
||
---|---|---|
biconcor | ||
contrib | ||
cruise-control | ||
defer | ||
jam-files | ||
lm | ||
mert | ||
mira | ||
misc | ||
moses | ||
moses-chart-cmd | ||
moses-cmd | ||
OnDiskPt | ||
phrase-extract | ||
regression-testing | ||
scripts | ||
search | ||
symal | ||
util | ||
.gitignore | ||
.gitmodules | ||
bjam | ||
BUILD-INSTRUCTIONS.txt | ||
Jamroot | ||
NOTICE |