Java port of word2vec