From 26c490f404731d053a6205719b6246502c07b449 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 14 Jun 2014 16:46:27 +0200 Subject: init --- cdec/rampion.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 cdec/rampion.sh (limited to 'cdec/rampion.sh') diff --git a/cdec/rampion.sh b/cdec/rampion.sh new file mode 100755 index 0000000..a3fc362 --- /dev/null +++ b/cdec/rampion.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +CDEC=/path/to/cdec +DEVSET=/path/to/pasted/file + +$CDEC/training/rampion/rampion.pl \ + --source-file $DEVSET.de.sgm \ + --ref-files $DEVSET.en \ + --weights $(pwd)/weights.init \ + --max-iterations 30 \ + --metric IBM_BLEU \ + --workdir $(pwd)/work \ + --reg 500 \ + --jobs 2 \ + $(pwd)/../../cdec.ini \ + &>rampion.out + +gzip rampion.out + -- cgit v1.2.3