diff options
author | Kenneth Heafield <github@kheafield.com> | 2011-11-25 20:04:51 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2011-11-25 20:04:51 +0400 |
commit | 9693e529414d8a7cf47b8c3e12b83830c49f9f31 (patch) | |
tree | 3b505687aa928ec56705b8db14f201023c3623c3 /BUILD-INSTRUCTIONS.txt | |
parent | f09eeb6467663a48ed43523e9325cb038920349e (diff) |
Update build instructions.
Diffstat (limited to 'BUILD-INSTRUCTIONS.txt')
-rw-r--r-- | BUILD-INSTRUCTIONS.txt | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/BUILD-INSTRUCTIONS.txt b/BUILD-INSTRUCTIONS.txt index 8000e072a..0cbdfa4cc 100644 --- a/BUILD-INSTRUCTIONS.txt +++ b/BUILD-INSTRUCTIONS.txt @@ -23,13 +23,6 @@ the training and tuning SCRIPTS contained in scripts/ must be built and installed separately. Also, they may require modification to work in certain environments. -Versions 1.9 (or higher) of aclocal and automake are required. - -For Mac OSX users: -Standard distribution usually includes versions 1.6. -Get correct versions, and set the environment variables ACLOCAL and -AUTOMAKE to the correct paths in ./regenerate-makefiles.sh. - -------------------------------------------------------------------------- 1) Instructions for building with SRILM @@ -38,40 +31,25 @@ Build SRILM according to their release instructions. Make sure that you DO NOT override the MACHINE_TYPE variable on the command line when you do so, as this can lead to problems locating the library. - ./regenerate-makefiles.sh - ./configure [--with-srilm=/path/to/srilm] [--with-irstlm=/path/to/irstlm] - -The resulting decoder binary will be moses-cmd/src/moses . + ./bjam [--with-srilm=/path/to/srilm] -------------------------------------------------------------------------- 2) Instructions for building with IRSTLM -Build IRSTLM according to its release instructions. Make sure that -you DO NOT override the MACHINE_TYPE variable on the command line when -you do so, as this can lead to problems locating the library. - - ./regenerate-makefiles.sh - ./configure [--with-srilm=/path/to/srilm] [--with-irstlm=/path/to/irstlm] +Build IRSTLM according to its release instructions. -The resulting decoder binary will be moses-cmd/src/moses . + ./bjam [--with-irstlm=/path/to/irstlm] -------------------------------------------------------------------------- 3) Instructions for building with Ken's LM - ./regenerate-makefiles.sh - ./configure - -The resulting decoder binary will be moses-cmd/src/moses . -Use language model 8 in your moses.ini: -[lmodel-file] -8 0 2 /path/to/lm.arpa + ./bjam -------------------------------------------------------------------------- - ALTERNATIVE WAYS TO BUILD ON UNIX AND OTHER PLATFORMS Microsoft Windows |