Scala port of the word2vec toolkit.