summaryrefslogtreecommitdiff
path: root/rampion/rampion.pl
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-04-26 21:19:56 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-04-26 21:19:56 -0400
commit230cf27272cc7c15ebf7370b9aa8808b5b282426 (patch)
tree4e31a80a0a697c55bc79a12c79dd9f333f27b44e /rampion/rampion.pl
parenta2d4bc2a4370f628f320fe2cc09fa88b81498df0 (diff)
working rampion, gimpel&smith (2012)
Diffstat (limited to 'rampion/rampion.pl')
-rwxr-xr-xrampion/rampion.pl5
1 files changed, 4 insertions, 1 deletions
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";
}