a helper for word embeddings (word2vec, glove)