mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-08-17 07:20:48 +03:00
Merge pull request #209 from joelb-git/multi-bleu-detok-non-ascii-fix
Fix non-ASCII lowercasing
This commit is contained in:
commit
187a75cb55
@ -14,6 +14,9 @@
|
||||
use warnings;
|
||||
use strict;
|
||||
|
||||
binmode(STDIN, ":utf8");
|
||||
use open ':encoding(UTF-8)';
|
||||
|
||||
my $lowercase = 0;
|
||||
if ($ARGV[0] eq "-lc") {
|
||||
$lowercase = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user