Available on crate features
minhash or simhash or lsh or tlsh only.Expand description
Classical (non-neural) fingerprinters.
Two traits cover the two modes txtfp produces fingerprints in:
Fingerprinter— feed a whole&strand get its full output. Suited to enrolment / batch jobs.StreamingFingerprinter— push byte chunks as they arrive and consolidate at the end. Suited to large-file pipelines and memory-bounded streaming.
Concrete implementations live in feature-gated submodules:
minhash (minhash feature), simhash (simhash feature),
lsh (lsh feature).
Modules§
- lsh
lsh - Banded LSH index over MinHash signatures.
- minhash
minhash - MinHash sketcher.
- simhash
simhash - SimHash sketcher.
- tlsh
tlsh - TLSH (Trend Micro Locality-Sensitive Hash) fingerprinter.
Enums§
- Hash
Family minhashorsimhash - Selectable non-cryptographic hash family.
Traits§
- Fingerprinter
- Offline fingerprinter — consumes a whole document and emits one fingerprint.
- Streaming
Fingerprinter - Streaming fingerprinter — accumulates bytes across calls, emits one fingerprint at end-of-stream.