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:
authorHieu Hoang <hieuhoang@gmail.com>2013-05-17 19:13:24 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-05-17 19:13:24 +0400
commit11632e298e16c6a374f3424f626c06f367ba6fa8 (patch)
tree84aa82555cba9bb015a64c70d540bd1f5cb9d141 /scripts/training
parent42c292765abe2c4127c95aa709a45ef5e32ba8f5 (diff)
add substitute-filtered-tables-and-weights.perl for applying filter for evaluation step
Diffstat (limited to 'scripts/training')
-rwxr-xr-xscripts/training/mert-moses.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/training/mert-moses.pl b/scripts/training/mert-moses.pl
index e9f46de26..0dd8c6336 100755
--- a/scripts/training/mert-moses.pl
+++ b/scripts/training/mert-moses.pl
@@ -741,7 +741,7 @@ while (1) {
my @names = @{$featlist->{"names"}};
open my $denseout, '>', $densefile or die "Can't write $densefile (WD now $___WORKING_DIR)";
for (my $i = 0; $i < scalar(@{$featlist->{"names"}}); $i++) {
- print $denseout "$names[$i] $names[$i] $vals[$i]\n";
+ print $denseout "$names[$i]= $vals[$i]\n";
}
close $denseout;
}