How to implement Latent semantic analysis in Python and compare corps of text against query using Cosine similarity ?