Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphikoehn <pkoehn@inf.ed.ac.uk>2012-04-12 03:25:57 +0400
committerphikoehn <pkoehn@inf.ed.ac.uk>2012-04-12 03:25:57 +0400
commit366d427ce68e1cd922c0629667dc3ee05e8183c1 (patch)
tree8c511b92cc6ff6c975eceaab6b8504c765f574ae /scripts/tokenizer
parent49a4be289922d15adda93ca051a59f6f2ea827bb (diff)
minor fixes
Diffstat (limited to 'scripts/tokenizer')
-rwxr-xr-xscripts/tokenizer/deescape-special-chars.perl3
-rwxr-xr-xscripts/tokenizer/escape-special-chars.perl3
2 files changed, 0 insertions, 6 deletions
diff --git a/scripts/tokenizer/deescape-special-chars.perl b/scripts/tokenizer/deescape-special-chars.perl
index 5f5dc449a..c98e01ccc 100755
--- a/scripts/tokenizer/deescape-special-chars.perl
+++ b/scripts/tokenizer/deescape-special-chars.perl
@@ -2,9 +2,6 @@
use strict;
-binmode(STDIN, ":utf8");
-binmode(STDOUT, ":utf8");
-
while(<STDIN>) {
s/\&bar;/\|/g;
s/\&lt;/\</g;
diff --git a/scripts/tokenizer/escape-special-chars.perl b/scripts/tokenizer/escape-special-chars.perl
index a668325ca..5c4dc9bb3 100755
--- a/scripts/tokenizer/escape-special-chars.perl
+++ b/scripts/tokenizer/escape-special-chars.perl
@@ -2,9 +2,6 @@
use strict;
-binmode(STDIN, ":utf8");
-binmode(STDOUT, ":utf8");
-
while(<STDIN>) {
chop;