Change LSH to use tfidf for edge weights