63 of 2,385 Posts Share a Sentence: A MinHash Audit
A corpus of 2,385 posts looks unique by file hash and turns out to share whole sentences across dozens of pages.
📜 Table of Contents
📖 Keep reading
We ran a near-duplicate audit on 2,385 English posts published between June and December 2026, average length 574 words. It found 1,027 pairs of posts whose five-word shingles overlap by at least 50%, 345 pairs above 80%, and nine clusters of posts that are the same page with a different product name in the title. The most repeated sentence fragment appears in 63 separate posts.
None of this needs a model, an API key or a database. A shingle set, a MinHash signature and a union-find pass over 24 MB of JSON finished in under a minute.
The corpus
| item | value |
|---|---|
| posts | 2,385 |
| date range | 2026-06-06 to 2026-12-02 |
| average length | 574 words (title + symptom + body, HTML stripped) |
| exact duplicate bodies | 0 |
| exact duplicate titles | 2 groups |
Zero exact duplicates is the interesting part. A hash check says the corpus is clean. The problem only shows up when you compare sentences instead of files.
Method
Lowercase the text, strip tags, split on runs of letters and digits, build the set of every 5-word window, then Jaccard: intersection over union. Two posts on the same topic with original prose land around 0.15 to 0.3. Two posts built from the same template land above 0.8.
Comparing 2,385 posts pairwise is 2.8 million comparisons, which is fine for sets of 500 shingles but pointless. MinHash narrows it: 64 permutations per document, split into 8 bands of 8, any shared band becomes a candidate. That produced 1,054 candidate pairs. Every threshold below is an exact Jaccard recomputation on those candidates.
import re, json, collections
def shingles(text, k=5):
words = re.findall(r'[a-z0-9]+', text.lower())
return {' '.join(words[i:i+k]) for i in range(max(0, len(words) - k + 1))}
def jaccard(a, b):
return len(a & b) / len(a | b)
The rest is bookkeeping: build signatures, bucket by band, recompute exact Jaccard, union-find on pairs above the cluster threshold.
What the thresholds returned
| Jaccard | pairs | posts involved |
|---|---|---|
| 0.9 and up | 3 | 3 |
| 0.8 and up | 345 | 70 |
| 0.7 and up | 619 | 113 |
| 0.6 and up | 965 | 147 |
| 0.5 and up | 1,027 | 153 |
Two things stand out. First, almost every pair above 0.5 is also above 0.6: 1,027 versus 965. The distribution is not a smooth curve, it is a lump. Either two pages share a template, or they share a topic and little else. Second, only 2.9% of the corpus (70 posts) sits in the 0.8 clusters, which is a small enough number to fix by hand in a day.
The nine clusters
| posts | example title |
|---|---|
| 24 | Best AI Content Writing Tools in 2026: Top 10 Tools Compared |
| 19 | Machine Learning Pipeline GitHub: Top Open Source Repositories 2026 |
| 14 | Best Open Source LLM 2026: Which One to Download |
| 3 | Making Money on AI Agent Marketplaces: Publisher and Monetization Guide |
| 2 | Advanced AI Prompt A/B Testing: Multivariate Experiments and Automation |
| 2 | Best Free AI Coding Assistants for Students in 2026: 8 Tools Compared |
The 24-post cluster is the clearest case. Each page names a different category, from content writing to email assistants, and the prose between the product names is the same. To a reader who lands on two of them the second page is worthless. To Google, the second page is a near-duplicate competing with the first for crawl budget and for the same query space.
The repeated sentences
Counting how many posts contain each five-word shingle gives the reason directly. Eight fragments appear in 61 to 63 posts each:
| five-word fragment | posts |
|---|---|
| for teams that want to | 63 |
| ideal for teams that want | 62 |
| match the tool to the | 62 |
| you choose in 2026 choosing | 61 |
| right answer many teams use | 61 |
| rapid iteration the key is | 61 |
| are straightforward thanks to shared | 61 |
| ecosystem and configuration options give | 61 |
These are not topic words. They are the connective tissue of a comparison template, written once and reused across two months of publishing. The tell is in the fourth row: "you choose in 2026 choosing" is what happens when a year and a category are substituted into a fixed sentence.
What to do with the list
- Merge anything at 0.9 and above. Three pairs, and the merged page can keep both sets of product data.
- Rewrite or prune the 70 posts in the 0.8 clusters. Keeping the strongest page per cluster and redirecting the rest is usually better than rewriting 24 near-identical pages.
- Review the 0.7 band by hand. Some of those pairs are legitimate: two posts on the same tool can share 70% of their shingles if both quote the same release notes.
- Stop the source. The template that produced 63 copies of one sentence will produce another 63 unless the generation step gets a banned-phrase list and a duplicate check against the existing corpus before publishing.
A duplicate check at publish time is cheap: keep the shingle sets in memory, compare the new post against the last few thousand, and refuse anything above 0.8 until it is rewritten. That one gate would have caught all 345 pairs in this audit before they were indexed.
What the method misses
Shingles catch copied phrasing, not copied ideas. Two posts that explain the same thing in different words score low and are still redundant. MinHash banding also has false negatives: at 8 bands of 8 rows, pairs between 0.5 and 0.7 can be dropped, so those counts are lower bounds, not totals. The 0.8 and 0.9 numbers are close to exact because the banding threshold sits there.
The audit also says nothing about quality. A 0.2 pair can be two thin pages; a 0.85 pair can be a hub page and its summary. Jaccard measures overlap, and the decision about what to keep is still editorial.
Related measurements
- 120 posts through the URL Inspection API: 0 indexed
- 701,136 requests, zero fetches of llms.txt
- AI test maker: 18 of 90 items repeat on a re-run
FAQ
Why five-word shingles rather than whole sentences?
Sentence-level comparison misses rewording inside a sentence and breaks on punctuation differences. Five words is long enough to be specific and short enough to survive small edits, which is what template text is.
Is 0.5 a high score?
For unrelated posts, no: shared vocabulary in one niche easily reaches 0.2 to 0.3. At 0.5 the pages are usually on the same topic. At 0.8 the sentence structure is the same, and that is the line worth acting on.
How long does this take to run?
On this corpus the whole audit finished in 23.6 seconds on a 2 vCPU VM, peak RSS 311 MB, using nothing outside the standard library. The signatures are 64 integers per post, so memory does not grow with document length.
Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only — no paid placements.