Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/ems/support/report-experiment-scores.perl6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/ems/support/report-experiment-scores.perl b/scripts/ems/support/report-experiment-scores.perl
index 2e433f291..ef64d4c2d 100755
--- a/scripts/ems/support/report-experiment-scores.perl
+++ b/scripts/ems/support/report-experiment-scores.perl
@@ -20,6 +20,9 @@ $TYPE{"bolt-bleu-c"} = "BLEU-c";
$TYPE{"bolt-ter"} = "TER";
$TYPE{"bolt-ter-c"} = "TER-c";
+$TYPE{"multi-bleu-detok"} = "BLEU";
+$TYPE{"multi-bleu-c-detok"}= "BLEU-c";
+
my %SCORE;
my %AVERAGE;
foreach (@ARGV) {
@@ -59,7 +62,8 @@ sub process {
elsif ($type eq 'ibm-bleu' || $type eq 'ibm-bleu-c') {
$SCORE{$set} .= &extract_ibm_bleu($file,$type)." ";
}
- elsif ($type eq 'multi-bleu' || $type eq 'multi-bleu-c') {
+ elsif ($type eq 'multi-bleu' || $type eq 'multi-bleu-c'
+ || $type eq 'multi-bleu-detok' || $type eq 'multi-bleu-c-detok') {
$SCORE{$set} .= &extract_multi_bleu($file,$type)." ";
}
elsif ($type eq 'meteor') {