Skip to content

Commit

Permalink
Update build instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed Nov 25, 2011
1 parent f09eeb6 commit 9693e52
Showing 1 changed file with 4 additions and 26 deletions.
30 changes: 4 additions & 26 deletions BUILD-INSTRUCTIONS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9693e52

Please sign in to comment.