Add codes for generating word vectors