diff options
author | redpony <redpony@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-08-21 19:01:35 +0400 |
---|---|---|
committer | redpony <redpony@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-08-21 19:01:35 +0400 |
commit | 7648827090c7c3c0c50237f548a8d6509da2831f (patch) | |
tree | 4322c0e62cf94b995fb732ac11336bc785729cd4 /BUILD-INSTRUCTIONS | |
parent | fe74de6b44562730b6d08b2e6d0ca721824f34f1 (diff) |
add instructions
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@787 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'BUILD-INSTRUCTIONS')
-rw-r--r-- | BUILD-INSTRUCTIONS | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/BUILD-INSTRUCTIONS b/BUILD-INSTRUCTIONS new file mode 100644 index 000000000..fd15fb1b1 --- /dev/null +++ b/BUILD-INSTRUCTIONS @@ -0,0 +1,56 @@ +0) Preliminaries + +Before building you need to decide what language model toolkit (SRI's +or IRST's) you want to use. If you want to use SRI's, you will need +to download their source and build it. The SRILM can be downloaded +from http://www.speech.sri.com/projects/srilm/download.html . + +-------------------------------------------------------------------------- + +1) Instructions for building with SRILM + +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. + + Build the moses library: + + cd moses + ./configure --with-srilm=/path/to/srilm + make + + Build the moses binary: + + cd ../moses-cmd + ./configure --with-moses=`pwd`/../moses --with-srilm=/path/to/srilm + make + + The resulting decoder binary will be moses-cmd/src/moses . + +-------------------------------------------------------------------------- + +2) Instructions for building with IRSTLM + + Build IRSTLM, and install it to a location of your choice. + + cd irstlm + ./configure --prefix=/path/to/irstlm + make + make install + + Build the moses library: + + cd moses + ./configure --with-srilm=/path/to/srilm + make + + Build the moses binary: + + cd ../moses-cmd + ./configure --with-moses=`pwd`/../moses --with-srilm=/path/to/srilm + make + + The resulting decoder binary will be moses-cmd/src/moses . + +-------------------------------------------------------------------------- + |