All rules

Mixed sentence-ending register

no-mixed-desumasuon by default (info)Japanese

A Japanese sentence whose polite or plain ending differs from the rest

Example

Flagged
新しい料金は来月から始まります。請求書の形式も変わります。支払いの期限は月末です。古い料金は三月で終わる。
What chaff prints
1:42 この文だけ他と文末の調子が違います(本文の中で 1 文)
Fixed
新しい料金は来月から始まります。請求書の形式も変わります。支払いの期限は月末です。古い料金は三月で終わります。
What chaff prints
no finding

How to fix

Match the majority. Rewriting the minority is the smallest change.

Why it matters

Mixing polite and plain endings leaves the reader unsure who the document addresses. Neither register is wrong; consistency within one document is the point.

What it does not flag

Neither register is called right; only the sentences in the minority are pointed at. The body and each list are counted apart, and a sentence in a list's minority is left alone when its register is the document's majority. A bold label that opens an item or a paragraph and is followed by more text on its line is a heading, not a sentence. A paragraph of disclaimer or notice wording (…ご了承ください。) whose two or more sentences all share the register the rest of the document does not use is boilerplate in its own voice and is not counted. Nor are the sentences of a section whose heading names what a reader asked (【相談事例等】, ご質問内容), since they quote the asker in their own words. Nor is a licence notice the publisher appends at the end (a short closing paragraph that names a licence and links to its terms).

Turning it off or relaxing it

Silence this one spot (in the document)
<!-- stet: no-mixed-desumasu — reason -->
Relax it for the team (the reason is kept as a comment in chaff.yaml)
npx chaffjs relax no-mixed-desumasu --why "reason"
Turn it off for the team (chaff.yaml)
rules: no-mixed-desumasu: 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).

strictreported when the minority register has 5 sentences or fewer
normalreported when the minority register has 3 sentences or fewer
relaxedreported when the minority register has 1 sentences or fewer

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

This sentence's ending register differs from the rest ({count} in the body text)

This sentence's ending register differs from the rest ({count} in this list)

Sources

This page is built from the rule's definition file:packages/chaff/rules/no-mixed-desumasu.yaml