• Stars
    star
    7
  • Rank 2,288,998 (Top 46 %)
  • Language
    C
  • License
    BSD 2-Clause "Sim...
  • Created over 9 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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 building smart indexes 3) Fast approximate search (given the error tolerance) . It is written in C language and you just need basic c compiler to use the code. It has been tested on linux 64 bit machines