I have a file that contains words. I have to calculate cosine similarity of each word with every other words. For that I used the following formula in gensim:
- model.most_similar([word])
- model.save('text.txt')
I want to save the result of cosine-similarity of each words with respective to other words in such a way that I can used them further in classification and clustering. But don't know how to retrieve the results which are saved using gensim model ?