diff options
author | Yigit Sever | 2019-09-21 16:52:54 +0300 |
---|---|---|
committer | Yigit Sever | 2019-09-21 16:52:54 +0300 |
commit | 1558c5e3ea8e34286ad587a8473f5121d5e8d289 (patch) | |
tree | 2b8d060c8ae5e91e55535db4cb020c6679990c65 /WMD_matching.py | |
parent | 27a4004b7326eb8c258065739cb7e95de39692c4 (diff) | |
download | Evaluating-Dictionary-Alignment-1558c5e3ea8e34286ad587a8473f5121d5e8d289.tar.gz Evaluating-Dictionary-Alignment-1558c5e3ea8e34286ad587a8473f5121d5e8d289.tar.bz2 Evaluating-Dictionary-Alignment-1558c5e3ea8e34286ad587a8473f5121d5e8d289.zip |
Cleaned up WMD_retrieval
Diffstat (limited to 'WMD_matching.py')
-rw-r--r-- | WMD_matching.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WMD_matching.py b/WMD_matching.py index 2316a10..8a97389 100644 --- a/WMD_matching.py +++ b/WMD_matching.py | |||
@@ -22,6 +22,7 @@ def main(args): | |||
22 | 22 | ||
23 | batch = args.batch | 23 | batch = args.batch |
24 | mode = args.mode | 24 | mode = args.mode |
25 | |||
25 | defs_source = [line.rstrip('\n') for line in open(source_defs_filename, encoding='utf8')] | 26 | defs_source = [line.rstrip('\n') for line in open(source_defs_filename, encoding='utf8')] |
26 | defs_target = [line.rstrip('\n') for line in open(target_defs_filename, encoding='utf8')] | 27 | defs_target = [line.rstrip('\n') for line in open(target_defs_filename, encoding='utf8')] |
27 | 28 | ||