From dfa5e38fa20814c41caf8a94d0f8ad5cbc8f4229 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Thu, 26 Apr 2012 21:19:56 -0400 Subject: working rampion, gimpel&smith (2012) --- rampion/rampion.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rampion/rampion.pl') diff --git a/rampion/rampion.pl b/rampion/rampion.pl index fda2bac2..d29c02b3 100755 --- a/rampion/rampion.pl +++ b/rampion/rampion.pl @@ -301,10 +301,13 @@ while (1){ my $score = 0; my $icc = 0; my $inweights="$dir/weights.$im1"; + my $outweights="$dir/weights.$iteration"; $cmd="$MAPINPUT $dir/hgs > $dir/agenda.$im1"; print STDERR "COMMAND:\n$cmd\n"; check_call($cmd); - die "PLEASE IMPL"; + $cmd="$MAPPER $refs_comma_sep -m $metric -i $dir/agenda.$im1 -w $inweights > $outweights"; + check_call($cmd); + $lastWeightsFile = $outweights; $iteration++; print STDERR "\n==========\n"; } -- cgit v1.2.3