aboutsummaryrefslogtreecommitdiffstats
path: root/WMD_matching.py
diff options
context:
space:
mode:
authorYigit Sever2019-09-21 14:28:22 +0300
committerYigit Sever2019-09-21 14:28:22 +0300
commit4e55899de64fa57940f554514c9057b0d23736a4 (patch)
tree87c331ab60449a22ca3f26b7353b2ae8739afe57 /WMD_matching.py
parent4f399e8898afd937aa5e1f3cf73dd97dc6d130fd (diff)
downloadEvaluating-Dictionary-Alignment-4e55899de64fa57940f554514c9057b0d23736a4.tar.gz
Evaluating-Dictionary-Alignment-4e55899de64fa57940f554514c9057b0d23736a4.tar.bz2
Evaluating-Dictionary-Alignment-4e55899de64fa57940f554514c9057b0d23736a4.zip
Fix typo
Diffstat (limited to 'WMD_matching.py')
-rw-r--r--WMD_matching.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/WMD_matching.py b/WMD_matching.py
index 0b81696..7fdf2f3 100644
--- a/WMD_matching.py
+++ b/WMD_matching.py
@@ -72,7 +72,7 @@ def mrr_precision_at_k(golden, preds, k_list=[1,]):
72 72
73def main(args): 73def main(args):
74 74
75 numpy.seterr(divide='ignore') # POT has issues with divide by zero errors 75 np.seterr(divide='ignore') # POT has issues with divide by zero errors
76 source_lang = args.source_lang 76 source_lang = args.source_lang
77 target_lang = args.target_lang 77 target_lang = args.target_lang
78 78