All rules

Word written twice

doubled-wordon by defaultJapanese / English

The same word written twice in a row, as in "the the"

Example

Flagged
We will send the the file tomorrow.
What chaff prints
1:18 "the the" doubles a word; one of the two is left over
Fixed
We will send the file tomorrow.
What chaff prints
no finding

How to fix

Delete the extra word. If a rewrite was half done ("our the platform"), keep the wording you meant.

Why it matters

The same word twice in a row ("the the"), or two words where English takes one ("our the platform"), is left over from an edit. The reader stumbles, and the document looks rushed. In Japanese, the same particle on both sides of a parenthetical aside (本規約は(以下、規約)は) is left over the same way. Repeats that grammar allows ("had had", "that that", "is, is") and repeats for emphasis ("very very") are not counted.

What it does not flag

Repeats that grammar allows ("had had", "that that"), repeats for emphasis ("very very"), and the same word in two different parts of speech are not reported. Nor is kana repeated inside a Japanese reading in parentheses (凛々(りり)しい).

Turning it off or relaxing it

Silence this one spot (in the document)
<!-- stet: doubled-word — reason -->
Relax it for the team (the reason is kept as a comment in chaff.yaml)
npx chaffjs relax doubled-word --why "reason"
Turn it off for the team (chaff.yaml)
rules: doubled-word: off
Technical details
Layer
L3
Status
stable
Severity
warning
Languages
Japanese and English
Suited to
blog, business, technical, legal, docs, academic, literature, speech
Reads from the document
pos

Levels

Set a level for this rule under rules in chaff.yaml. With nothing set, it runs at the level its genre gives it (see By genre below).

stricterror
normalwarning
relaxedinfo

This rule has no limit to count to. A level sets how a finding is marked: relaxed keeps the finding and marks it a step lower.

By genre

Runs by default in
technical/spec, technical/readme, blog/tech, blog/essay, blog/owned-media, business/proposal, business/report, business/email, business/press-release, business/meeting-notes, legal/contract, legal/statute, legal/judgment, legal/patent, docs/manual, docs/faq, docs/glossary, academic/paper, speech/address
Turned off by the genre in
literature/fiction, literature/essay, literature/poetry, literature/play, speech/transcript

Genres

Message

"{word}" doubles a word; one of the two is left over

This page is built from the rule's definition file:packages/chaff/rules/doubled-word.yaml