mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 19:44:59 +03:00
Fix automount partition bug
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1098 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
566491237a
commit
ddd2fdeb20
@ -7,8 +7,8 @@ DS?=$(shell date '+%Y%m%d')
|
||||
|
||||
# set these 2 variables below to point to a directory where you want the
|
||||
# compiled scripts to be copied to
|
||||
TARGETDIR=/home/your_user_name/bin
|
||||
BINDIR=/home/your_user_name/bin
|
||||
TARGETDIR=/home/s0565741/bin
|
||||
BINDIR=/home/s0565741/bin
|
||||
|
||||
MAIN_SCRIPTS_TARGET_DIR=$(TARGETDIR)
|
||||
# MAIN_SCRIPTS_TARGET_DIR=$(shell echo `pwd`/temp)
|
||||
|
@ -7,7 +7,7 @@
|
||||
use strict;
|
||||
BEGIN
|
||||
{
|
||||
my $wd = `pwd`; chop $wd;
|
||||
my $wd = `pawd`; chop $wd;
|
||||
push @INC, "$wd/perllib/sun4-solaris"; #for GD; if not an absolute path, Polygon.pm throws a fit
|
||||
}
|
||||
use lib "perllib/sun4-solaris/auto/GD";
|
||||
|
@ -15,7 +15,7 @@ MOSES=$WORKSPACE/moses-cmd/src/moses
|
||||
|
||||
export SCRIPTS_ROOTDIR=$WORKSPACE/scripts
|
||||
|
||||
cp -r ../cs-en-sample ./corpus || die "Missing "`pwd`"/../cs-en-sample"
|
||||
cp -r ../cs-en-sample ./corpus || die "Missing "`pawd`"/../cs-en-sample"
|
||||
echo "Copied cs-en-sample files"
|
||||
|
||||
mv corpus/test.* ./ || die "Missing corpus/test.*"
|
||||
@ -39,17 +39,17 @@ $SCRIPTS_ROOTDIR/training/train-factored-phrase-model.perl \
|
||||
--corpus corpus/train \
|
||||
--root . \
|
||||
--parallel \
|
||||
--lm 0:3:`pwd`/corpus/lm.en.gz \
|
||||
--lm 0:3:`pawd`/corpus/lm.en.gz \
|
||||
|| die "Failed to train the model"
|
||||
|
||||
echo "Finished moses.ini, merting."
|
||||
|
||||
$SCRIPTS_ROOTDIR/training/mert-moses.pl \
|
||||
--working-dir=mert-tuning \
|
||||
`pwd`/dev.src \
|
||||
`pwd`/dev.ref \
|
||||
`pawd`/dev.src \
|
||||
`pawd`/dev.ref \
|
||||
$MOSES \
|
||||
`pwd`/model/moses.ini \
|
||||
`pawd`/model/moses.ini \
|
||||
--decoder-flags="-dl 6 " \
|
||||
|| die "Merting failed"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user