aboutsummaryrefslogtreecommitdiffstats
path: root/WMD_matching.py
diff options
context:
space:
mode:
authorYigit Sever2019-09-21 15:06:32 +0300
committerYigit Sever2019-09-21 15:06:32 +0300
commit4cb6986480def9b0c91fb46e276839c60f96aa49 (patch)
tree10953cd498f2359e0615b0ca3502a33d5cb43607 /WMD_matching.py
parentf9e15ad025f117b38cf03d3b2c75628c4202c0ed (diff)
downloadEvaluating-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.py2
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
5import random 5import random
6from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer 6from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer
7from sklearn.preprocessing import normalize 7from sklearn.preprocessing import normalize
8from Wass_Matcher import Wasserstein_Matcher 8from Wasserstein_Distance import Wasserstein_Matcher
9 9
10def load_embeddings(path, dimension=300): 10def load_embeddings(path, dimension=300):
11 """ 11 """