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:
authorRico Sennrich <rico.sennrich@gmx.ch>2013-06-03 15:48:31 +0400
committerRico Sennrich <rico.sennrich@gmx.ch>2013-06-03 15:48:31 +0400
commit8581fb9518454fb64a6a1858bfab59f9c04ededa (patch)
tree62d6e9997e247fcc6e233e4a4f70065bb99cd531 /scripts/training/create_count_tables.py
parent3b76143072161009e0aef518b24dba3cfeced0df (diff)
fix (minor) unicode warning, and update permissions
Diffstat (limited to 'scripts/training/create_count_tables.py')
-rwxr-xr-x[-rw-r--r--]scripts/training/create_count_tables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/training/create_count_tables.py b/scripts/training/create_count_tables.py
index 3b494e814..29d18f2dd 100644..100755
--- a/scripts/training/create_count_tables.py
+++ b/scripts/training/create_count_tables.py
@@ -71,7 +71,7 @@ def create_count_lines(fobj, countobj, countobj_target, prune=0):
i = 0
original_pos = 0
- source = ""
+ source = b""
store_lines = set()
for line in fobj: