word2vector code review