6 releases

Uses new Rust 2024

0.1.5 Apr 23, 2026
0.1.4 Apr 18, 2026
0.1.2 Mar 26, 2026

#690 in Caching

23 downloads per month
Used in 3 crates

Apache-2.0

5KB
57 lines

Content deduplication.

Mirrors trafilatura's deduplication.py:

  • Simhash for near-duplicate detection
  • LRU cache at sentence, paragraph, and document level
  • SHA-1 based content fingerprinting

kawat-dedup

Deduplication for the kawat web content extraction library.

Implements Simhash-based near-duplicate detection with LRU caching.

Features

  • Simhash fingerprinting: Fast approximate duplicate detection
  • LRU cache: Memory-efficient deduplication cache
  • Configurable thresholds: Adjustable similarity thresholds
  • SHA-1 content hashing: Exact duplicate detection fallback

License

Apache-2.0

Dependencies

~1.5–2MB
~38K SLoC