summaryrefslogtreecommitdiff
path: root/cdec/rampion.sh
blob: a3fc362ad752c8999206e18fb456d9cb421bf953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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