Welcome to mirror list, hosted at ThFree Co, Russian Federation.

BUILD-INSTRUCTIONS - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f4ae16cd3f9c1f29dfbe341654538bc46a48e331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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.

 ./configure --with-srilm=/path/to/srilm

 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 moses:

   cd ..
   ./configure --with-irstlm=/path/to/irstlm
   make

 The resulting decoder binary will be moses-cmd/src/moses .

--------------------------------------------------------------------------