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

github.com/moses-smt/mgiza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2014-11-14 17:29:03 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-11-14 17:29:03 +0300
commit15713b294d4864814b0c19a7836ae9c6ad496705 (patch)
treec8933ac3520d23106484398f76031111f223a667
parent9b5f3eef174bd3926687269bdf711a28dfc6caed (diff)
Rollback utf8 encoding. Doesn't work with python <3.0
-rwxr-xr-xmgizapp/scripts/merge_alignment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgizapp/scripts/merge_alignment.py b/mgizapp/scripts/merge_alignment.py
index afeefac..626bc68 100755
--- a/mgizapp/scripts/merge_alignment.py
+++ b/mgizapp/scripts/merge_alignment.py
@@ -21,7 +21,7 @@ sents = [];
done = [];
for i in range(1,len(sys.argv)):
- files.append(open(sys.argv[i],"r", encoding='utf-8'));
+ files.append(open(sys.argv[i],"r"));
ids.append(0);
sents.append("");
done.append(False);