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
commitba939df399a160f9a8370911c840635d6cee4f58 (patch)
treea9142484bc6b5809d5633bbb30a029e14e23c52b /pro-train
parenta0b8bb731c73b2d2ed3e16c0fa79aea93b3be813 (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";