summaryrefslogtreecommitdiff
path: root/pro-train
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-12-20 18:34:14 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2011-12-20 18:34:14 -0500
commite4c5e87db2139aa0f8655b063da7d8b5199cb46d (patch)
treebfbb13d1c9131ed865ed3c0b42744d5d9e474b22 /pro-train
parent2eb3bb96c6f780c477585b33273fc0c0d56c80e4 (diff)
migrate fast_score to the new API
Diffstat (limited to 'pro-train')
-rwxr-xr-xpro-train/dist-pro.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pro-train/dist-pro.pl b/pro-train/dist-pro.pl
index 5db053de..ba9cdc06 100755
--- a/pro-train/dist-pro.pl
+++ b/pro-train/dist-pro.pl
@@ -288,7 +288,7 @@ while (1){
$retries++;
}
die "Dev set contains $devSize sentences, but we don't have topbest and hypergraphs for all these! Decoder failure? Check $decoderLog\n" if ($devSize != $num_hgs || $devSize != $num_topbest);
- my $dec_score = check_output("cat $runFile | $SCORER $refs_comma_sep -l $metric");
+ my $dec_score = check_output("cat $runFile | $SCORER $refs_comma_sep -m $metric");
chomp $dec_score;
print STDERR "DECODER SCORE: $dec_score\n";