diff options
author | heafield <heafield@1f5c12ca-751b-0410-a591-d2e778427230> | 2010-09-28 22:02:08 +0400 |
---|---|---|
committer | heafield <heafield@1f5c12ca-751b-0410-a591-d2e778427230> | 2010-09-28 22:02:08 +0400 |
commit | 193109e20081ecb0f5b3d03cbb764186c0d6d87f (patch) | |
tree | b5c709cecf999f7da1e671867ac50d91cbad70b7 /BUILD-INSTRUCTIONS.txt | |
parent | 770df2a92dca931597e69d373726f820e2779018 (diff) |
Link kenlm by default (it was already being built). Allow --without-kenlm to avoid linking. Add myself to the build instructions.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3588 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'BUILD-INSTRUCTIONS.txt')
-rw-r--r-- | BUILD-INSTRUCTIONS.txt | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/BUILD-INSTRUCTIONS.txt b/BUILD-INSTRUCTIONS.txt index 01c41d2f3..7d9cd9cda 100644 --- a/BUILD-INSTRUCTIONS.txt +++ b/BUILD-INSTRUCTIONS.txt @@ -1,7 +1,7 @@ 0) Preliminaries -Before building you need to decide what language model toolkit (SRI's -or IRST's) you want to use. +Before building you need to decide what language model toolkit (SRI's, +IRST's, or Ken's) you want to use. If you want to use SRI's, you will need to download its source and build it. The SRILM can be downloaded from @@ -12,6 +12,9 @@ If you want to use IRST's, you will need to download its source and build it. The IRSTLM can be downloaded from http://sourceforge.net/projects/irstlm/ + +Ken's LM is included with the Moses distribution. + IMPORTANT: These instructions are for building the moses decoder ONLY, the training and tuning SCRIPTS contained in scripts/ must be built and installed separately. Also, they may require modification to @@ -52,6 +55,22 @@ The resulting decoder binary will be moses-cmd/src/moses . -------------------------------------------------------------------------- +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 + +If you don't want Ken's LM, ./configure --without-kenlm + +-------------------------------------------------------------------------- + + + ALTERNATIVE WAYS TO BUILD ON UNIX AND OTHER PLATFORMS Using Eclipse |