Train word embeddings with an RBM and Noise Contrastive Estimation training