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:
authorbojar <bojar@1f5c12ca-751b-0410-a591-d2e778427230>2011-02-14 16:35:04 +0300
committerbojar <bojar@1f5c12ca-751b-0410-a591-d2e778427230>2011-02-14 16:35:04 +0300
commit76174ccd4bb95a775c1fa4a89a74e9d95da81a4e (patch)
treef72a3beb6a7189ad39d3a5042f43b7651e40942f /scripts/tokenizer
parent26ccace94644af74bd945a3f91b8cb047b919e4f (diff)
mark web/bin/detokenizer.perl as outdated
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3880 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'scripts/tokenizer')
-rwxr-xr-xscripts/tokenizer/detokenizer.perl3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/tokenizer/detokenizer.perl b/scripts/tokenizer/detokenizer.perl
index 1745580d6..3538fd6db 100755
--- a/scripts/tokenizer/detokenizer.perl
+++ b/scripts/tokenizer/detokenizer.perl
@@ -5,6 +5,9 @@
# written by Josh Schroeder, based on code by Philipp Koehn
# further modifications by Ondrej Bojar
+# This added by Herve Saint-Amand for compatibility with translate.cgi
+$|++;
+
binmode(STDIN, ":utf8");
binmode(STDOUT, ":utf8");
use strict;