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:
hieuhoang1972 2006-12-29 00:59:59 +00:00
parent 566491237a
commit ddd2fdeb20
3 changed files with 8 additions and 8 deletions

View File

@ -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)

View File

@ -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";

View File

@ -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"