I am playing around with FastText
, https://pypi.python.org/pypi/fasttext,which is quite similar to Word2Vec
. Since it seems to be a pretty new library
You can install pyfasttext library to extract the most similar or nearest words to a particualr word.
from pyfasttext import FastText
model = FastText('model.bin')
model.nearest_neighbors('dog', k=2000)
Or you can get the latest development version of fasttext, you can install from the github repository :
import fasttext
model = fasttext.load_model('model.bin')
model.get_nearest_neighbors('dog', k=100)