From 9693e529414d8a7cf47b8c3e12b83830c49f9f31 Mon Sep 17 00:00:00 2001 From: Kenneth Heafield Date: Fri, 25 Nov 2011 16:04:51 +0000 Subject: [PATCH] Update build instructions. --- BUILD-INSTRUCTIONS.txt | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/BUILD-INSTRUCTIONS.txt b/BUILD-INSTRUCTIONS.txt index 8000e072aa..0cbdfa4cc4 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