Full-width and half-width ! and ? mixed
exclamation-width-consistencyon by default (info)Japanese
Full-width !? and half-width !? mixed in one Japanese document
Example
How to fix
Match the way the rest of the document writes it.
Why it matters
In a Japanese document, ! and ? written both full-width (!?) and half-width (!?) make it look pasted together. chaff does not pick a side; it counts only marks touching Japanese text, each kind apart, and points at the less common way.
What it does not flag
Only marks touching Japanese text. A ? in a URL, in code or in English text is not counted.
Turning it off or relaxing it
Technical details
- Layer
- L1
- Status
- stable
- Severity
- info
- Languages
- ja
- Suited to
- business, technical, blog, 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).
| strict | reported once the less common way appears 1 times |
|---|---|
| normal | reported once the less common way appears 1 times |
| relaxed | reported once the less common way appears 3 times |
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
Message
"{mark}" here, where the document usually writes "{usual}" ({count} of {of})
"{mark}" is written two ways in this document ({spaced} full-width, {touching} half-width)
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/exclamation-width-consistency.yaml