diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-05-17 19:13:24 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-05-17 19:13:24 +0400 |
commit | 11632e298e16c6a374f3424f626c06f367ba6fa8 (patch) | |
tree | 84aa82555cba9bb015a64c70d540bd1f5cb9d141 /scripts/training | |
parent | 42c292765abe2c4127c95aa709a45ef5e32ba8f5 (diff) |
add substitute-filtered-tables-and-weights.perl for applying filter for evaluation step
Diffstat (limited to 'scripts/training')
-rwxr-xr-x | scripts/training/mert-moses.pl | 2 |
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; } |