This code implements fast cosine similarity search between text sentences. You have a database of sentences (can be tweets/ documents etc ) and a list of query sentences. This code searches the database and finds the nearest neighbhor to the given queries using cosine similarity. The code supports 1) brute force search 2) Fast exact search by bu…
-
Updated
Jun 23, 2017 - C