I built a small code to find analogies using word2vec and it runs fine as stand alone application. Here is the working code