Merge branch 'master' of github.com:moses-smt/mosesdecoder

This commit is contained in:
Hieu Hoang 2013-05-17 18:24:38 +01:00
commit 668bda8623

View File

@ -34,6 +34,9 @@ while(my $line = <STDIN>) {
if ($line =~ /\[weight\]/) {
$inWeightSection = 1;
}
elsif ($line =~ /\[weight-file\]/) {
$inWeightSection = 1;
}
elsif ($line =~ /\[[a-zA-Z0-0]*\]/) {
$inWeightSection = 0;
}