summaryrefslogtreecommitdiff
path: root/pyfuzzy.pyx
AgeCommit message (Collapse)Author
2013-03-25implement variants of the hashesHelmut Grohne
FUZZY_FLAG_ELIMSEQ: The comparison operation runs eliminate_sequence before actually comparing two hashes on both of them. This step can be moved to hash generation time using this flag. Suggested by Niels Thykier. FUZZY_FLAG_NOTRUNC: The second part of the hash is truncated to SPAMSUM_LENGTH/2 by default. When comparing two hashes with different blocksize this can result in a larger edit distance and therefore false negatives.
2013-03-24cython moduleHelmut Grohne
Finally a Python interface in the spirit of hashlib.