diff options
Diffstat (limited to 'WMD_matching.py')
-rw-r--r-- | WMD_matching.py | 2 |
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 | ||
73 | def main(args): | 73 | def 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 | ||