You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
content/keyword-stuffing counts German stop words (die, und, aus) as overused keywords #1042
content/keyword-stuffing counts German function words as overused keywords. On a <html lang="de"> page it reports die, und, aus and alles, which are stop words (articles, conjunctions, prepositions) with a natural density of 3–7 % in German prose. On a live German fashion shop it fires on 52 of 60 pages, so we keep the rule disabled.
Repro
index.html, lang="de", ~720 words of ordinary German product copy, built from these six sentences repeated 12 times:
<!doctype html><htmllang="de"><head><metacharset="utf-8"><title>Bademode für Damen und Herren</title></head><body><main><h1>Bademode für Damen und Herren</h1><p>Hier findest du alles für den Sommer, alles aus weicher Baumwolle. Unsere Shirts kommen aus fairer Produktion und halten lange. Wähle aus vielen Farben die Bademode, die zu dir passt. Versand und Rückgabe sind kostenlos, die Lieferung dauert zwei Tage. Die Stoffe stammen aus Portugal, genäht wird in kleinen Werkstätten. Pflegehinweise findest du auf jedem Etikett und in unserem Ratgeber.</p><!-- same paragraph x12 --></main></body></html>
content/keyword-stuffing warn: "5 word(s) may be overused": "alles" (3.6%), "aus" (7.2%), "die" (7.2%), "findest" (3.6%), "und" (5.6%).
Expected
Stop words of the page language (from <html lang>, as link-text and anchor-text already do since v0.0.128) are excluded from the density count, at least for the languages link-text already knows (de, es, fr, pt, it, nl, …). Only content words like bademode would remain candidates. findest (a verb form) is a borderline case; a stop-word list would not catch it, which is fine.
Version
squirrel v0.0.129
Acceptance Criteria
On a lang="de" page, German stop words (die, der, das, und, aus, alles, …) are not reported by content/keyword-stuffing
The repro above reports no stop word
A content word above the density threshold on the same page is still reported
English pages keep the current behaviour
A test covers at least one non-English stop-word list chosen by <html lang>
I would like to take this. I will select language-specific stop words from the primary subtag of the page’s <html lang>, preserve the current English and unknown-language behavior, add the German reproduction plus a content-word positive control, and update the rule documentation and changelog.
Activity
WilliamK112 commentedon Oct 24, 2026
I would like to take this. I will select language-specific stop words from the primary subtag of the page’s
<html lang>, preserve the current English and unknown-language behavior, add the German reproduction plus a content-word positive control, and update the rule documentation and changelog.fix(rules): exclude localized stop words squirrelscan#1042
fix(rules): exclude localized stop words from keyword-stuffing (#1120)