diff --git a/glove/glove.py b/glove/glove.py index bb0fe26..845d6c1 100644 --- a/glove/glove.py +++ b/glove/glove.py @@ -232,7 +232,7 @@ def _distance(self, word1_vec, word2_vec): / np.linalg.norm(word1_vec) / np.linalg.norm(word2_vec)) - return dst + return 1 - dst def distance(self, word1, word2): """