diff options
author | Yigit Sever | 2019-09-21 15:06:32 +0300 |
---|---|---|
committer | Yigit Sever | 2019-09-21 15:06:32 +0300 |
commit | 4cb6986480def9b0c91fb46e276839c60f96aa49 (patch) | |
tree | 10953cd498f2359e0615b0ca3502a33d5cb43607 /WMD_matching.py | |
parent | f9e15ad025f117b38cf03d3b2c75628c4202c0ed (diff) | |
download | Evaluating-Dictionary-Alignment-4cb6986480def9b0c91fb46e276839c60f96aa49.tar.gz Evaluating-Dictionary-Alignment-4cb6986480def9b0c91fb46e276839c60f96aa49.tar.bz2 Evaluating-Dictionary-Alignment-4cb6986480def9b0c91fb46e276839c60f96aa49.zip |
Tidy up Wasserstein classes into one file
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 7fdf2f3..38dbff4 100644 --- a/WMD_matching.py +++ b/WMD_matching.py | |||
@@ -5,7 +5,7 @@ import nltk | |||
5 | import random | 5 | import random |
6 | from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer | 6 | from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer |
7 | from sklearn.preprocessing import normalize | 7 | from sklearn.preprocessing import normalize |
8 | from Wass_Matcher import Wasserstein_Matcher | 8 | from Wasserstein_Distance import Wasserstein_Matcher |
9 | 9 | ||
10 | def load_embeddings(path, dimension=300): | 10 | def load_embeddings(path, dimension=300): |
11 | """ | 11 | """ |