Generalised function that builds thesauri from socher embeddings to take any embeddings

Added code to train word2vec vectors on gigaword and build thesauri out of them.