Skip to content

Commit

Permalink
minor typo in word2vec wmdistance
Browse files Browse the repository at this point in the history
  • Loading branch information
jayantj committed Sep 2, 2016
1 parent 9b42c2e commit 372760e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/models/word2vec.py
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ def most_similar(self, positive=[], negative=[], topn=10, restrict_vocab=None, i
return self.kv.most_similar(positive, negative, topn, restrict_vocab, indexer)

def wmdistance(self, document1, document2):
return self.kv.wmdistance(document1. document2)
return self.kv.wmdistance(document1, document2)

def most_similar_cosmul(self, positive=[], negative=[], topn=10):
return self.kv.most_similar_cosmul(positive, negative, topn)
Expand Down

0 comments on commit 372760e

Please sign in to comment.