All rules

One kanji off in a long compound

kanji-compound-slipon by defaultJapanese

A long kanji compound written once with one kanji changed

Example

Flagged
就職氷河期世代の方を対象に、選考を行います。就職氷河期世代の方の応募をお待ちしています。就職氷河期世代の採用は三年間続けます。就職永河期世代の方の説明会も開きます。
What chaff prints
1:64 「就職永河期世代」と書いています(この文書は「就職氷河期世代」を 3 回書いています)
Fixed
就職氷河期世代の方を対象に、選考を行います。就職氷河期世代の方の応募をお待ちしています。就職氷河期世代の採用は三年間続けます。就職氷河期世代の方の説明会も開きます。
What chaff prints
no finding

How to fix

If it is a slip, write it the way the rest of the document does. If it is another word on purpose, leave it.

Why it matters

A document that writes 就職氷河期世代 ("the employment ice-age generation") several times and 就職永河期世代 once has a slip of the pen, and a kanji that looks like another is easy to miss. chaff compares each kanji compound of four or more characters written at least three times with compounds of the same length written once or twice that differ in one kanji. It reports one only where the morphological analyser cannot read the changed word (永 / 河 / 期 come apart) while the usual form holds that kanji inside one word (氷河期). Two real words told apart on purpose (第一条 and 第二条, 前年度 and 今年度, 関係会社 and 関連会社) and the first or last kanji of a run (資本金等, 取締役会又は) are not reported.

What it does not flag

Not reported when the analyser reads both forms as words (関係会社 and 関連会社), when the document writes the changed word elsewhere (質権 beside 当該質権者), when the differing kanji is a number, an order, a part of an address in a statute or a unit of time (第一条 and 第二条, 前年度 and 今年度, 同条 and 同項, 五日以内 and 五年以内), when it is the first or last kanji of the run (資本金等 beside 資本金及), when the usual form appears fewer than three times or not more than twice as often, or when the other form appears three times or more.

Turning it off or relaxing it

Silence this one spot (in the document)
<!-- stet: kanji-compound-slip — reason -->
Relax it for the team (the reason is kept as a comment in chaff.yaml)
npx chaffjs relax kanji-compound-slip --why "reason"
Turn it off for the team (chaff.yaml)
rules: kanji-compound-slip: off
Technical details
Layer
L3
Status
stable
Severity
warning
Languages
ja
Suited to
business, technical, blog, 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).

strictwarning
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, literature/fiction, literature/essay, literature/poetry, literature/play, speech/address, speech/transcript

Genres

Message

"{written}" here, where the document writes "{usual}" {count} times

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/kanji-compound-slip.yaml