Detect near-duplicate documents with token shingles, deterministic MinHash signatures, and a similarity threshold.