All rules

The same sentence ending in a row

repeated-sentence-endingon by default (info)Japanese

Japanese sentences in a row that all end the same way ("…です。…です。…です。")

Example

Flagged
この機能は必要です。設定も簡単です。費用も無料です。
What chaff prints
1:1 「〜です」で終わる文が 3 文続いています(2 文まで)
Fixed
この機能は必要で、設定も簡単です。費用はかかりません。
What chaff prints
no finding

How to fix

Change how one sentence ends, or join two sentences into one.

Why it matters

In Japanese, sentences that all end the same way ("…です。…です。…です。") read as one tone repeated, and the sentence that matters does not stand out. chaff compares the closing auxiliaries and the verb before them as written. After a noun only the auxiliaries count, so 必要です and 重要です end the same way.

What it does not flag

Sentences in different paragraphs are not a run. A sentence that does not end with an auxiliary (a noun, a bare verb) is not compared and breaks the run. Different verbs (読みました, 書きました) are different endings. Sentences that each define a different term in the same frame (台風は〜を指します。ハリケーンは〜を指します。) share their ending on purpose and are not reported.

Turning it off or relaxing it

Silence this one spot (in the document)
<!-- stet: repeated-sentence-ending — reason -->
Relax it for the team (the reason is kept as a comment in chaff.yaml)
npx chaffjs relax repeated-sentence-ending --why "reason"
Turn it off for the team (chaff.yaml)
rules: repeated-sentence-ending: off
Technical details
Layer
L3
Status
stable
Severity
info
Languages
ja
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).

strictup to 2 sentences in a row with the same ending
normalup to 2 sentences in a row with the same ending
relaxedup to 3 sentences in a row with the same ending

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, docs/manual, docs/faq, docs/glossary, academic/paper, speech/address, speech/transcript
Turned off by the genre in
legal/contract, legal/statute, legal/judgment, legal/patent, literature/fiction, literature/essay, literature/poetry, literature/play

Genres

Message

{count} sentences in a row end with "〜{word}" (limit {limit})

Rewrite depth (chaff fix-plan --depth): light — words and sentences; the structure and the voice stay

This page is built from the rule's definition file:packages/chaff/rules/repeated-sentence-ending.yaml