mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-08-17 07:20:48 +03:00
Fix non-ASCII lowercasing
This commit is contained in:
parent
49b388ac79
commit
fdb7384d3d
@ -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