How to use word2vec to calculate the similarity distance by giving 2 words?
gensim has a Python implementation of Word2Vec which provides an in-built utility for finding similarity between two words given as input by the user. You can refer to the following: Intro: http://radimrehurek.com/gensim/models/word2vec.html Tutorial: http://radimrehurek.com/2014/02/word2vec-tutorial/ UPDATED: Gensim 4.0.0 and above The syntax in Python for finding similarity between two words goes like this: >> from gensim.models … Read more