mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-08-16 23:10:31 +03:00
Fix non-ASCII lowercasing
This commit is contained in:
parent
49b388ac79
commit
fdb7384d3d
@ -14,6 +14,9 @@
|
|||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
|
binmode(STDIN, ":utf8");
|
||||||
|
use open ':encoding(UTF-8)';
|
||||||
|
|
||||||
my $lowercase = 0;
|
my $lowercase = 0;
|
||||||
if ($ARGV[0] eq "-lc") {
|
if ($ARGV[0] eq "-lc") {
|
||||||
$lowercase = 1;
|
$lowercase = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user