lsh_compare function

Compare candidates identified by LSH