pyLZJD
pyLZJD copied to clipboard
Python implementation of the LZJD algorithm
I'm getting some pretty weird similarity results for different size hashes: ``` python In [3]: d1, d2 = digest("A"), digest("ABCDEFGHIJ") In [4]: sim(d1, d2) Out[4]: 1.0 ``` pyLZJD: https://github.com/EdwardRaff/pyLZJD/blob/master/pyLZJD/lzjd.py#L72 LZJD:...
Without this patch, I get the following error: ``` Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) # Deactivate negative indexing. @cython.initializedcheck(False) @cython.cdivision(True) @cython.exceptval(check=False) cdef void sort(signed int* y, ssize_t l)...
It doesn't look like there are many updates on the repo, so not super critical.
Hey there, I've come across your work and would like to include your python implementation of LZJD into my project and hash several million files. Would it be possible to...
Object is not writable. Traceback (most recent call last): File "testingLZJD.py", line 39, in similarity = pyLZJD.sim(pyLZJD.digest(open(f1,"rb").read()), pyLZJD.digest(open(f2,"rb").read())) File "/usr/local/lib/python3.6/dist-packages/pyLZJD-0.0.2-py3.6.egg/pyLZJD/lzjd.py", line 45, in digest return lzjd_cython.lzjd_f(b, hash_size, false_seen_prob) File "lzjd_cython.pyx",...