Learning word embeddings with AdaGrad and Noise Contrastive Estimation, C++ 11.