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

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <kenlm@kheafield.com>2011-11-28 23:20:25 +0400
committerKenneth Heafield <kenlm@kheafield.com>2011-11-28 23:20:25 +0400
commit379b162f204d459837da7331fef133f12f271797 (patch)
treeea3b50bb69f647e85810718422107b816a5cab43 /scripts/Jamfile
parent3d5a41baaf4f978314c3289cd97586d2f0245883 (diff)
More instructions on giza
Diffstat (limited to 'scripts/Jamfile')
-rw-r--r--scripts/Jamfile11
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/Jamfile b/scripts/Jamfile
index 5b474b225..bfc9c65f4 100644
--- a/scripts/Jamfile
+++ b/scripts/Jamfile
@@ -9,8 +9,13 @@ if $(with-giza) {
if ! [ FILE_OPEN $(with-giza)/$(name) : "r" ] {
echo "Did not find "$(with-giza)/$(name)"." ;
echo "The with-giza directory should contain GIZA++, snt2cooc.out, and mkcls." ;
- echo "These are available from http://code.google.com/p/giza-pp/ ." ;
- exit : 1 ;
+ echo "These are available from http://code.google.com/p/giza-pp/ :" ;
+ echo " wget https://giza-pp.googlecode.com/files/giza-pp.tgz" ;
+ echo " tar xzf giza-pp.tgz" ;
+ echo " cd giza-pp" ;
+ echo " make" ;
+ echo " cp GIZA++-v2/{GIZA++,plain2snt.out,snt2cooc.out,snt2plain.out,trainGIZA++.sh} mkcls-v2/mkcls ." ;
+ exit "Then run bjam --with-giza=/path/to/giza-pp" : 1 ;
}
}
@@ -20,7 +25,7 @@ if $(with-giza) {
check-for-bin snt2cooc.out ;
check-for-bin mkcls ;
} else {
- echo "If you want scripts/training/train-model.perl, pass --with-giza=/path/to/giza" ;
+ echo "If you want scripts/training/train-model.perl, pass --with-giza=/path/to/giza-pp" ;
constant WITH-GIZA : "no" ;
}