diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2007-05-21 17:06:40 +0400 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2007-05-21 17:06:40 +0400 |
commit | aa25c7341d88855f445ee846e9c50656fc6c6566 (patch) | |
tree | 98c64bdfa255f11eb574d016789b030f3d48c169 /scripts/training/clean-corpus-n.perl | |
parent | 432484f16dd0f9f0324b0ce87da1390ed5e245cc (diff) |
fixed bug with non-ascii data, recieved from Jaakko Väyrynen
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1392 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'scripts/training/clean-corpus-n.perl')
-rwxr-xr-x | scripts/training/clean-corpus-n.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/training/clean-corpus-n.perl b/scripts/training/clean-corpus-n.perl index 41640ea9d..c410f3c4a 100755 --- a/scripts/training/clean-corpus-n.perl +++ b/scripts/training/clean-corpus-n.perl @@ -11,7 +11,7 @@ my $enc = "utf8"; # encoding of the input and output files GetOptions( "help" => \$help, "lowercase|lc" => \$lc, - "encoding" => \$enc, + "encoding=s" => \$enc, ) or exit(1); if (scalar(@ARGV) != 6 || $help) { |