chaffjs 0.49.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/announced-count.d.ts.map +1 -1
- package/dist/announced-count.js +18 -1
- package/dist/announced-count.js.map +1 -1
- package/dist/announced-list.d.ts.map +1 -1
- package/dist/announced-list.js +6 -1
- package/dist/announced-list.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +4 -2
- package/dist/cli.js.map +1 -1
- package/dist/composite-signals.d.ts +3 -1
- package/dist/composite-signals.d.ts.map +1 -1
- package/dist/composite-signals.js +7 -0
- package/dist/composite-signals.js.map +1 -1
- package/dist/detectors/agentless-passive.d.ts.map +1 -1
- package/dist/detectors/agentless-passive.js +39 -4
- package/dist/detectors/agentless-passive.js.map +1 -1
- package/dist/detectors/agreement-slip.d.ts +2 -0
- package/dist/detectors/agreement-slip.d.ts.map +1 -1
- package/dist/detectors/agreement-slip.js +10 -3
- package/dist/detectors/agreement-slip.js.map +1 -1
- package/dist/detectors/amount-scale.js +2 -2
- package/dist/detectors/amount-scale.js.map +1 -1
- package/dist/detectors/chat-citation.d.ts +2 -6
- package/dist/detectors/chat-citation.d.ts.map +1 -1
- package/dist/detectors/chat-citation.js +4 -2
- package/dist/detectors/chat-citation.js.map +1 -1
- package/dist/detectors/chat-mark-extent.d.ts +11 -0
- package/dist/detectors/chat-mark-extent.d.ts.map +1 -0
- package/dist/detectors/chat-mark-extent.js +53 -0
- package/dist/detectors/chat-mark-extent.js.map +1 -0
- package/dist/detectors/conjugated-entry.d.ts +2 -2
- package/dist/detectors/conjugated-entry.d.ts.map +1 -1
- package/dist/detectors/conjugated-entry.js +3 -5
- package/dist/detectors/conjugated-entry.js.map +1 -1
- package/dist/detectors/contrast-frame.d.ts.map +1 -1
- package/dist/detectors/contrast-frame.js +34 -1
- package/dist/detectors/contrast-frame.js.map +1 -1
- package/dist/detectors/currency-notation.js +2 -2
- package/dist/detectors/currency-notation.js.map +1 -1
- package/dist/detectors/defined-term-form.d.ts.map +1 -1
- package/dist/detectors/defined-term-form.js +15 -3
- package/dist/detectors/defined-term-form.js.map +1 -1
- package/dist/detectors/definition-use.d.ts.map +1 -1
- package/dist/detectors/definition-use.js +5 -1
- package/dist/detectors/definition-use.js.map +1 -1
- package/dist/detectors/ellipsis.js +2 -2
- package/dist/detectors/ellipsis.js.map +1 -1
- package/dist/detectors/email-letter.d.ts +2 -0
- package/dist/detectors/email-letter.d.ts.map +1 -1
- package/dist/detectors/email-letter.js +1 -1
- package/dist/detectors/email-letter.js.map +1 -1
- package/dist/detectors/en-shape.d.ts.map +1 -1
- package/dist/detectors/en-shape.js +34 -8
- package/dist/detectors/en-shape.js.map +1 -1
- package/dist/detectors/gram-furniture.d.ts +1 -0
- package/dist/detectors/gram-furniture.d.ts.map +1 -1
- package/dist/detectors/gram-furniture.js +6 -0
- package/dist/detectors/gram-furniture.js.map +1 -1
- package/dist/detectors/gram-repetition.d.ts.map +1 -1
- package/dist/detectors/gram-repetition.js +8 -2
- package/dist/detectors/gram-repetition.js.map +1 -1
- package/dist/detectors/heading-case.d.ts +1 -0
- package/dist/detectors/heading-case.d.ts.map +1 -1
- package/dist/detectors/heading-case.js +10 -3
- package/dist/detectors/heading-case.js.map +1 -1
- package/dist/detectors/kutoten-consistency.d.ts.map +1 -1
- package/dist/detectors/kutoten-consistency.js +27 -6
- package/dist/detectors/kutoten-consistency.js.map +1 -1
- package/dist/detectors/lexicon-match.d.ts +2 -0
- package/dist/detectors/lexicon-match.d.ts.map +1 -1
- package/dist/detectors/lexicon-match.js +14 -3
- package/dist/detectors/lexicon-match.js.map +1 -1
- package/dist/detectors/lexicon.d.ts.map +1 -1
- package/dist/detectors/lexicon.js +8 -1
- package/dist/detectors/lexicon.js.map +1 -1
- package/dist/detectors/list-item-clause.d.ts +4 -0
- package/dist/detectors/list-item-clause.d.ts.map +1 -0
- package/dist/detectors/list-item-clause.js +8 -0
- package/dist/detectors/list-item-clause.js.map +1 -0
- package/dist/detectors/list-parallel.d.ts.map +1 -1
- package/dist/detectors/list-parallel.js +6 -2
- package/dist/detectors/list-parallel.js.map +1 -1
- package/dist/detectors/list-sentence.d.ts +2 -0
- package/dist/detectors/list-sentence.d.ts.map +1 -1
- package/dist/detectors/list-sentence.js.map +1 -1
- package/dist/detectors/mark-shape.d.ts.map +1 -1
- package/dist/detectors/mark-shape.js +28 -8
- package/dist/detectors/mark-shape.js.map +1 -1
- package/dist/detectors/missing-final-period.d.ts.map +1 -1
- package/dist/detectors/missing-final-period.js +10 -1
- package/dist/detectors/missing-final-period.js.map +1 -1
- package/dist/detectors/nominalization.d.ts.map +1 -1
- package/dist/detectors/nominalization.js +11 -4
- package/dist/detectors/nominalization.js.map +1 -1
- package/dist/detectors/ordinal-suffix.js +2 -2
- package/dist/detectors/ordinal-suffix.js.map +1 -1
- package/dist/detectors/orthographic-variant.d.ts.map +1 -1
- package/dist/detectors/orthographic-variant.js +30 -6
- package/dist/detectors/orthographic-variant.js.map +1 -1
- package/dist/detectors/orthography.d.ts.map +1 -1
- package/dist/detectors/orthography.js +13 -7
- package/dist/detectors/orthography.js.map +1 -1
- package/dist/detectors/oxford-comma.d.ts.map +1 -1
- package/dist/detectors/oxford-comma.js +15 -1
- package/dist/detectors/oxford-comma.js.map +1 -1
- package/dist/detectors/paragraph-run.js +2 -2
- package/dist/detectors/paragraph-run.js.map +1 -1
- package/dist/detectors/phone-number-variant.d.ts.map +1 -1
- package/dist/detectors/phone-number-variant.js +2 -1
- package/dist/detectors/phone-number-variant.js.map +1 -1
- package/dist/detectors/phrase-context.d.ts +6 -0
- package/dist/detectors/phrase-context.d.ts.map +1 -0
- package/dist/detectors/phrase-context.js +12 -0
- package/dist/detectors/phrase-context.js.map +1 -0
- package/dist/detectors/phrase-match-all.d.ts +3 -0
- package/dist/detectors/phrase-match-all.d.ts.map +1 -0
- package/dist/detectors/phrase-match-all.js +47 -0
- package/dist/detectors/phrase-match-all.js.map +1 -0
- package/dist/detectors/phrase-match.d.ts +2 -1
- package/dist/detectors/phrase-match.d.ts.map +1 -1
- package/dist/detectors/phrase-match.js +25 -6
- package/dist/detectors/phrase-match.js.map +1 -1
- package/dist/detectors/placeholder-text.d.ts.map +1 -1
- package/dist/detectors/placeholder-text.js +14 -2
- package/dist/detectors/placeholder-text.js.map +1 -1
- package/dist/detectors/proper-noun-density.d.ts.map +1 -1
- package/dist/detectors/proper-noun-density.js +10 -6
- package/dist/detectors/proper-noun-density.js.map +1 -1
- package/dist/detectors/quote-around.d.ts +3 -0
- package/dist/detectors/quote-around.d.ts.map +1 -1
- package/dist/detectors/quote-around.js +2 -0
- package/dist/detectors/quote-around.js.map +1 -1
- package/dist/detectors/range-notation.js +2 -2
- package/dist/detectors/range-notation.js.map +1 -1
- package/dist/detectors/registry/phrase-match-all.d.ts +3 -0
- package/dist/detectors/registry/phrase-match-all.d.ts.map +1 -0
- package/dist/detectors/registry/phrase-match-all.js +3 -0
- package/dist/detectors/registry/phrase-match-all.js.map +1 -0
- package/dist/detectors/requirement-lists.d.ts.map +1 -1
- package/dist/detectors/requirement-lists.js +2 -0
- package/dist/detectors/requirement-lists.js.map +1 -1
- package/dist/detectors/sentence-counts.d.ts.map +1 -1
- package/dist/detectors/sentence-counts.js +5 -3
- package/dist/detectors/sentence-counts.js.map +1 -1
- package/dist/detectors/sentence-length.d.ts.map +1 -1
- package/dist/detectors/sentence-length.js +9 -2
- package/dist/detectors/sentence-length.js.map +1 -1
- package/dist/detectors/signals.d.ts.map +1 -1
- package/dist/detectors/signals.js +6 -1
- package/dist/detectors/signals.js.map +1 -1
- package/dist/detectors/team.d.ts.map +1 -1
- package/dist/detectors/team.js +42 -9
- package/dist/detectors/team.js.map +1 -1
- package/dist/detectors/unit-spacing.js +2 -2
- package/dist/detectors/unit-spacing.js.map +1 -1
- package/dist/detectors/vague-deadline.d.ts.map +1 -1
- package/dist/detectors/vague-deadline.js +2 -1
- package/dist/detectors/vague-deadline.js.map +1 -1
- package/dist/levels.d.ts +14 -0
- package/dist/levels.d.ts.map +1 -1
- package/dist/levels.js +8 -3
- package/dist/levels.js.map +1 -1
- package/dist/phone-numbers.d.ts +5 -2
- package/dist/phone-numbers.d.ts.map +1 -1
- package/dist/phone-numbers.js +17 -3
- package/dist/phone-numbers.js.map +1 -1
- package/dist/plugin.d.ts +2 -0
- package/dist/plugin.d.ts.map +1 -1
- package/dist/render/explain.d.ts +2 -0
- package/dist/render/explain.d.ts.map +1 -1
- package/dist/render/explain.js +38 -14
- package/dist/render/explain.js.map +1 -1
- package/dist/render/options.d.ts.map +1 -1
- package/dist/render/options.js +11 -6
- package/dist/render/options.js.map +1 -1
- package/dist/render/text.d.ts.map +1 -1
- package/dist/render/text.js +14 -4
- package/dist/render/text.js.map +1 -1
- package/dist/run.d.ts +3 -0
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +20 -13
- package/dist/run.js.map +1 -1
- package/dist/structure/deadline-after-event.d.ts +1 -1
- package/dist/structure/deadline-after-event.d.ts.map +1 -1
- package/dist/structure/deadline-after-event.js +36 -9
- package/dist/structure/deadline-after-event.js.map +1 -1
- package/dist/structure/definition-use.d.ts +10 -1
- package/dist/structure/definition-use.d.ts.map +1 -1
- package/dist/structure/definition-use.js +4 -4
- package/dist/structure/definition-use.js.map +1 -1
- package/dist/structure/leg-times.d.ts.map +1 -1
- package/dist/structure/leg-times.js +10 -2
- package/dist/structure/leg-times.js.map +1 -1
- package/dist/structure/requirement-lists.d.ts +3 -0
- package/dist/structure/requirement-lists.d.ts.map +1 -1
- package/dist/structure/requirement-lists.js +8 -2
- package/dist/structure/requirement-lists.js.map +1 -1
- package/dist/structure/time-marks.d.ts +10 -0
- package/dist/structure/time-marks.d.ts.map +1 -1
- package/dist/structure/time-marks.js +21 -0
- package/dist/structure/time-marks.js.map +1 -1
- package/package.json +3 -3
- package/rules/abstract-length.yaml +1 -1
- package/rules/adverb-overuse.yaml +1 -1
- package/rules/agentless-passive.yaml +3 -3
- package/rules/agreement-slip.yaml +5 -4
- package/rules/ai-generated-composite.yaml +3 -3
- package/rules/ai-structure.yaml +1 -1
- package/rules/all-caps-shouting.yaml +1 -1
- package/rules/announced-count-mismatch.yaml +2 -2
- package/rules/announcing-opener.yaml +1 -1
- package/rules/arrival-before-departure.yaml +1 -1
- package/rules/article-sound.yaml +1 -1
- package/rules/baito-keigo.yaml +1 -1
- package/rules/bold-density.yaml +1 -1
- package/rules/bold-emphasis.yaml +1 -1
- package/rules/bold-label-list.yaml +1 -1
- package/rules/bracket-width-consistency.yaml +1 -1
- package/rules/chat-citation-residue.yaml +1 -1
- package/rules/citation-style-mix.yaml +1 -1
- package/rules/clause-chain.yaml +1 -1
- package/rules/cliche.yaml +4 -4
- package/rules/closing-cliche.yaml +1 -1
- package/rules/closing-exhortation.yaml +1 -1
- package/rules/cold-open.yaml +1 -1
- package/rules/colloquial-opener.yaml +1 -1
- package/rules/concrete-evidence-density.yaml +1 -1
- package/rules/contraction-consistency.yaml +1 -1
- package/rules/cross-doc-term-variant.yaml +2 -2
- package/rules/cushion-phrase-density.yaml +1 -1
- package/rules/deadline-after-event.yaml +2 -2
- package/rules/demonstrative-opener-run.yaml +1 -1
- package/rules/double-keigo.yaml +1 -1
- package/rules/double-negative.yaml +11 -2
- package/rules/doubled-nado.yaml +1 -1
- package/rules/email-stock-courtesy.yaml +1 -1
- package/rules/email-subject-length.yaml +1 -1
- package/rules/emoji-heading.yaml +1 -1
- package/rules/empty-intensifier.yaml +1 -1
- package/rules/excessive-hedging.yaml +1 -1
- package/rules/exclamation-width-consistency.yaml +1 -1
- package/rules/expletive-construction.yaml +3 -3
- package/rules/figurative-density.yaml +3 -3
- package/rules/hiragana-fukushi.yaml +1 -1
- package/rules/homophone-slip.yaml +3 -3
- package/rules/honesty-marker.yaml +1 -1
- package/rules/humble-for-others.yaml +1 -1
- package/rules/hyphen-as-dash.yaml +1 -1
- package/rules/idiom-misuse.yaml +1 -1
- package/rules/internal-jargon.yaml +1 -1
- package/rules/kana-function-word.yaml +1 -1
- package/rules/katakana-long-vowel.yaml +1 -1
- package/rules/kutoten-consistency.yaml +7 -3
- package/rules/latin-abbreviation-form.yaml +1 -1
- package/rules/latin-spacing.yaml +1 -1
- package/rules/max-paragraph-length.yaml +1 -1
- package/rules/max-sentence-length.yaml +1 -1
- package/rules/max-ten.yaml +1 -1
- package/rules/misconversion.yaml +2 -2
- package/rules/ngram-repetition.yaml +3 -3
- package/rules/no-em-dash.yaml +3 -3
- package/rules/no-mixed-desumasu.yaml +1 -1
- package/rules/no-nakaguro-parallel.yaml +1 -1
- package/rules/nominalization.yaml +1 -1
- package/rules/nonstandard-word.yaml +2 -2
- package/rules/numbered-generic-heading.yaml +1 -1
- package/rules/numbering-gap.yaml +2 -2
- package/rules/one-sentence-paragraph-run.yaml +1 -1
- package/rules/orthographic-variant.yaml +2 -2
- package/rules/over-general-claim.yaml +1 -1
- package/rules/oxford-comma-consistency.yaml +4 -3
- package/rules/padded-intro.yaml +1 -1
- package/rules/phone-number-variant.yaml +1 -1
- package/rules/preamble-length.yaml +1 -1
- package/rules/preferred-term.yaml +1 -1
- package/rules/proper-noun-density.yaml +1 -1
- package/rules/q-fragment-answer.yaml +1 -1
- package/rules/quote-style-consistency.yaml +1 -1
- package/rules/quote-without-source.yaml +1 -1
- package/rules/redundant-expression.yaml +1 -1
- package/rules/repeated-conjunction.yaml +1 -1
- package/rules/repeated-sentence-ending.yaml +1 -1
- package/rules/repeated-sentence-head.yaml +5 -5
- package/rules/required-listed-as-preferred.yaml +2 -2
- package/rules/required-sections.yaml +1 -1
- package/rules/sasete-itadaku.yaml +1 -1
- package/rules/sentence-initial-conjunction-run.yaml +1 -1
- package/rules/sentence-initial-so.yaml +1 -1
- package/rules/sentence-spacing-consistency.yaml +1 -1
- package/rules/shell-prompt-mix.yaml +1 -1
- package/rules/stock-transition.yaml +1 -1
- package/rules/stray-space.yaml +1 -1
- package/rules/taigen-dome-in-prose.yaml +1 -1
- package/rules/teki-overuse.yaml +1 -1
- package/rules/title-case-consistency.yaml +1 -1
- package/rules/title-length.yaml +1 -1
- package/rules/topic-predicate-distance.yaml +1 -1
- package/rules/translationese-density.yaml +1 -1
- package/rules/uncomparable-graded.yaml +1 -1
- package/rules/undefined-acronym.yaml +1 -1
- package/rules/unfilled-placeholder.yaml +4 -4
- package/rules/unqualified-superlative.yaml +1 -1
- package/rules/use-before-definition.yaml +2 -2
- package/rules/vague-word-density.yaml +1 -1
- package/rules/weasel-word.yaml +1 -1
- package/rules/which-that-consistency.yaml +1 -1
- package/rules/wordy-phrase.yaml +1 -1
- package/src/announced-count.ts +22 -1
- package/src/announced-list.ts +7 -1
- package/src/cli.ts +4 -2
- package/src/composite-signals.ts +10 -1
- package/src/detectors/agentless-passive.ts +49 -5
- package/src/detectors/agreement-slip.ts +11 -3
- package/src/detectors/amount-scale.ts +2 -2
- package/src/detectors/chat-citation.ts +4 -5
- package/src/detectors/chat-mark-extent.ts +63 -0
- package/src/detectors/conjugated-entry.ts +3 -5
- package/src/detectors/contrast-frame.ts +37 -2
- package/src/detectors/currency-notation.ts +2 -2
- package/src/detectors/defined-term-form.ts +15 -4
- package/src/detectors/definition-use.ts +5 -8
- package/src/detectors/ellipsis.ts +2 -2
- package/src/detectors/email-letter.ts +1 -1
- package/src/detectors/en-shape.ts +40 -5
- package/src/detectors/gram-furniture.ts +8 -0
- package/src/detectors/gram-repetition.ts +8 -1
- package/src/detectors/heading-case.ts +11 -3
- package/src/detectors/kutoten-consistency.ts +37 -6
- package/src/detectors/lexicon-match.ts +17 -3
- package/src/detectors/lexicon.ts +10 -4
- package/src/detectors/list-item-clause.ts +9 -0
- package/src/detectors/list-parallel.ts +5 -2
- package/src/detectors/list-sentence.ts +2 -0
- package/src/detectors/mark-shape.ts +36 -8
- package/src/detectors/missing-final-period.ts +11 -1
- package/src/detectors/nominalization.ts +14 -4
- package/src/detectors/ordinal-suffix.ts +2 -2
- package/src/detectors/orthographic-variant.ts +44 -8
- package/src/detectors/orthography.ts +19 -9
- package/src/detectors/oxford-comma.ts +15 -1
- package/src/detectors/paragraph-run.ts +2 -2
- package/src/detectors/phone-number-variant.ts +2 -1
- package/src/detectors/phrase-context.ts +19 -0
- package/src/detectors/phrase-match-all.ts +57 -0
- package/src/detectors/phrase-match.ts +31 -6
- package/src/detectors/placeholder-text.ts +19 -3
- package/src/detectors/proper-noun-density.ts +14 -6
- package/src/detectors/quote-around.ts +6 -0
- package/src/detectors/range-notation.ts +2 -2
- package/src/detectors/registry/phrase-match-all.ts +4 -0
- package/src/detectors/requirement-lists.ts +2 -0
- package/src/detectors/sentence-counts.ts +7 -4
- package/src/detectors/sentence-length.ts +12 -2
- package/src/detectors/signals.ts +10 -1
- package/src/detectors/team.ts +50 -12
- package/src/detectors/unit-spacing.ts +2 -2
- package/src/detectors/vague-deadline.ts +2 -1
- package/src/levels.ts +9 -3
- package/src/phone-numbers.ts +19 -3
- package/src/plugin.ts +2 -0
- package/src/render/explain.ts +46 -16
- package/src/render/options.ts +12 -6
- package/src/render/text.ts +20 -7
- package/src/run.ts +32 -8
- package/src/structure/deadline-after-event.ts +49 -10
- package/src/structure/definition-use.ts +15 -5
- package/src/structure/leg-times.ts +16 -1
- package/src/structure/requirement-lists.ts +14 -2
- package/src/structure/time-marks.ts +25 -0
- package/dist/honorific-group.d.ts +0 -8
- package/dist/honorific-group.d.ts.map +0 -1
- package/dist/honorific-group.js +0 -15
- package/dist/honorific-group.js.map +0 -1
|
@@ -14,6 +14,7 @@ extra_word_lists:
|
|
|
14
14
|
finite-auxiliary,
|
|
15
15
|
misnumbered-phrase,
|
|
16
16
|
determiner-after-article,
|
|
17
|
+
homophone-slip,
|
|
17
18
|
]
|
|
18
19
|
severity: warning
|
|
19
20
|
|
|
@@ -41,8 +42,8 @@ messages:
|
|
|
41
42
|
en: '"{word}" puts two determiners in a row'
|
|
42
43
|
|
|
43
44
|
how_to_fix:
|
|
44
|
-
ja: 限定詞か名詞のどちらかに揃えてください(a significant change / significant changes)。所有の語なら、主語の語に直してください(Your can → You can、their
|
|
45
|
-
en: Make the determiner and the noun agree ("a significant change" or "significant changes"). For a possessive, write the subject you meant ("Your can" becomes "You can", "their
|
|
45
|
+
ja: 限定詞か名詞のどちらかに揃えてください(a significant change / significant changes)。所有の語なら、主語の語に直してください(Your can → You can、their will → they will)。限定詞が二つ続いていれば、どちらかを消してください(the some roads → some roads か that some roads)。
|
|
46
|
+
en: Make the determiner and the noun agree ("a significant change" or "significant changes"). For a possessive, write the subject you meant ("Your can" becomes "You can", "their will" becomes "they will"). For two determiners in a row, drop one ("the some roads" becomes "some roads", or "that some roads" if that was meant).
|
|
46
47
|
|
|
47
48
|
levels: { strict: error, normal: warning, relaxed: info }
|
|
48
49
|
|
|
@@ -61,5 +62,5 @@ example:
|
|
|
61
62
|
after: This new version will ship in May.
|
|
62
63
|
|
|
63
64
|
not_flagged:
|
|
64
|
-
ja: 単数と複数で形が同じ名詞(series、data)、this や these の直後の語、名詞を修飾する名詞(a sales team)、前置詞の後ろの所有の語と名詞の will や can(at its will)は指しません。
|
|
65
|
-
en: Nouns spelled alike in both numbers ("series", "data"), a word right after "this" or "these", nouns that modify another noun ("a sales team"), and a possessive after a preposition with "will" or "can" as its noun ("at its will") are not reported.
|
|
65
|
+
ja: 単数と複数で形が同じ名詞(series、data)、this や these の直後の語、名詞を修飾する名詞(a sales team)、前置詞の後ろの所有の語と名詞の will や can(at its will)は指しません。homophone-slip が一覧に持つ組(their are)は、正しい語まで言うその規則が指し、ここでは指しません。
|
|
66
|
+
en: Nouns spelled alike in both numbers ("series", "data"), a word right after "this" or "these", nouns that modify another noun ("a sales team"), and a possessive after a preposition with "will" or "can" as its noun ("at its will") are not reported. A pair homophone-slip lists ("their are") is reported by that rule, with the word meant, and not here.
|
|
@@ -35,8 +35,8 @@ why:
|
|
|
35
35
|
en: Each of these appears in ordinary writing on its own. Only three or more in one document (two in a blog post) mean anything. **Even then it does not say the text was generated.** It marks a place to reread.
|
|
36
36
|
|
|
37
37
|
message:
|
|
38
|
-
ja:
|
|
39
|
-
en:
|
|
38
|
+
ja: 生成文の特徴が {count} 種、同じ文書にそろっています({limit} 種から)。{signals}
|
|
39
|
+
en: "{count} {count|signal|signals} of generated text {count|occurs|occur together} in this document ({limit} needed): {signals}"
|
|
40
40
|
|
|
41
41
|
how_to_fix:
|
|
42
42
|
ja: 自分が書きたかったことが残っているか、通して読み直してください。個々の指摘を 1 つずつ直すより、段落ごと書き直すほうが早いことがあります。
|
|
@@ -150,4 +150,4 @@ not_flagged:
|
|
|
150
150
|
en: One signal alone says nothing. A shape two rules measure (section length variation, read by both ai-structure and section-length-uniformity) counts as one signal. Even several together do not say the text was generated; they mark a place to reread.
|
|
151
151
|
level_meaning:
|
|
152
152
|
ja: 特徴が {limit} 種そろえば指摘
|
|
153
|
-
en: reported once {limit} signals occur together
|
|
153
|
+
en: reported once {limit} {limit|signal occurs|signals occur} together
|
package/rules/ai-structure.yaml
CHANGED
|
@@ -134,7 +134,7 @@ not_flagged:
|
|
|
134
134
|
en: A document without headings is not checked. A measure the document is too small for (a short text, few sections or lists) is not counted. Template headings count only when four or more sections of the textbook outline stand as headings; a real proposal has one or two. The headings under an FAQ heading are the readers' questions, so they are not counted as headings in a stock form ("What is …"). Legal, documentation, academic and speech genres do not run this rule (`chaff outline` and `chaff fix-plan` measure the structure in any genre; only this rule counts the template headings).
|
|
135
135
|
level_meaning:
|
|
136
136
|
ja: 人の記事の 9 割を超えた項目が {limit} 個そろえば指摘
|
|
137
|
-
en: reported once {limit} measures lie past 90% of human articles
|
|
137
|
+
en: reported once {limit} {limit|measure lies|measures lie} past 90% of human articles
|
|
138
138
|
rewrite:
|
|
139
139
|
depth: structure
|
|
140
140
|
ja:
|
|
@@ -45,7 +45,7 @@ not_flagged:
|
|
|
45
45
|
en: Only runs of three or more words. Runs of acronyms (words never written in lower case elsewhere) and code are not reported, and MUST or SHALL in a specification count as conventional capitals. A caption in capitals that opens a paragraph and ends in a colon or stands alone ("AGENCY:", "WORKING GROUP MEMBERS"), and prose naming such a caption, are not reported either. Nor is a paragraph whose lines are all in capitals and end no sentence, such as a letterhead, an addressee block ("BOARD OF GOVERNORS") or a heading a transcript sets on a line of its own ("OPENING STATEMENT OF HON. JANE DOE,"), nor a roster entry that gives a name in capitals and the place or office in ordinary case ("JANE Q. DOE, Ohio", "JANE Q. DOE, Ohio, Chairman"), nor a placeholder in square brackets wholly in capitals, which a publisher or editor puts where the text leaves something out ("[GRAPHIC(S) NOT AVAILABLE IN TIFF FORMAT]", "[NAME WITHHELD]"), nor a quotation wholly in capitals (states “THIS DOCUMENT CONTAINS CONFIDENTIAL INFORMATION.”), a label the reader is to write or will see as it stands rather than the writer raising their voice, nor a label a sentence names as the screen shows it ("in SUBMIT TO APPROVER status", "the SAVE AND CLOSE button"). The legal and literature presets turn it off, since contracts set disclaimers in capitals by rule and older texts set titles that way.
|
|
46
46
|
level_meaning:
|
|
47
47
|
ja: "{limit} 箇所あれば指摘"
|
|
48
|
-
en: reported once there are {limit}
|
|
48
|
+
en: reported once there {limit|is|are} {limit}
|
|
49
49
|
rewrite:
|
|
50
50
|
depth: light
|
|
51
51
|
en:
|
|
@@ -60,5 +60,5 @@ example:
|
|
|
60
60
|
- Your bank account
|
|
61
61
|
|
|
62
62
|
not_flagged:
|
|
63
|
-
ja: 目安の数(約3点、3つ以上)、順番(3つ目)、選ぶ数や当てはまる数(以下から1つ選ぶ、次のいずれか一つに該当する)、条や節の番号(7.1、第3条)、見出しや表の前の数、箇条書きがすぐ後ろに無い数は比べません。予告の文に数が二つあるときも比べません。コロンだけで予告する文は、コロンにいちばん近い数を予告の数とみなし、その数の後ろにまだ数があれば比べません(「1 つのページを 2
|
|
64
|
-
en: An estimate (about three, three or more), a rank (the first three), how many to pick or to meet (choose two, any one of the following), the number of a clause or section (7.1, Article 7), a number before a heading or a table, and a number with no list right after it are not compared. Nor is a sentence with two numbers in it. When only a colon announces the list, the number nearest the colon is the count, so a number followed by another one is not compared ("We merged three tasks into 2 pages:"). A list whose every item is a label, a colon and members split at slashes is not reported when the members add up to the count. Names listed on one line are not compared when the split is unclear ("and" or "&" inside a name, an unclosed bracket, a sentence ending midway) or the list is left open ("etc.", "and others").
|
|
63
|
+
ja: 目安の数(約3点、3つ以上)、順番(3つ目)、選ぶ数や当てはまる数(以下から1つ選ぶ、次のいずれか一つに該当する)、条や節の番号(7.1、第3条)、見出しや表の前の数、箇条書きがすぐ後ろに無い数は比べません。予告の文に数が二つあるときも比べません。コロンだけで予告する文は、コロンにいちばん近い数を予告の数とみなし、その数の後ろにまだ数があれば比べません(「1 つのページを 2 ページに分けました:」)。数が前の節にあり、読点のあとの節の「以下の」「次の」が箇条書きを指す文も比べません(「二人に聞いて分かった、困っていたことは以下のとおりです:」の二人は聞いた人の数です)。どの行も「ラベル:A / B」の形の箇条書きは、斜線(/)で区切って並べた項目の数が合っていれば指摘しません。一行に並べた名前は、区切りが決まらないとき(名前の中に「と」「・」がある、括弧が閉じていない、途中で文が終わる)と、並びが閉じていないとき(「ほか」「など」で終わる、「5名ほか」)は比べません。
|
|
64
|
+
en: An estimate (about three, three or more), a rank (the first three), how many to pick or to meet (choose two, any one of the following), the number of a clause or section (7.1, Article 7), a number before a heading or a table, and a number with no list right after it are not compared. Nor is a sentence with two numbers in it. When only a colon announces the list, the number nearest the colon is the count, so a number followed by another one is not compared ("We merged three tasks into 2 pages:"). Nor is a number in an earlier clause when a word pointing ahead comes after the comma ("We asked two new hires, and they named the following:" counts the people asked, not the items). A list whose every item is a label, a colon and members split at slashes is not reported when the members add up to the count. Names listed on one line are not compared when the split is unclear ("and" or "&" inside a name, an unclosed bracket, a sentence ending midway) or the list is left open ("etc.", "and others").
|
|
@@ -53,7 +53,7 @@ not_flagged:
|
|
|
53
53
|
en: An announcing phrase inside a sentence, and fewer than the level needs, are not reported.
|
|
54
54
|
level_meaning:
|
|
55
55
|
ja: 予告で始まる文が {limit} 個あれば指摘
|
|
56
|
-
en: reported once {limit} sentences open with an announcement
|
|
56
|
+
en: reported once {limit} {limit|sentence opens|sentences open} with an announcement
|
|
57
57
|
rewrite:
|
|
58
58
|
depth: light
|
|
59
59
|
ja:
|
|
@@ -10,7 +10,7 @@ name:
|
|
|
10
10
|
en: An arrival before its departure
|
|
11
11
|
|
|
12
12
|
why:
|
|
13
|
-
ja: 「福岡 11:30発、羽田 11:05
|
|
13
|
+
ja: 「福岡 11:30発、羽田 11:05着」のように、同じ便や列車の着の時刻が発より前だと、どちらかの時刻を書き間違えています。読み手は乗る便を確かめ直すことになり、間違ったまま予定を組む人も出ます。同じ行の発と着(時刻のすぐ後ろの「発」「着」、地名に付けて時刻の前に書いた「東京発 07:45」、表の出発と到着の列)を比べます。着に翌日の印(翌、+1)があれば一日足し、発と着の両方に日付があれば日付から比べます。
|
|
14
14
|
en: 'When a leg such as "departs Washington 1:30 PM, arrives Boston 1:05 PM" arrives before it departs, one of the times is wrong. The reader has to look the connection up again, and someone may plan around the wrong time. A departure and an arrival in one line are compared: times marked "departs" and "arrives" (or "dep" and "arr"), and the departure and arrival columns of a table. An arrival marked as the next day (+1, "next day") gets a day added, and when both times have a date, the dates are compared first.'
|
|
15
15
|
|
|
16
16
|
message:
|
package/rules/article-sound.yaml
CHANGED
|
@@ -46,7 +46,7 @@ not_flagged:
|
|
|
46
46
|
en: Not before digits ("a 8-hour day"), nor before words the lexicon says are said both ways (SQL, historic). Capitals are read as the lexicon says; unlisted ones are read letter by letter only when short or without a vowel (MBA, NTSB), since longer ones (SALT) may be said as a word. Initials joined by a slash (N/I, N/A) may be read as the words they shorten and are left alone, and an "a" glued to the digit or letter before it ("§ 78a et seq.") is not an article. A document that writes "an" before a sounded h ("an hospital", "an hereditament") at least twice and more often than "a" keeps the older usage as its style, and those are not reported. The fiction and speech presets turn it off.
|
|
47
47
|
level_meaning:
|
|
48
48
|
ja: "{limit} 箇所あれば指摘"
|
|
49
|
-
en: reported once there are {limit}
|
|
49
|
+
en: reported once there {limit|is|are} {limit}
|
|
50
50
|
rewrite:
|
|
51
51
|
depth: light
|
|
52
52
|
en:
|
package/rules/baito-keigo.yaml
CHANGED
|
@@ -44,7 +44,7 @@ not_flagged:
|
|
|
44
44
|
en: Only the forms on chaff's list are checked. になります for a change and から for a person are correct and not reported. Literature and speech do not run this rule.
|
|
45
45
|
level_meaning:
|
|
46
46
|
ja: 当てはまる形が {limit} 箇所あれば指摘
|
|
47
|
-
en: reported once there are {limit}
|
|
47
|
+
en: reported once there {limit|is|are} {limit}
|
|
48
48
|
rewrite:
|
|
49
49
|
depth: light
|
|
50
50
|
ja:
|
package/rules/bold-density.yaml
CHANGED
|
@@ -59,7 +59,7 @@ not_flagged:
|
|
|
59
59
|
en: Sections under 200 characters are not measured, since one bold span would swing the rate. A short field label opening a line (**Date:**, **Motion:**) names the value after it and is not emphasis, so it is not counted; a bold label opening a list item is.
|
|
60
60
|
level_meaning:
|
|
61
61
|
ja: 1000 字あたり太字 {limit} 箇所まで
|
|
62
|
-
en: up to {limit} bold spans per 1000 characters
|
|
62
|
+
en: up to {limit} {limit|bold span|bold spans} per 1000 characters
|
|
63
63
|
rewrite:
|
|
64
64
|
depth: light
|
|
65
65
|
ja:
|
package/rules/bold-emphasis.yaml
CHANGED
|
@@ -83,7 +83,7 @@ not_flagged:
|
|
|
83
83
|
en: A document with two bold spans or fewer, and a short document, are not measured. Bold that opens its line and its paragraph or list item is a label, a lead sentence, a field or a run-in heading ("- **Speed**:", "- **Same pay.**", "**From:**", "**Pros:**") and is not counted; bold-label-list counts the list labels. A capitalised bold inside a sentence ("click **Add Printer**") names a button, a setting or a title and is not counted either, nor is bold inside a table cell or a heading. READMEs, meeting notes, documentation, legal, academic, literary and speech genres do not run this rule, since they bold feature names and fields as their layout.
|
|
84
84
|
level_meaning:
|
|
85
85
|
ja: 太字の強調が 1000 字あたり {limit} 箇所まで
|
|
86
|
-
en: up to {limit} bold spans of emphasis per 1000 words
|
|
86
|
+
en: up to {limit} {limit|bold span|bold spans} of emphasis per 1000 words
|
|
87
87
|
rewrite:
|
|
88
88
|
depth: light
|
|
89
89
|
ja:
|
|
@@ -98,7 +98,7 @@ not_flagged:
|
|
|
98
98
|
en: An item whose label is only code (a list of options or fields) is not counted, nor is one whose bold ends in neither a colon nor a full stop (a bold opening word of a sentence), or that has no text after it. A list whose items each run a paragraph after the bold (the middle item 40 words or more, 100 characters in Japanese) is a handbook's tips, the advice in bold and the item explaining it, and is not counted. A paragraph counts only when its bold is a statement, or a whole English instruction closed by its own stop (**Pick the quietest room you can.**), not a term, an imperative run-in head closed by a colon (**Talk to the people:**), a gerund or a question. Specification (technical/spec), legal, documentation, academic and literary genres do not run this rule.
|
|
99
99
|
level_meaning:
|
|
100
100
|
ja: 太字の札で始まる項目が {limit} 個あれば指摘(太字の一文で始まる項目は min_leads、言い切りの太字で始まる段落は min_clause_paragraphs の数から)
|
|
101
|
-
en: reported once {limit} list items open with a bold label (items opening with a bold lead sentence from min_leads, paragraphs opening with a bold statement from min_clause_paragraphs)
|
|
101
|
+
en: reported once {limit} {limit|list item opens|list items open} with a bold label (items opening with a bold lead sentence from min_leads, paragraphs opening with a bold statement from min_clause_paragraphs)
|
|
102
102
|
rewrite:
|
|
103
103
|
depth: structure
|
|
104
104
|
ja:
|
|
@@ -48,7 +48,7 @@ not_flagged:
|
|
|
48
48
|
en: Only brackets touching Japanese text, parentheses and square brackets compared apart; Markdown links are not counted, and note markers ([1], [^1]) are compared only with each other, and so are the labels opening a line ((1), [Web]) and an item's address in the prose (4(2)で), and a note's number cited in the prose (注(24)で) with the other cited note numbers. Brackets in English text (f(x)), brackets in a formula (賃金 × (1 - 時間 ÷ 月平均)), code, 「」 quotations, the title of an outside page quoted by a link at a line's head (- [Title (draft)](https://…)) and the document's own heading quoted in a line of other words (a self-citation) are not counted.
|
|
49
49
|
level_meaning:
|
|
50
50
|
ja: 少ないほうの書き方が {limit} 箇所あれば指摘
|
|
51
|
-
en: reported once the less common way appears {limit} times
|
|
51
|
+
en: reported once the less common way appears {limit} {limit|time|times}
|
|
52
52
|
rewrite:
|
|
53
53
|
depth: light
|
|
54
54
|
ja:
|
|
@@ -47,7 +47,7 @@ not_flagged:
|
|
|
47
47
|
en: Code is not read (an article that explains the parameter in backticks). Other utm_source values (newsletter, twitter) are not counted.
|
|
48
48
|
level_meaning:
|
|
49
49
|
ja: 名残の印が {limit} 個あれば指摘
|
|
50
|
-
en: reported once there are {limit}
|
|
50
|
+
en: reported once there {limit|is|are} {limit}
|
|
51
51
|
rewrite:
|
|
52
52
|
depth: light
|
|
53
53
|
ja:
|
|
@@ -84,7 +84,7 @@ not_flagged:
|
|
|
84
84
|
en: 'Citations inside the reference list or code, numbers at the start of a line (a numbered list), footnotes whose note gives no year, and a year after a month or a season ("(March 2020)") are not counted. When the minority style is used more than {limit} times, it is taken as a deliberate choice and not reported. Only the academic paper genre runs this rule.'
|
|
85
85
|
level_meaning:
|
|
86
86
|
ja: 少ないほうの書き方が {limit} 箇所以下のとき指摘
|
|
87
|
-
en: reported when the minority style appears {limit} times or fewer
|
|
87
|
+
en: reported when the minority style appears {limit} {limit|time|times} or fewer
|
|
88
88
|
rewrite:
|
|
89
89
|
depth: light
|
|
90
90
|
ja:
|
package/rules/clause-chain.yaml
CHANGED
|
@@ -48,7 +48,7 @@ not_flagged:
|
|
|
48
48
|
en: Joins to a helper verb, anything quoted in 「」, and clauses up to the limit are not counted. Nor is a word inside a list of names written with commas (晴れ in 快晴、晴れ、曇り、…), or the same predicate repeated clause after clause after its first time (the second 調べ in 著者を調べ、所属を調べ、). Not used on English documents.
|
|
49
49
|
level_meaning:
|
|
50
50
|
ja: 一文の節 {limit} つまで
|
|
51
|
-
en: up to {limit} clauses in one sentence
|
|
51
|
+
en: up to {limit} {limit|clause|clauses} in one sentence
|
|
52
52
|
rewrite:
|
|
53
53
|
depth: light
|
|
54
54
|
ja:
|
package/rules/cliche.yaml
CHANGED
|
@@ -3,7 +3,7 @@ layer: L2
|
|
|
3
3
|
status: stable
|
|
4
4
|
how_to_find: phrase-in-use
|
|
5
5
|
word_list: cliche
|
|
6
|
-
extra_word_lists: [mention-cue]
|
|
6
|
+
extra_word_lists: [mention-cue, reference-list-heading]
|
|
7
7
|
requires: [pos]
|
|
8
8
|
languages: [ja, en]
|
|
9
9
|
severity: info
|
|
@@ -48,11 +48,11 @@ example:
|
|
|
48
48
|
The new cache cuts load time from 2 seconds to 0.5.
|
|
49
49
|
|
|
50
50
|
not_flagged:
|
|
51
|
-
ja: 一覧にある言い回しだけを見ます。見出しの中は見ず、本文の文だけを見ます。ほかの規則が見る言い回し(closing-cliche の「いかがでしたか」、ai-tell の「深く掘り下げる」「game-changer」、empty-intensifier の「needless to say」)は入れていません。「結論から言うと」は人の記事にも同じくらいあるので、「〜まとめ」「〜な件」は普通の文(まとめました、重要な件)と分けられないので見ません。文学と講演の書き起こしは対象にしません。言い回しを言葉として名指しているだけのもの(「徹底解説」という言い方、the phrase "low-hanging fruit"
|
|
52
|
-
en: Only the phrases on chaff's list are checked, in body sentences; headings are not read. Phrases another rule reads (いかがでしたか in closing-cliche, "game-changer" in ai-tell, "needless to say" in empty-intensifier) are not on it. In Japanese, 結論から言うと is left out because human articles use it as often, and 〜まとめ and 〜な件 because ordinary sentences share them (まとめました, 重要な件). Literature and speech transcripts are not checked. A phrase that is only named as a term ("when saying raising the bar", the phrase "low-hanging fruit", 「徹底解説」という言い方) is not reported.
|
|
51
|
+
ja: 一覧にある言い回しだけを見ます。見出しの中は見ず、本文の文だけを見ます。ほかの規則が見る言い回し(closing-cliche の「いかがでしたか」、ai-tell の「深く掘り下げる」「game-changer」、empty-intensifier の「needless to say」)は入れていません。「結論から言うと」は人の記事にも同じくらいあるので、「〜まとめ」「〜な件」は普通の文(まとめました、重要な件)と分けられないので見ません。文学と講演の書き起こしは対象にしません。言い回しを言葉として名指しているだけのもの(「徹底解説」という言い方、the phrase "low-hanging fruit")も、参考文献の一覧に写したほかの著作の題も指しません。字どおりにも読める英語の言い回しは、比喩として使った文だけを指します。at the end of the day は文や節の頭か読点の前(At the end of the day, …)だけで、動詞と目的語の後ろ(Empty the tray at the end of the day.)は一日の終わりと読みます。on the same page は人が主語か目的語のとき(we all need to be on the same page)だけで、物(Every version is on the same page.)は印刷されたページと読みます。
|
|
52
|
+
en: Only the phrases on chaff's list are checked, in body sentences; headings are not read. Phrases another rule reads (いかがでしたか in closing-cliche, "game-changer" in ai-tell, "needless to say" in empty-intensifier) are not on it. In Japanese, 結論から言うと is left out because human articles use it as often, and 〜まとめ and 〜な件 because ordinary sentences share them (まとめました, 重要な件). Literature and speech transcripts are not checked. A phrase that is only named as a term ("when saying raising the bar", the phrase "low-hanging fruit", 「徹底解説」という言い方) is not reported, nor one in the title of another work copied into a reference list. A phrase whose words also have a plain sense is reported only where the sentence reads it as the figure. "At the end of the day" counts opening a sentence or a clause or before a comma (At the end of the day, …), not after a verb and its object (Empty the tray at the end of the day.), and "on the same page" with a person as its subject or object (we all need to be on the same page), not a thing (Every version is on the same page.).
|
|
53
53
|
level_meaning:
|
|
54
54
|
ja: 当てはまる言い回しが {limit} 箇所あれば指摘
|
|
55
|
-
en: reported once there are {limit}
|
|
55
|
+
en: reported once there {limit|is|are} {limit}
|
|
56
56
|
sources: [write-good, proselint]
|
|
57
57
|
rewrite:
|
|
58
58
|
depth: light
|
|
@@ -66,7 +66,7 @@ not_flagged:
|
|
|
66
66
|
en: Only the last four paragraphs of the last section are checked, with or without headings; the document's first paragraph and "to sum up" earlier in the text are ordinary links and are not reported. List items are not checked. A send-off such as "Happy brewing!", "give it a try" or "and go from there" counts only in the last paragraph; earlier it is ordinary text. In emails and proposals the stock last line of a letter ("Thank you for your prompt attention to this matter") and a Japanese pledge that promises effort without saying what (その思いに応えられるよう、しっかり考えてみます) are read too, and so is a proposal's closing offer to talk it over ("We would be happy to discuss any questions"), and a chirpy wish ("Wishing you all ...!", "enjoy the long weekend!") in emails only; a courtesy in an email's closing ("feel free to reach out") is ordinary alone, and is reported only beside another stock closing such as that wish; reports and notices are not checked.
|
|
67
67
|
level_meaning:
|
|
68
68
|
ja: 当てはまる結びが {limit} 箇所あれば指摘
|
|
69
|
-
en: reported once there are {limit}
|
|
69
|
+
en: reported once there {limit|is|are} {limit}
|
|
70
70
|
rewrite:
|
|
71
71
|
depth: light
|
|
72
72
|
ja:
|
|
@@ -71,4 +71,4 @@ not_flagged:
|
|
|
71
71
|
en: Cheering outside the closing, a single cheering line, and "I'm happy to help!" (Happy must open the sentence) are not reported.
|
|
72
72
|
level_meaning:
|
|
73
73
|
ja: 結びの励ます・請け合う文が {limit} 個あれば指摘
|
|
74
|
-
en: reported once {limit} closing sentences cheer the reader on
|
|
74
|
+
en: reported once {limit} {limit|closing sentence cheers|closing sentences cheer} the reader on
|
package/rules/cold-open.yaml
CHANGED
|
@@ -60,7 +60,7 @@ not_flagged:
|
|
|
60
60
|
en: An opening with only one of the shapes (a proposal's "We want to ..."), and sentences after the opening, are not reported.
|
|
61
61
|
level_meaning:
|
|
62
62
|
ja: 書き出しに形が {limit} つあれば指摘
|
|
63
|
-
en: reported once {limit} of the shapes appear in the opening
|
|
63
|
+
en: reported once {limit} of the shapes {limit|appears|appear} in the opening
|
|
64
64
|
rewrite:
|
|
65
65
|
depth: structure
|
|
66
66
|
ja:
|
|
@@ -46,7 +46,7 @@ not_flagged:
|
|
|
46
46
|
en: なので and でも inside a sentence, and written conjunctions (そのため, しかし), are not reported, nor is a "sentence" with only an auxiliary after the word (だからである。, the end of the previous sentence cut by a line break). A document written in a casual voice throughout, with two or more headings asked as questions or sentences ending in an exclamation mark, is not checked, as the spoken word fits the voice the writer chose. Off for blogs, literature and speech.
|
|
47
47
|
level_meaning:
|
|
48
48
|
ja: 話し言葉の接続詞で始まる文が {limit} 個あれば指摘
|
|
49
|
-
en: reported from {limit} sentences opening with a spoken conjunction
|
|
49
|
+
en: reported from {limit} {limit|sentence|sentences} opening with a spoken conjunction
|
|
50
50
|
rewrite:
|
|
51
51
|
depth: light
|
|
52
52
|
ja:
|
|
@@ -73,4 +73,4 @@ not_flagged:
|
|
|
73
73
|
en: Sections shorter than three sentences, index-like sections of entries, sections that list conditions (Requirements, Responsibilities), and sections where at least half the sentences are questions, instructions, or possibilities and plans (may, should, we will, we recommend) are not checked. Site navigation left by a web page's conversion (Skip to main content) is not counted as a sentence. A domain name in the text (IdentityTheft.gov) and a proper name (KubeCon, GitHub) count as concrete, except a name found in half the sections or more (the document's subject), an all-capitals acronym, and a sentence's first word. A parent section is judged together with its subsections. Where each entry repeats the same headings (Situation, Solution under every entry), such a section is judged with its whole entry.
|
|
74
74
|
level_meaning:
|
|
75
75
|
ja: 具体物のない節が {limit} 個あれば指摘
|
|
76
|
-
en: reported once {limit} sections have nothing concrete
|
|
76
|
+
en: reported once {limit} {limit|section has|sections have} nothing concrete
|
|
@@ -48,4 +48,4 @@ not_flagged:
|
|
|
48
48
|
en: Whether to use contractions is not decided. Only the two forms of the same word are compared ("you're" with "you are"), never different words, so a document that writes "you're" but keeps "do not" in full is consistent. When both forms of a word appear as often, there is no minority and nothing is pointed at. A short phrase in quotation marks ("Do Not Disturb", ‘we’re going to x’) and a quotation inside another quotation are a name or someone else's words and are not counted. A form inside a longer quotation (a quoted slogan, a survey answer, someone's words) is counted but never pointed at, since the writer cannot change a quotation. A word emphasised alone (does **not**) is chosen for stress, and a sentence naming both forms of a word (Use cannot, instead of can’t.) or a long comma-separated list of terms (search keywords) only names the words; none of them is counted. Nor are a disclaimer paragraph the publisher appends (does not constitute or imply its endorsement…) and a sentence about contractions (Avoid negative contractions like can't.). A full form in a warning (Do not run this… in a paragraph opening with Warning, or in a box titled Warning) is chosen for stress, so it is counted but never pointed at.
|
|
49
49
|
level_meaning:
|
|
50
50
|
ja: 同じ語の少ないほうの書き方が {limit} 箇所以下のとき指摘
|
|
51
|
-
en: reported when the minority form of a word appears {limit} times or fewer
|
|
51
|
+
en: reported when the minority form of a word appears {limit} {limit|time|times} or fewer
|
|
@@ -21,8 +21,8 @@ message:
|
|
|
21
21
|
en: '"{matched}" here, but "{preferred}" in {count} other {count|file|files} checked with it (as in {other})'
|
|
22
22
|
|
|
23
23
|
how_to_fix:
|
|
24
|
-
ja: 「{preferred}」に直してください。どちらに寄せるかをチームで決めているなら、chaff.yaml の prefer
|
|
25
|
-
en: Change it to "{preferred}". If the team has decided which way, list the pair under prefer in chaff.yaml, and every file
|
|
24
|
+
ja: 「{preferred}」に直してください。どちらに寄せるかをチームで決めているなら、chaff.yaml の prefer に「使わない書き方」と「使う書き方」の組を書いておくと、preferred-term がどのファイルでも決めた書き方で見ます。
|
|
25
|
+
en: Change it to "{preferred}". If the team has decided which way, list the pair (the spelling to avoid, then the one to use) under prefer in chaff.yaml, and preferred-term checks every file against it.
|
|
26
26
|
|
|
27
27
|
placeholders:
|
|
28
28
|
matched:
|
|
@@ -55,7 +55,7 @@ not_flagged:
|
|
|
55
55
|
en: One softener is courtesy and is not reported. A short document, such as an email, is measured as if it were as long as a short letter, so at the default level the third softener is the first reported; one alone is never reported.
|
|
56
56
|
level_meaning:
|
|
57
57
|
ja: 1000 字あたりクッション言葉 {limit} 個まで
|
|
58
|
-
en: up to {limit} softeners per 1000 words
|
|
58
|
+
en: up to {limit} {limit|softener|softeners} per 1000 words
|
|
59
59
|
rewrite:
|
|
60
60
|
depth: light
|
|
61
61
|
ja:
|
|
@@ -68,5 +68,5 @@ example:
|
|
|
68
68
|
Please register by Friday, November 13, 2026.
|
|
69
69
|
|
|
70
70
|
not_flagged:
|
|
71
|
-
ja:
|
|
72
|
-
en: A Date line without a time of day, a date
|
|
71
|
+
ja: 時刻の無い「日時」の行、片方にだけ年のある日付、日付が二つある文は比べません。催しの日と締め切りの両方に年が無ければ同じ年と読みますが、比べるのは催しの日が一つで、締め切りがその一月のうちに後のときだけです(年をまたぐ催しを読み違えないため)。催しの日の行が複数あれば、いちばん後の催しの日と比べます。申込の語(申込、出欠、予約)と締め切りの語(まで、締切、期限)の両方がある文だけを読むので、アンケートの回答期限や資料の公開日は比べず、申込の語があってもアンケート、支払、資料などの語が同じ文にあれば比べません。支払の期限は、題名にチケットの語(チケット、入場券)があり請求の語の無いチケットの注文でだけ締め切りと読みます。請求書の支払は催しの後でよいからです。旅行の代金の期限は、題名に旅行の語(修学旅行、林間学校)があり請求の語の無い知らせでだけ読み、出発の日と比べます。請求の「期間」や納品の日とは比べません。法令・規約、手引き、論文、文学、スピーチのジャンルでは止めています。
|
|
72
|
+
en: A Date line without a time of day, a date whose year is written on only one side, and a sentence with two dates are not compared. When neither the event nor the deadline has a year, they are read as the same year, but only a single event date and a deadline within a month after it are compared, so an event in the new year is not misread. With several event-date lines, the latest event is used. Only a sentence with both a registration word (register, RSVP, booking) and a deadline word (by, deadline, closes) is read, so a survey deadline or the date the slides go up is not compared, and a sentence that also names a survey, a payment or the slides is left alone. A payment deadline is read only in a ticket order, whose title names a ticket and which never mentions an invoice, since an invoice is paid after the event. A trip's payment deadline is read only in a notice whose title names a trip (trip, camp) and which never mentions an invoice, and is compared with the departure; a billing period or a delivery date is never the event. It is off in the legal, docs, academic, literature and speech genres.
|
|
@@ -50,7 +50,7 @@ not_flagged:
|
|
|
50
50
|
en: The count restarts at each paragraph. Words such as それぞれ, the conjunction そして, and phrases that change the subject (それはとにかく, それはさておき) are not counted. In English, an opening that names the document itself ("This Agreement", "This section") and an "it" that stands for what follows ("It is worth", "It seems", "It was not until") are not counted. Sentences that open with "It" one after another keep pointing at what the first did, so the chain counts once.
|
|
51
51
|
level_meaning:
|
|
52
52
|
ja: 指示語で始まる文 {limit} 文の連続まで
|
|
53
|
-
en: up to {limit} such sentences in a row
|
|
53
|
+
en: up to {limit} {limit|such sentence|such sentences} in a row
|
|
54
54
|
rewrite:
|
|
55
55
|
depth: light
|
|
56
56
|
ja:
|
package/rules/double-keigo.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
id: double-negative
|
|
2
2
|
layer: L2
|
|
3
3
|
status: stable
|
|
4
|
-
how_to_find: phrase-match
|
|
4
|
+
how_to_find: phrase-match-all
|
|
5
5
|
word_list: double-negative
|
|
6
6
|
uses: [pos]
|
|
7
7
|
severity: info
|
|
@@ -18,6 +18,15 @@ message:
|
|
|
18
18
|
ja: 「{matched}」は二重否定です
|
|
19
19
|
en: '"{matched}" is a double negative'
|
|
20
20
|
|
|
21
|
+
# 一つの文に違う二重否定が二つ以上あれば、指摘は一つのまま、みな名指す。
|
|
22
|
+
messages:
|
|
23
|
+
both:
|
|
24
|
+
ja: 「{matched}」と「{other}」は二重否定です
|
|
25
|
+
en: '"{matched}" and "{other}" are double negatives'
|
|
26
|
+
many:
|
|
27
|
+
ja: この文に二重否定が {kinds} つあります(「{matched}」「{other}」ほか)
|
|
28
|
+
en: 'This sentence holds {kinds} double negatives ("{matched}", "{other}" and more)'
|
|
29
|
+
|
|
21
30
|
how_to_fix:
|
|
22
31
|
ja: 肯定で言い切るか(「行くこともある」)、どの程度なのかを書いてください(「月に一度は行く」)。
|
|
23
32
|
en: Say it positively ("common", "similar to"), or say how far it holds ("in about a third of cases").
|
|
@@ -52,4 +61,4 @@ not_flagged:
|
|
|
52
61
|
en: Fixed forms such as "not without" are not reported. The legal, literature and speech presets turn it off, since the hedged form is part of how those are written.
|
|
53
62
|
level_meaning:
|
|
54
63
|
ja: 二重否定を含む文が {limit} 文あれば指摘
|
|
55
|
-
en: reported once {limit} sentences hold one
|
|
64
|
+
en: reported once {limit} {limit|sentence holds|sentences hold} one
|
package/rules/doubled-nado.yaml
CHANGED
|
@@ -47,7 +47,7 @@ not_flagged:
|
|
|
47
47
|
en: Only the pairs on chaff's list. などなど, a spoken intensifier, is not counted. "Such as A, B, etc.", where words come between the two, cannot be matched as one phrase and is not checked.
|
|
48
48
|
level_meaning:
|
|
49
49
|
ja: 重ねた所が {limit} 箇所あれば指摘
|
|
50
|
-
en: reported once there are {limit}
|
|
50
|
+
en: reported once there {limit|is|are} {limit}
|
|
51
51
|
rewrite:
|
|
52
52
|
depth: light
|
|
53
53
|
ja:
|
|
@@ -59,4 +59,4 @@ not_flagged:
|
|
|
59
59
|
en: A single courtesy, documents other than emails (a handbook's "feel free to"), and Japanese documents are not reported. "Reach out" and "if you have any questions" are not counted; human reports and job notices use them as much.
|
|
60
60
|
level_meaning:
|
|
61
61
|
ja: 定型の気づかいが {limit} 文にあれば指摘
|
|
62
|
-
en: reported once {limit} sentences hold a stock courtesy
|
|
62
|
+
en: reported once {limit} {limit|sentence holds|sentences hold} a stock courtesy
|
|
@@ -81,7 +81,7 @@ not_flagged:
|
|
|
81
81
|
en: 'An email or letter without a "Subject:" line, and subjects inside a quoted reply, are not checked. When nothing follows the colon, the next line with text is read as the subject (a form that sets the label and the value in two columns), unless that line is a greeting, a sentence or another field. A line that ends inside a quotation it opens (Revised “Getting It Right!”) ends a quoted title, not a sentence. An order or ticket number in brackets at the end ((Order #58213)) is a code the recipient searches for, so it is not counted. Only the email and letter genre runs this rule.'
|
|
82
82
|
level_meaning:
|
|
83
83
|
ja: 件名 {limit} 字まで
|
|
84
|
-
en: up to {limit} characters in the subject
|
|
84
|
+
en: up to {limit} {limit|character|characters} in the subject
|
|
85
85
|
rewrite:
|
|
86
86
|
depth: light
|
|
87
87
|
ja:
|
package/rules/emoji-heading.yaml
CHANGED
|
@@ -103,7 +103,7 @@ not_flagged:
|
|
|
103
103
|
en: Fewer headings than the level needs are not reported, nor symbols not drawn as emoji (→, ™). Documentation, legal, academic and literary genres do not run this rule.
|
|
104
104
|
level_meaning:
|
|
105
105
|
ja: 絵文字の付いた見出しが {limit} 個あれば指摘
|
|
106
|
-
en: reported once {limit} headings carry an emoji
|
|
106
|
+
en: reported once {limit} {limit|heading carries|headings carry} an emoji
|
|
107
107
|
rewrite:
|
|
108
108
|
depth: light
|
|
109
109
|
ja:
|
|
@@ -49,7 +49,7 @@ not_flagged:
|
|
|
49
49
|
en: Only the phrases on chaff's list are checked; whether a reason follows is not read. A Japanese statement of necessity (不可欠です, 欠かせません) that names its purpose in the same sentence (〜のためには) states a condition and is not reported. A 〜には followed by a comma (心の回復には、…が不可欠です) names the purpose too.
|
|
50
50
|
level_meaning:
|
|
51
51
|
ja: 当てはまる言い回しが {limit} 箇所あれば指摘
|
|
52
|
-
en: reported once there are {limit}
|
|
52
|
+
en: reported once there {limit|is|are} {limit}
|
|
53
53
|
rewrite:
|
|
54
54
|
depth: light
|
|
55
55
|
ja:
|
|
@@ -60,7 +60,7 @@ not_flagged:
|
|
|
60
60
|
en: A single hedge is caution and is not reported. A hedge inside a quotation is the speaker's, not the writer's, and is not counted.
|
|
61
61
|
level_meaning:
|
|
62
62
|
ja: 1000 字あたり逃げの表現 {limit} 個まで(一文に重ねた逃げは、文書の長さによらず指摘)
|
|
63
|
-
en: up to {limit} hedges per 1000 words (hedges stacked in one sentence are reported whatever the length)
|
|
63
|
+
en: up to {limit} {limit|hedge|hedges} per 1000 words (hedges stacked in one sentence are reported whatever the length)
|
|
64
64
|
rewrite:
|
|
65
65
|
depth: light
|
|
66
66
|
ja:
|
|
@@ -48,7 +48,7 @@ not_flagged:
|
|
|
48
48
|
en: Only marks touching Japanese text. A ? in a URL, in code or in English text is not counted.
|
|
49
49
|
level_meaning:
|
|
50
50
|
ja: 少ないほうの書き方が {limit} 箇所あれば指摘
|
|
51
|
-
en: reported once the less common way appears {limit} times
|
|
51
|
+
en: reported once the less common way appears {limit} {limit|time|times}
|
|
52
52
|
rewrite:
|
|
53
53
|
depth: light
|
|
54
54
|
ja:
|
|
@@ -15,8 +15,8 @@ why:
|
|
|
15
15
|
en: '"There is" and "it is ... that" push the subject to the back and drop who does what.'
|
|
16
16
|
|
|
17
17
|
message:
|
|
18
|
-
ja: '"{
|
|
19
|
-
en: '"{
|
|
18
|
+
ja: '"{form} ..." を含め、There is か It is ... that の形で始まる文が文書内に {count} 文あります({limit} 文まで)'
|
|
19
|
+
en: '"{form} ..." is one of {count} {count|sentence|sentences} that {count|opens|open} with "There is" or "It is ... that" (limit {limit})'
|
|
20
20
|
|
|
21
21
|
how_to_fix:
|
|
22
22
|
ja: 主語を前に出してください。"There is a need to review" を "The board must review" に。
|
|
@@ -49,4 +49,4 @@ not_flagged:
|
|
|
49
49
|
en: '"It is" without a that-clause ("it is raining") is not counted. Nor is a sentence in a paragraph of minutes that opens with a speaker''s name ("Mara: There''s some history ..."): it is that person''s phrasing, recorded as said, not the writer''s to recast. Names are read only when three or more of them each open three or more paragraphs (two field labels such as Status: and Comments: are not names).'
|
|
50
50
|
level_meaning:
|
|
51
51
|
ja: この形の文 {limit} 回まで
|
|
52
|
-
en: up to {limit} such sentences
|
|
52
|
+
en: up to {limit} {limit|such sentence|such sentences}
|
|
@@ -50,11 +50,11 @@ example:
|
|
|
50
50
|
The installer reads your config file and fills in the defaults. The fix is one command that rewrites every path to an absolute one.
|
|
51
51
|
|
|
52
52
|
not_flagged:
|
|
53
|
-
ja: 一つ一つは誤りではないので、短い文書は測りません。例を挙げる「〜のような」(A や B
|
|
54
|
-
en: None of these is wrong alone, so short documents are not measured. A plain comparison or example ("tools such as A and B") is not counted. The literature and speech genres turn it off.
|
|
53
|
+
ja: 一つ一つは誤りではないので、短い文書は測りません。例を挙げる「〜のような」(A や B のような製品)は数えません。「まるで魔法のように」のように、たとえを導く語(まるで、あたかも)とたとえの語が同じ文にあれば、合わせて一つと数えます。文学と講演のジャンルでは止めています。
|
|
54
|
+
en: None of these is wrong alone, so short documents are not measured. A plain comparison or example ("tools such as A and B") is not counted. A word that opens a figure and the figure it opens in one sentence count as one. The literature and speech genres turn it off.
|
|
55
55
|
level_meaning:
|
|
56
56
|
ja: 1000 字あたり飾りのたとえ {limit} 個まで
|
|
57
|
-
en: up to {limit} decorative figures per 1000 words
|
|
57
|
+
en: up to {limit} {limit|decorative figure|decorative figures} per 1000 words
|
|
58
58
|
|
|
59
59
|
rewrite:
|
|
60
60
|
depth: register
|
|
@@ -42,11 +42,11 @@ example:
|
|
|
42
42
|
The team kept its own schedule. There are two reviews left.
|
|
43
43
|
|
|
44
44
|
not_flagged:
|
|
45
|
-
ja: 一覧にある組だけを見ます。英語の文書だけで動きます。次の語で決まらない「its time」「they're people
|
|
46
|
-
en: Only the pairs on chaff's list are checked, and only in English documents. Pairs the next word does not settle ("its time", "they're people") are not. Not used in fiction or speeches, which spell dialect on purpose.
|
|
45
|
+
ja: 一覧にある組だけを見ます。英語の文書だけで動きます。次の語で決まらない「its time」「they're people」は見ません。名詞の前の「your welcome」(your welcome email)は歓迎のメールなので言いません。小説と話し言葉では使いません(方言や話しぶりをわざと綴るため)。
|
|
46
|
+
en: Only the pairs on chaff's list are checked, and only in English documents. Pairs the next word does not settle ("its time", "they're people") are not, nor "your welcome" before a noun ("your welcome email"). Not used in fiction or speeches, which spell dialect on purpose.
|
|
47
47
|
level_meaning:
|
|
48
48
|
ja: 取り違えが {limit} 箇所あれば指摘
|
|
49
|
-
en: reported once there are {limit}
|
|
49
|
+
en: reported once there {limit|is|are} {limit}
|
|
50
50
|
rewrite:
|
|
51
51
|
depth: light
|
|
52
52
|
en:
|
|
@@ -57,7 +57,7 @@ not_flagged:
|
|
|
57
57
|
en: Only blog posts and business documents are checked; papers, statutes, literature and transcripts are not. "Honestly" as manner ("live honestly") is not a marker and is not listed. A piling-up of sentence openers, "Honestly," among them, is announcing-opener's. A marker only named as a term (the word "honestly") is not reported.
|
|
58
58
|
level_meaning:
|
|
59
59
|
ja: 前置きが {limit} 箇所あれば指摘
|
|
60
|
-
en: reported once there are {limit}
|
|
60
|
+
en: reported once there {limit|is|are} {limit}
|
|
61
61
|
rewrite:
|
|
62
62
|
depth: light
|
|
63
63
|
ja:
|
|
@@ -44,7 +44,7 @@ not_flagged:
|
|
|
44
44
|
en: Only the forms on chaff's list are checked. A phrase whose present negation makes the form a potential (何とも申されません, "I cannot say") is not. 伺われる is not, as it is also 窺われる ("can be seen"). Forms some guides accept (お伺いください) are not listed. Literature does not run this rule.
|
|
45
45
|
level_meaning:
|
|
46
46
|
ja: 当てはまる形が {limit} 箇所あれば指摘
|
|
47
|
-
en: reported once there are {limit}
|
|
47
|
+
en: reported once there {limit|is|are} {limit}
|
|
48
48
|
rewrite:
|
|
49
49
|
depth: light
|
|
50
50
|
ja:
|
|
@@ -43,7 +43,7 @@ not_flagged:
|
|
|
43
43
|
en: 'Only between words. A list marker ("- "), a number range ("1 - 2"), a hyphen inside a word ("well-known") and code are not reported. Nor is the hyphen that sets a numbered division''s label apart from its title in a heading ("PART I - THE AGENCIES GENERALLY"). Nor is "--" in a document that sets no dash as a character (— or –), where it is how the document types its dash, as plain-text standards and Markdown typographers do. Nor is a separator in copied text: before a capital inside a quotation that reproduces a label or a sign ("Unhelpful - Post needs no note"), in a numbered reference entry ([12] … My robot friend - a study), in a short name given as a field''s value (Office Space - Monthly after Category and a colon), in a log or bot line (one that holds an address, a setting such as exit_code=99 or a dotted name such as sre.mediawiki.restart, or starts with <bot>), and inside an HTML tag shown as text. Nor is a hyphen that joins one capitalised word onto a name ("Iraq and Syria - Khorasan,"). The literature presets turn it off, since older printed texts set the dash as "--".'
|
|
44
44
|
level_meaning:
|
|
45
45
|
ja: "{limit} 箇所あれば指摘"
|
|
46
|
-
en: reported once there are {limit}
|
|
46
|
+
en: reported once there {limit|is|are} {limit}
|
|
47
47
|
rewrite:
|
|
48
48
|
depth: light
|
|
49
49
|
en:
|
package/rules/idiom-misuse.yaml
CHANGED
|
@@ -43,7 +43,7 @@ not_flagged:
|
|
|
43
43
|
en: Only the forms on chaff's list are checked. Forms dictionaries disagree on are not listed. Literature does not run this rule, since dialogue may misuse an idiom on purpose.
|
|
44
44
|
level_meaning:
|
|
45
45
|
ja: 当てはまる形が {limit} 箇所あれば指摘
|
|
46
|
-
en: reported once there are {limit}
|
|
46
|
+
en: reported once there {limit|is|are} {limit}
|
|
47
47
|
rewrite:
|
|
48
48
|
depth: light
|
|
49
49
|
ja:
|
|
@@ -55,4 +55,4 @@ not_flagged:
|
|
|
55
55
|
en: Words in their full meaning (資料を下さい, 本を置いて帰る, 事が起きた, 時が経つ) are not reported. 時 is reported only as a condition (〜時は, 〜時には); 時 for a point in time (達した時から) stays in kanji. 〜て行く, 〜て来る, 〜て見る, 所 and 物 are not checked, since the tagger cannot tell them from their full meaning (持って行く, 開いて見る "open and read", 家を建てる所). Without the koyobun style the rule does not run.
|
|
56
56
|
level_meaning:
|
|
57
57
|
ja: 当てはまる語が {limit} 箇所あれば指摘
|
|
58
|
-
en: reported once there are {limit}
|
|
58
|
+
en: reported once there {limit|is|are} {limit}
|
|
@@ -96,4 +96,4 @@ not_flagged:
|
|
|
96
96
|
en: Different words (サーバー and ブラウザ) are not compared. Words of one mora before the final ー (カー), words the dictionary knows as proper nouns and the names under names in chaff.yaml are left alone. A word that becomes another word with a final ー (フリ and フリー, タブ (tab) and タブー (taboo), ベタ and ベター) is not compared, nor asked for a ー by keep, when it is in the long-vowel-distinct word list. drop leaves words ending in ュー, エー, イー and the like alone (メニュー, グレー, コピー).
|
|
97
97
|
level_meaning:
|
|
98
98
|
ja: 違う書き方の語が {limit} 箇所あれば指摘
|
|
99
|
-
en: reported once {limit} words go the other way
|
|
99
|
+
en: reported once {limit} {limit|word goes|words go} the other way
|