All rules

Long run of kanji

max-kanji-continuouson by default (info)Japanese

A long run of kanji with no kana between them, hard for readers to take apart

Example

Flagged
来週、新規顧客獲得施策検討会議を開きます。
What chaff prints
1:1 「新規顧客獲得施策検討会議」は漢字が 12 字続いています(10 字まで)
Fixed
来週、新しい顧客を増やす施策を話し合う会議を開きます。
What chaff prints
no finding

How to fix

Break it with a particle or kana. If it is an official name that cannot be broken, list it under names in chaff.yaml and it is not counted. A name that fills a 「」 quotation exactly is not counted either.

Why it matters

A long unbroken run of kanji forces the reader to hunt for word boundaries.

What it does not flag

Official organisation names (a legal form or a place name followed by a name that ends in a unit such as 研究所 or 協会, or a chain of units such as 省・局・課, or a name with a proper noun closed by a legal form such as 株式会社), titles of named things (a run ending in 要綱, 試験, 事業, 法 and the like that stands on a line of its own, closes a bracket, is followed by a bracketed note, appears in a heading, or recurs in the document), names of statutes, schemes and grants wherever they stand (住民基本台帳法施行令, 勤労者財産形成貯蓄制度, 社会資本整備総合交付金), names listed under names in chaff.yaml, and provision numbers in statutes (第二十二条第二項) are not counted. Nor is an organisation name that follows a legal form or an organisation unit across a space (一般社団法人 全国〜センター, 〜局 〜課 〜係), or a name in 「」 made of the kanji run and words with no kanji or hiragana (「登録業者情報検索入力ページ」). A leading word that points back or ahead (上記, 当該), a leading ordinal (第百二代, 初代) and a trailing 等 are not counted. An organisation name the document uses on its own elsewhere (安全保障理事会 in 安全保障理事会常任理事国), and a fixed word that closes the run (内閣総理大臣 in 日本国内閣総理大臣, 〜許可事業者) split the run, and what is before and after them is counted apart. In a glossary (headword_genres), a line that holds only a run of kanji is the headword and is not counted. In a list of names with no sentence end (an attendee list such as 区長、副区長、〜委員会事務局長), the title after an organisation name in an item is not counted, as in an addressee line.

Turning it off or relaxing it

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

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 6 kanji in a row
normalup to 8 kanji in a row
relaxedup to 12 kanji in a row

These genres set their own numbers for the levels (npx chaffjs explain shows them): business

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

Genres

Message

"{word}" runs {count} kanji together (limit {limit})

Sources

This page is built from the rule's definition file:packages/chaff/rules/max-kanji-continuous.yaml