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

mert-moses-parallel.test « tests « scripts - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a6228ed6878c23227140ca565b989523fc9165fe (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
#!/bin/bash


[ -d $WORKSPACE ] || exit 1
echo "Workspace: $WORKSPACE"

MOSESCMD=$WORKSPACE/moses-cmd/src/moses
DATADIR=/export/ws06osmt/example/met-parallel
export SCRIPTS_ROOTDIR=$WORKSPACE/scripts

[ -e $MOSESCMD ] || exit 1
echo "Moses: $MOSESCMD"


cp $DATADIR/moses.ini ./ || exit 1
cp $DATADIR/dev.input ./ || exit 1
cp $DATADIR/dev.ref ./ || exit 1

echo "Starting mert-moses"

$SCRIPTS_ROOTDIR/training/mert-moses.pl --jobs=10 dev.input dev.ref $MOSESCMD ./moses.ini \
|| exit 1

echo "Success"