chaffjs 0.18.0 → 0.19.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/README.md +52 -56
- package/bin/chaff.js +17 -2
- package/dist/acronym-expansions.d.ts +26 -0
- package/dist/acronym-expansions.d.ts.map +1 -0
- package/dist/acronym-expansions.js +88 -0
- package/dist/acronym-expansions.js.map +1 -0
- package/dist/announced-count.d.ts.map +1 -1
- package/dist/announced-count.js +44 -10
- package/dist/announced-count.js.map +1 -1
- package/dist/announced-list.d.ts +30 -0
- package/dist/announced-list.d.ts.map +1 -0
- package/dist/announced-list.js +95 -0
- package/dist/announced-list.js.map +1 -0
- package/dist/api.d.ts +168 -0
- package/dist/api.d.ts.map +1 -0
- package/dist/api.js +10 -0
- package/dist/api.js.map +1 -0
- package/dist/cli-text.d.ts +0 -1
- package/dist/cli-text.d.ts.map +1 -1
- package/dist/cli-text.js +6 -14
- package/dist/cli-text.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +58 -62
- package/dist/cli.js.map +1 -1
- package/dist/closing-paragraph.d.ts +7 -0
- package/dist/closing-paragraph.d.ts.map +1 -0
- package/dist/closing-paragraph.js +22 -0
- package/dist/closing-paragraph.js.map +1 -0
- package/dist/commands/compare.d.ts +8 -1
- package/dist/commands/compare.d.ts.map +1 -1
- package/dist/commands/compare.js +9 -17
- package/dist/commands/compare.js.map +1 -1
- package/dist/commands/document-commands.d.ts +9 -0
- package/dist/commands/document-commands.d.ts.map +1 -0
- package/dist/commands/document-commands.js +17 -0
- package/dist/commands/document-commands.js.map +1 -0
- package/dist/commands/eval.d.ts.map +1 -1
- package/dist/commands/eval.js +3 -2
- package/dist/commands/eval.js.map +1 -1
- package/dist/commands/facts.d.ts +8 -0
- package/dist/commands/facts.d.ts.map +1 -0
- package/dist/commands/facts.js +30 -0
- package/dist/commands/facts.js.map +1 -0
- package/dist/commands/feedback.d.ts +10 -0
- package/dist/commands/feedback.d.ts.map +1 -1
- package/dist/commands/feedback.js +25 -1
- package/dist/commands/feedback.js.map +1 -1
- package/dist/commands/fix-plan.d.ts +13 -0
- package/dist/commands/fix-plan.d.ts.map +1 -0
- package/dist/commands/fix-plan.js +44 -0
- package/dist/commands/fix-plan.js.map +1 -0
- package/dist/commands/outline.d.ts +8 -0
- package/dist/commands/outline.d.ts.map +1 -0
- package/dist/commands/outline.js +43 -0
- package/dist/commands/outline.js.map +1 -0
- package/dist/commands/read-document.d.ts +14 -0
- package/dist/commands/read-document.d.ts.map +1 -0
- package/dist/commands/read-document.js +21 -0
- package/dist/commands/read-document.js.map +1 -0
- package/dist/commands/suppressions.d.ts +7 -0
- package/dist/commands/suppressions.d.ts.map +1 -0
- package/dist/commands/suppressions.js +9 -0
- package/dist/commands/suppressions.js.map +1 -0
- package/dist/commands/test.js +1 -1
- package/dist/commands/test.js.map +1 -1
- package/dist/compare/clock-time.d.ts.map +1 -1
- package/dist/compare/clock-time.js +5 -2
- package/dist/compare/clock-time.js.map +1 -1
- package/dist/compare/distinct.d.ts +9 -0
- package/dist/compare/distinct.d.ts.map +1 -0
- package/dist/compare/distinct.js +12 -0
- package/dist/compare/distinct.js.map +1 -0
- package/dist/compare/extract.d.ts.map +1 -1
- package/dist/compare/extract.js +7 -5
- package/dist/compare/extract.js.map +1 -1
- package/dist/compare/fact-key.d.ts +17 -0
- package/dist/compare/fact-key.d.ts.map +1 -0
- package/dist/compare/fact-key.js +25 -0
- package/dist/compare/fact-key.js.map +1 -0
- package/dist/compare/fact-text.d.ts +5 -0
- package/dist/compare/fact-text.d.ts.map +1 -1
- package/dist/compare/fact-text.js +16 -2
- package/dist/compare/fact-text.js.map +1 -1
- package/dist/compare/facts-render.d.ts +17 -0
- package/dist/compare/facts-render.d.ts.map +1 -0
- package/dist/compare/facts-render.js +43 -0
- package/dist/compare/facts-render.js.map +1 -0
- package/dist/compare/facts-text.d.ts +15 -0
- package/dist/compare/facts-text.d.ts.map +1 -0
- package/dist/compare/facts-text.js +27 -0
- package/dist/compare/facts-text.js.map +1 -0
- package/dist/compare/match.d.ts +1 -0
- package/dist/compare/match.d.ts.map +1 -1
- package/dist/compare/match.js +1 -1
- package/dist/compare/match.js.map +1 -1
- package/dist/compare/outcome.d.ts +4 -1
- package/dist/compare/outcome.d.ts.map +1 -1
- package/dist/compare/outcome.js +10 -4
- package/dist/compare/outcome.js.map +1 -1
- package/dist/compare/proper-nouns.d.ts +3 -3
- package/dist/compare/proper-nouns.d.ts.map +1 -1
- package/dist/compare/proper-nouns.js +2 -3
- package/dist/compare/proper-nouns.js.map +1 -1
- package/dist/compare/render.d.ts +4 -0
- package/dist/compare/render.d.ts.map +1 -1
- package/dist/compare/render.js +2 -2
- package/dist/compare/render.js.map +1 -1
- package/dist/compare/text-atoms.d.ts +5 -2
- package/dist/compare/text-atoms.d.ts.map +1 -1
- package/dist/compare/text-atoms.js +7 -5
- package/dist/compare/text-atoms.js.map +1 -1
- package/dist/compare/text.d.ts.map +1 -1
- package/dist/compare/text.js +2 -2
- package/dist/compare/text.js.map +1 -1
- package/dist/config/load.d.ts +8 -0
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/load.js +1 -0
- package/dist/config/load.js.map +1 -1
- package/dist/config/option-problems.d.ts +3 -2
- package/dist/config/option-problems.d.ts.map +1 -1
- package/dist/config/option-problems.js +4 -3
- package/dist/config/option-problems.js.map +1 -1
- package/dist/config/style.d.ts +5 -0
- package/dist/config/style.d.ts.map +1 -1
- package/dist/config/style.js +13 -1
- package/dist/config/style.js.map +1 -1
- package/dist/custom/load.d.ts +6 -3
- package/dist/custom/load.d.ts.map +1 -1
- package/dist/custom/load.js +10 -2
- package/dist/custom/load.js.map +1 -1
- package/dist/custom/module-path.d.ts +11 -0
- package/dist/custom/module-path.d.ts.map +1 -0
- package/dist/custom/module-path.js +15 -0
- package/dist/custom/module-path.js.map +1 -0
- package/dist/custom/parse.d.ts +17 -3
- package/dist/custom/parse.d.ts.map +1 -1
- package/dist/custom/parse.js +57 -14
- package/dist/custom/parse.js.map +1 -1
- package/dist/custom/problems.d.ts +4 -1
- package/dist/custom/problems.d.ts.map +1 -1
- package/dist/custom/problems.js +56 -39
- package/dist/custom/problems.js.map +1 -1
- package/dist/detect-language.js +1 -1
- package/dist/detect.d.ts.map +1 -1
- package/dist/detect.js +9 -3
- package/dist/detect.js.map +1 -1
- package/dist/detectors/ai-phrasing.d.ts +4 -1
- package/dist/detectors/ai-phrasing.d.ts.map +1 -1
- package/dist/detectors/ai-phrasing.js +6 -2
- package/dist/detectors/ai-phrasing.js.map +1 -1
- package/dist/detectors/bold-label.d.ts +10 -0
- package/dist/detectors/bold-label.d.ts.map +1 -0
- package/dist/detectors/bold-label.js +44 -0
- package/dist/detectors/bold-label.js.map +1 -0
- package/dist/detectors/dangling-figure.d.ts +5 -2
- package/dist/detectors/dangling-figure.d.ts.map +1 -1
- package/dist/detectors/dangling-figure.js +5 -3
- package/dist/detectors/dangling-figure.js.map +1 -1
- package/dist/detectors/definition-use.d.ts +8 -0
- package/dist/detectors/definition-use.d.ts.map +1 -0
- package/dist/detectors/definition-use.js +32 -0
- package/dist/detectors/definition-use.js.map +1 -0
- package/dist/detectors/doubled-punctuation.d.ts.map +1 -1
- package/dist/detectors/doubled-punctuation.js +4 -2
- package/dist/detectors/doubled-punctuation.js.map +1 -1
- package/dist/detectors/duplicate-heading.d.ts +14 -0
- package/dist/detectors/duplicate-heading.d.ts.map +1 -0
- package/dist/detectors/duplicate-heading.js +39 -0
- package/dist/detectors/duplicate-heading.js.map +1 -0
- package/dist/detectors/empty-section.d.ts +8 -0
- package/dist/detectors/empty-section.d.ts.map +1 -0
- package/dist/detectors/empty-section.js +16 -0
- package/dist/detectors/empty-section.js.map +1 -0
- package/dist/detectors/fullwidth-alnum.d.ts +24 -0
- package/dist/detectors/fullwidth-alnum.d.ts.map +1 -0
- package/dist/detectors/fullwidth-alnum.js +88 -0
- package/dist/detectors/fullwidth-alnum.js.map +1 -0
- package/dist/detectors/hankaku-kana.d.ts +9 -0
- package/dist/detectors/hankaku-kana.d.ts.map +1 -0
- package/dist/detectors/hankaku-kana.js +27 -0
- package/dist/detectors/hankaku-kana.js.map +1 -0
- package/dist/detectors/heading-code-words.js +2 -2
- package/dist/detectors/heading-code-words.js.map +1 -1
- package/dist/detectors/index.d.ts.map +1 -1
- package/dist/detectors/index.js +36 -0
- package/dist/detectors/index.js.map +1 -1
- package/dist/detectors/invisible-character.d.ts +20 -0
- package/dist/detectors/invisible-character.d.ts.map +1 -0
- package/dist/detectors/invisible-character.js +143 -0
- package/dist/detectors/invisible-character.js.map +1 -0
- package/dist/detectors/kutoten-consistency.js +2 -2
- package/dist/detectors/kutoten-consistency.js.map +1 -1
- package/dist/detectors/lexicon-match.d.ts +10 -1
- package/dist/detectors/lexicon-match.d.ts.map +1 -1
- package/dist/detectors/lexicon-match.js +26 -1
- package/dist/detectors/lexicon-match.js.map +1 -1
- package/dist/detectors/lexicon.d.ts +6 -1
- package/dist/detectors/lexicon.d.ts.map +1 -1
- package/dist/detectors/lexicon.js +31 -13
- package/dist/detectors/lexicon.js.map +1 -1
- package/dist/detectors/list-sentence.d.ts +3 -1
- package/dist/detectors/list-sentence.d.ts.map +1 -1
- package/dist/detectors/list-sentence.js +26 -1
- package/dist/detectors/list-sentence.js.map +1 -1
- package/dist/detectors/long-vowel.d.ts.map +1 -1
- package/dist/detectors/long-vowel.js +18 -4
- package/dist/detectors/long-vowel.js.map +1 -1
- package/dist/detectors/markup-finding.d.ts +3 -1
- package/dist/detectors/markup-finding.d.ts.map +1 -1
- package/dist/detectors/markup-finding.js +10 -0
- package/dist/detectors/markup-finding.js.map +1 -1
- package/dist/detectors/modal-conflict.d.ts +4 -0
- package/dist/detectors/modal-conflict.d.ts.map +1 -0
- package/dist/detectors/modal-conflict.js +22 -0
- package/dist/detectors/modal-conflict.js.map +1 -0
- package/dist/detectors/name-variant.d.ts +4 -0
- package/dist/detectors/name-variant.d.ts.map +1 -0
- package/dist/detectors/name-variant.js +13 -0
- package/dist/detectors/name-variant.js.map +1 -0
- package/dist/detectors/nominalization.d.ts +11 -0
- package/dist/detectors/nominalization.d.ts.map +1 -0
- package/dist/detectors/nominalization.js +56 -0
- package/dist/detectors/nominalization.js.map +1 -0
- package/dist/detectors/orthography.d.ts.map +1 -1
- package/dist/detectors/orthography.js +59 -28
- package/dist/detectors/orthography.js.map +1 -1
- package/dist/detectors/outside-announced-list.d.ts +4 -0
- package/dist/detectors/outside-announced-list.d.ts.map +1 -0
- package/dist/detectors/outside-announced-list.js +24 -0
- package/dist/detectors/outside-announced-list.js.map +1 -0
- package/dist/detectors/oxford-comma.d.ts.map +1 -1
- package/dist/detectors/oxford-comma.js +1 -0
- package/dist/detectors/oxford-comma.js.map +1 -1
- package/dist/detectors/phrase-match.d.ts +4 -1
- package/dist/detectors/phrase-match.d.ts.map +1 -1
- package/dist/detectors/phrase-match.js +26 -7
- package/dist/detectors/phrase-match.js.map +1 -1
- package/dist/detectors/ra-nuki.d.ts +9 -0
- package/dist/detectors/ra-nuki.d.ts.map +1 -0
- package/dist/detectors/ra-nuki.js +30 -0
- package/dist/detectors/ra-nuki.js.map +1 -0
- package/dist/detectors/requirement-modal.d.ts +5 -0
- package/dist/detectors/requirement-modal.d.ts.map +1 -0
- package/dist/detectors/requirement-modal.js +54 -0
- package/dist/detectors/requirement-modal.js.map +1 -0
- package/dist/detectors/requirement-smell.d.ts +4 -0
- package/dist/detectors/requirement-smell.d.ts.map +1 -0
- package/dist/detectors/requirement-smell.js +41 -0
- package/dist/detectors/requirement-smell.js.map +1 -0
- package/dist/detectors/space-before-punctuation.d.ts +8 -0
- package/dist/detectors/space-before-punctuation.d.ts.map +1 -0
- package/dist/detectors/space-before-punctuation.js +24 -0
- package/dist/detectors/space-before-punctuation.js.map +1 -0
- package/dist/detectors/spelling-variety.d.ts +23 -0
- package/dist/detectors/spelling-variety.d.ts.map +1 -0
- package/dist/detectors/spelling-variety.js +59 -0
- package/dist/detectors/spelling-variety.js.map +1 -0
- package/dist/detectors/structure-tree.d.ts.map +1 -1
- package/dist/detectors/structure-tree.js +3 -1
- package/dist/detectors/structure-tree.js.map +1 -1
- package/dist/detectors/structure.d.ts.map +1 -1
- package/dist/detectors/structure.js +16 -2
- package/dist/detectors/structure.js.map +1 -1
- package/dist/detectors/superlative-comparison.d.ts +20 -0
- package/dist/detectors/superlative-comparison.d.ts.map +1 -0
- package/dist/detectors/superlative-comparison.js +32 -0
- package/dist/detectors/superlative-comparison.js.map +1 -0
- package/dist/detectors/url-run-on.d.ts.map +1 -1
- package/dist/detectors/url-run-on.js +6 -1
- package/dist/detectors/url-run-on.js.map +1 -1
- package/dist/detectors/vague-figure-pointer.d.ts +10 -0
- package/dist/detectors/vague-figure-pointer.d.ts.map +1 -0
- package/dist/detectors/vague-figure-pointer.js +46 -0
- package/dist/detectors/vague-figure-pointer.js.map +1 -0
- package/dist/detectors/word-list.d.ts +2 -0
- package/dist/detectors/word-list.d.ts.map +1 -1
- package/dist/detectors/word-list.js +4 -1
- package/dist/detectors/word-list.js.map +1 -1
- package/dist/document.d.ts +9 -3
- package/dist/document.d.ts.map +1 -1
- package/dist/document.js +55 -32
- package/dist/document.js.map +1 -1
- package/dist/extension/document-view.d.ts +7 -0
- package/dist/extension/document-view.d.ts.map +1 -0
- package/dist/extension/document-view.js +91 -0
- package/dist/extension/document-view.js.map +1 -0
- package/dist/extension/failure-text.d.ts +5 -0
- package/dist/extension/failure-text.d.ts.map +1 -0
- package/dist/extension/failure-text.js +33 -0
- package/dist/extension/failure-text.js.map +1 -0
- package/dist/extension/import-default.d.ts +7 -0
- package/dist/extension/import-default.d.ts.map +1 -0
- package/dist/extension/import-default.js +21 -0
- package/dist/extension/import-default.js.map +1 -0
- package/dist/extension/load.d.ts +28 -0
- package/dist/extension/load.d.ts.map +1 -0
- package/dist/extension/load.js +51 -0
- package/dist/extension/load.js.map +1 -0
- package/dist/extension/module-detector.d.ts +21 -0
- package/dist/extension/module-detector.d.ts.map +1 -0
- package/dist/extension/module-detector.js +49 -0
- package/dist/extension/module-detector.js.map +1 -0
- package/dist/extension/plugin-load.d.ts +9 -0
- package/dist/extension/plugin-load.d.ts.map +1 -0
- package/dist/extension/plugin-load.js +68 -0
- package/dist/extension/plugin-load.js.map +1 -0
- package/dist/extension/plugin-name.d.ts +8 -0
- package/dist/extension/plugin-name.d.ts.map +1 -0
- package/dist/extension/plugin-name.js +22 -0
- package/dist/extension/plugin-name.js.map +1 -0
- package/dist/extension/plugin-parse.d.ts +41 -0
- package/dist/extension/plugin-parse.d.ts.map +1 -0
- package/dist/extension/plugin-parse.js +156 -0
- package/dist/extension/plugin-parse.js.map +1 -0
- package/dist/extension/problem-text.d.ts +5 -0
- package/dist/extension/problem-text.d.ts.map +1 -0
- package/dist/extension/problem-text.js +74 -0
- package/dist/extension/problem-text.js.map +1 -0
- package/dist/extension/real-path.d.ts +3 -0
- package/dist/extension/real-path.d.ts.map +1 -0
- package/dist/extension/real-path.js +8 -0
- package/dist/extension/real-path.js.map +1 -0
- package/dist/extension/returned-findings.d.ts +17 -0
- package/dist/extension/returned-findings.d.ts.map +1 -0
- package/dist/extension/returned-findings.js +48 -0
- package/dist/extension/returned-findings.js.map +1 -0
- package/dist/extension/rule-export.d.ts +13 -0
- package/dist/extension/rule-export.d.ts.map +1 -0
- package/dist/extension/rule-export.js +16 -0
- package/dist/extension/rule-export.js.map +1 -0
- package/dist/feedback/draft.d.ts +2 -0
- package/dist/feedback/draft.d.ts.map +1 -1
- package/dist/feedback/draft.js +3 -0
- package/dist/feedback/draft.js.map +1 -1
- package/dist/figure-references.d.ts +11 -2
- package/dist/figure-references.d.ts.map +1 -1
- package/dist/figure-references.js +50 -13
- package/dist/figure-references.js.map +1 -1
- package/dist/finding-order.d.ts +9 -0
- package/dist/finding-order.d.ts.map +1 -0
- package/dist/finding-order.js +3 -0
- package/dist/finding-order.js.map +1 -0
- package/dist/fix-plan/mode.d.ts +21 -0
- package/dist/fix-plan/mode.d.ts.map +1 -0
- package/dist/fix-plan/mode.js +16 -0
- package/dist/fix-plan/mode.js.map +1 -0
- package/dist/fix-plan/plan.d.ts +77 -0
- package/dist/fix-plan/plan.d.ts.map +1 -0
- package/dist/fix-plan/plan.js +100 -0
- package/dist/fix-plan/plan.js.map +1 -0
- package/dist/fix-plan/render.d.ts +6 -0
- package/dist/fix-plan/render.d.ts.map +1 -0
- package/dist/fix-plan/render.js +101 -0
- package/dist/fix-plan/render.js.map +1 -0
- package/dist/fix-plan/text.d.ts +35 -0
- package/dist/fix-plan/text.d.ts.map +1 -0
- package/dist/fix-plan/text.js +95 -0
- package/dist/fix-plan/text.js.map +1 -0
- package/dist/language-sample.d.ts +2 -0
- package/dist/language-sample.d.ts.map +1 -0
- package/dist/language-sample.js +41 -0
- package/dist/language-sample.js.map +1 -0
- package/dist/link-line.d.ts +8 -0
- package/dist/link-line.d.ts.map +1 -0
- package/dist/link-line.js +12 -0
- package/dist/link-line.js.map +1 -0
- package/dist/long-vowel.d.ts +9 -6
- package/dist/long-vowel.d.ts.map +1 -1
- package/dist/long-vowel.js +15 -8
- package/dist/long-vowel.js.map +1 -1
- package/dist/markup.d.ts.map +1 -1
- package/dist/markup.js +4 -2
- package/dist/markup.js.map +1 -1
- package/dist/name-variants.d.ts +25 -0
- package/dist/name-variants.d.ts.map +1 -0
- package/dist/name-variants.js +181 -0
- package/dist/name-variants.js.map +1 -0
- package/dist/node-version.d.ts +7 -0
- package/dist/node-version.d.ts.map +1 -0
- package/dist/node-version.js +19 -0
- package/dist/node-version.js.map +1 -0
- package/dist/not-run.d.ts +14 -0
- package/dist/not-run.d.ts.map +1 -0
- package/dist/not-run.js +12 -0
- package/dist/not-run.js.map +1 -0
- package/dist/orthography.d.ts +8 -1
- package/dist/orthography.d.ts.map +1 -1
- package/dist/orthography.js +33 -12
- package/dist/orthography.js.map +1 -1
- package/dist/outline/render.d.ts +18 -0
- package/dist/outline/render.d.ts.map +1 -0
- package/dist/outline/render.js +60 -0
- package/dist/outline/render.js.map +1 -0
- package/dist/outline/shape.d.ts +26 -0
- package/dist/outline/shape.d.ts.map +1 -0
- package/dist/outline/shape.js +37 -0
- package/dist/outline/shape.js.map +1 -0
- package/dist/outline/text.d.ts +21 -0
- package/dist/outline/text.d.ts.map +1 -0
- package/dist/outline/text.js +30 -0
- package/dist/outline/text.js.map +1 -0
- package/dist/plugin.d.ts +24 -2
- package/dist/plugin.d.ts.map +1 -1
- package/dist/reasons.d.ts +1 -0
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +2 -0
- package/dist/reasons.js.map +1 -1
- package/dist/render/compact.d.ts +3 -1
- package/dist/render/compact.d.ts.map +1 -1
- package/dist/render/compact.js +8 -2
- package/dist/render/compact.js.map +1 -1
- package/dist/render/explain.d.ts +3 -1
- package/dist/render/explain.d.ts.map +1 -1
- package/dist/render/explain.js +32 -15
- package/dist/render/explain.js.map +1 -1
- package/dist/render/rules-json.d.ts.map +1 -1
- package/dist/render/rules-json.js +16 -12
- package/dist/render/rules-json.js.map +1 -1
- package/dist/render/suppressions.d.ts +3 -0
- package/dist/render/suppressions.d.ts.map +1 -1
- package/dist/render/suppressions.js +20 -1
- package/dist/render/suppressions.js.map +1 -1
- package/dist/rule-guide.d.ts +19 -0
- package/dist/rule-guide.d.ts.map +1 -1
- package/dist/rule-guide.js +14 -0
- package/dist/rule-guide.js.map +1 -1
- package/dist/run-semantic.d.ts.map +1 -1
- package/dist/run-semantic.js +2 -1
- package/dist/run-semantic.js.map +1 -1
- package/dist/run.d.ts +5 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +31 -14
- package/dist/run.js.map +1 -1
- package/dist/setting-problems.d.ts.map +1 -1
- package/dist/setting-problems.js +3 -1
- package/dist/setting-problems.js.map +1 -1
- package/dist/spacing-minority.d.ts +16 -0
- package/dist/spacing-minority.d.ts.map +1 -0
- package/dist/spacing-minority.js +23 -0
- package/dist/spacing-minority.js.map +1 -0
- package/dist/stet-block.d.ts +5 -0
- package/dist/stet-block.d.ts.map +1 -0
- package/dist/stet-block.js +59 -0
- package/dist/stet-block.js.map +1 -0
- package/dist/stet.d.ts +4 -0
- package/dist/stet.d.ts.map +1 -1
- package/dist/stet.js +31 -11
- package/dist/stet.js.map +1 -1
- package/dist/structure/date-range.d.ts +10 -0
- package/dist/structure/date-range.d.ts.map +1 -1
- package/dist/structure/date-range.js +33 -1
- package/dist/structure/date-range.js.map +1 -1
- package/dist/structure/definition-use.d.ts +32 -0
- package/dist/structure/definition-use.d.ts.map +1 -0
- package/dist/structure/definition-use.js +102 -0
- package/dist/structure/definition-use.js.map +1 -0
- package/dist/structure/lazy-tree.d.ts +8 -0
- package/dist/structure/lazy-tree.d.ts.map +1 -0
- package/dist/structure/lazy-tree.js +14 -0
- package/dist/structure/lazy-tree.js.map +1 -0
- package/dist/structure/modal-conflict.d.ts +28 -0
- package/dist/structure/modal-conflict.d.ts.map +1 -0
- package/dist/structure/modal-conflict.js +74 -0
- package/dist/structure/modal-conflict.js.map +1 -0
- package/dist/structure/numbered-clauses.d.ts +4 -0
- package/dist/structure/numbered-clauses.d.ts.map +1 -0
- package/dist/structure/numbered-clauses.js +9 -0
- package/dist/structure/numbered-clauses.js.map +1 -0
- package/dist/structure/universal.d.ts.map +1 -1
- package/dist/structure/universal.js +8 -2
- package/dist/structure/universal.js.map +1 -1
- package/dist/style-parse.d.ts +6 -0
- package/dist/style-parse.d.ts.map +1 -1
- package/dist/style-parse.js +32 -4
- package/dist/style-parse.js.map +1 -1
- package/dist/subheading-line.d.ts +19 -2
- package/dist/subheading-line.d.ts.map +1 -1
- package/dist/subheading-line.js +39 -11
- package/dist/subheading-line.js.map +1 -1
- package/dist/tag-coverage.d.ts +8 -0
- package/dist/tag-coverage.d.ts.map +1 -0
- package/dist/tag-coverage.js +7 -0
- package/dist/tag-coverage.js.map +1 -0
- package/genres.yaml +42 -0
- package/package.json +7 -3
- package/rules/acronym-expansion-conflict.yaml +82 -0
- package/rules/adverb-overuse.yaml +2 -2
- package/rules/agentless-passive.yaml +28 -0
- package/rules/ai-tell.yaml +34 -0
- package/rules/announced-count-mismatch.yaml +2 -2
- package/rules/announcing-opener.yaml +31 -0
- package/rules/assistant-residue.yaml +30 -0
- package/rules/bold-density.yaml +28 -0
- package/rules/bold-label-list.yaml +81 -0
- package/rules/closing-cliche.yaml +27 -2
- package/rules/colon-lead-in.yaml +28 -4
- package/rules/contrast-framing.yaml +33 -2
- package/rules/cushion-phrase-density.yaml +32 -5
- package/rules/dangling-reference.yaml +1 -0
- package/rules/date-order.yaml +1 -0
- package/rules/date-range-reversed.yaml +2 -2
- package/rules/double-negative.yaml +51 -0
- package/rules/doubled-punctuation.yaml +2 -2
- package/rules/doubled-word.yaml +2 -2
- package/rules/duplicate-heading.yaml +78 -0
- package/rules/emoji-density.yaml +5 -4
- package/rules/empty-intensifier.yaml +25 -0
- package/rules/empty-section.yaml +74 -0
- package/rules/excessive-hedging.yaml +32 -4
- package/rules/fullwidth-alnum-consistency.yaml +53 -0
- package/rules/hankaku-kana.yaml +41 -0
- package/rules/image-alt-text.yaml +1 -1
- package/rules/invisible-character.yaml +63 -0
- package/rules/katakana-long-vowel.yaml +10 -9
- package/rules/latin-spacing.yaml +12 -5
- package/rules/max-kanji-continuous.yaml +1 -0
- package/rules/max-paragraph-length.yaml +1 -0
- package/rules/max-sentence-length.yaml +26 -0
- package/rules/modal-conflict.yaml +106 -0
- package/rules/name-variant.yaml +88 -0
- package/rules/no-doubled-joshi.yaml +1 -0
- package/rules/no-em-dash.yaml +26 -2
- package/rules/no-mixed-desumasu.yaml +1 -0
- package/rules/nominalization.yaml +89 -0
- package/rules/outside-announced-list.yaml +80 -0
- package/rules/padded-intro.yaml +25 -0
- package/rules/paragraph-length-variance.yaml +26 -2
- package/rules/preferred-term.yaml +1 -0
- package/rules/proper-noun-density.yaml +14 -5
- package/rules/ra-nuki.yaml +43 -0
- package/rules/requirement-modal.yaml +94 -0
- package/rules/requirement-smell.yaml +70 -0
- package/rules/rule-of-three.yaml +46 -0
- package/rules/section-length-uniformity.yaml +26 -2
- package/rules/sentence-rhythm.yaml +26 -0
- package/rules/space-before-punctuation.yaml +41 -0
- package/rules/spelling-consistency.yaml +47 -0
- package/rules/stock-transition.yaml +33 -2
- package/rules/taigen-dome-in-prose.yaml +14 -0
- package/rules/total-mismatch.yaml +1 -0
- package/rules/undefined-acronym.yaml +1 -0
- package/rules/unqualified-superlative.yaml +5 -4
- package/rules/unused-definition.yaml +75 -0
- package/rules/use-before-definition.yaml +77 -0
- package/rules/vague-figure-reference.yaml +66 -0
- package/skills/chaff/SKILL.md +108 -8
- package/src/acronym-expansions.ts +106 -0
- package/src/announced-count.ts +53 -11
- package/src/announced-list.ts +120 -0
- package/src/api.ts +154 -0
- package/src/cli-text.ts +6 -11
- package/src/cli.ts +64 -63
- package/src/closing-paragraph.ts +24 -0
- package/src/commands/compare.ts +11 -18
- package/src/commands/document-commands.ts +19 -0
- package/src/commands/eval.ts +3 -2
- package/src/commands/facts.ts +33 -0
- package/src/commands/feedback.ts +33 -1
- package/src/commands/fix-plan.ts +53 -0
- package/src/commands/outline.ts +49 -0
- package/src/commands/read-document.ts +24 -0
- package/src/commands/suppressions.ts +19 -0
- package/src/commands/test.ts +1 -1
- package/src/compare/clock-time.ts +5 -2
- package/src/compare/distinct.ts +13 -0
- package/src/compare/extract.ts +7 -5
- package/src/compare/fact-key.ts +31 -0
- package/src/compare/fact-text.ts +21 -2
- package/src/compare/facts-render.ts +63 -0
- package/src/compare/facts-text.ts +41 -0
- package/src/compare/match.ts +1 -1
- package/src/compare/outcome.ts +14 -4
- package/src/compare/proper-nouns.ts +4 -4
- package/src/compare/render.ts +2 -2
- package/src/compare/text-atoms.ts +7 -6
- package/src/compare/text.ts +3 -2
- package/src/config/load.ts +9 -0
- package/src/config/option-problems.ts +6 -4
- package/src/config/style.ts +14 -1
- package/src/custom/load.ts +11 -3
- package/src/custom/module-path.ts +23 -0
- package/src/custom/parse.ts +67 -18
- package/src/custom/problems.ts +63 -41
- package/src/detect-language.ts +1 -1
- package/src/detect.ts +10 -3
- package/src/detectors/ai-phrasing.ts +6 -2
- package/src/detectors/bold-label.ts +55 -0
- package/src/detectors/dangling-figure.ts +8 -4
- package/src/detectors/definition-use.ts +41 -0
- package/src/detectors/doubled-punctuation.ts +5 -2
- package/src/detectors/duplicate-heading.ts +47 -0
- package/src/detectors/empty-section.ts +21 -0
- package/src/detectors/fullwidth-alnum.ts +118 -0
- package/src/detectors/hankaku-kana.ts +38 -0
- package/src/detectors/heading-code-words.ts +2 -2
- package/src/detectors/index.ts +36 -0
- package/src/detectors/invisible-character.ts +190 -0
- package/src/detectors/kutoten-consistency.ts +2 -2
- package/src/detectors/lexicon-match.ts +33 -1
- package/src/detectors/lexicon.ts +40 -13
- package/src/detectors/list-sentence.ts +45 -4
- package/src/detectors/long-vowel.ts +20 -4
- package/src/detectors/markup-finding.ts +16 -1
- package/src/detectors/modal-conflict.ts +26 -0
- package/src/detectors/name-variant.ts +15 -0
- package/src/detectors/nominalization.ts +73 -0
- package/src/detectors/orthography.ts +77 -27
- package/src/detectors/outside-announced-list.ts +25 -0
- package/src/detectors/oxford-comma.ts +1 -0
- package/src/detectors/phrase-match.ts +27 -7
- package/src/detectors/ra-nuki.ts +38 -0
- package/src/detectors/requirement-modal.ts +67 -0
- package/src/detectors/requirement-smell.ts +52 -0
- package/src/detectors/space-before-punctuation.ts +32 -0
- package/src/detectors/spelling-variety.ts +81 -0
- package/src/detectors/structure-tree.ts +3 -1
- package/src/detectors/structure.ts +17 -3
- package/src/detectors/superlative-comparison.ts +47 -0
- package/src/detectors/url-run-on.ts +7 -1
- package/src/detectors/vague-figure-pointer.ts +58 -0
- package/src/detectors/word-list.ts +6 -1
- package/src/document.ts +88 -41
- package/src/extension/document-view.ts +109 -0
- package/src/extension/failure-text.ts +46 -0
- package/src/extension/import-default.ts +13 -0
- package/src/extension/load.ts +97 -0
- package/src/extension/module-detector.ts +61 -0
- package/src/extension/plugin-load.ts +82 -0
- package/src/extension/plugin-name.ts +26 -0
- package/src/extension/plugin-parse.ts +229 -0
- package/src/extension/problem-text.ts +103 -0
- package/src/extension/real-path.ts +10 -0
- package/src/extension/returned-findings.ts +62 -0
- package/src/extension/rule-export.ts +23 -0
- package/src/feedback/draft.ts +6 -0
- package/src/figure-references.ts +73 -12
- package/src/finding-order.ts +3 -0
- package/src/fix-plan/mode.ts +34 -0
- package/src/fix-plan/plan.ts +181 -0
- package/src/fix-plan/render.ts +128 -0
- package/src/fix-plan/text.ts +133 -0
- package/src/language-sample.ts +48 -0
- package/src/link-line.ts +13 -0
- package/src/long-vowel.ts +18 -8
- package/src/markup.ts +4 -2
- package/src/name-variants.ts +217 -0
- package/src/node-version.ts +22 -0
- package/src/not-run.ts +16 -0
- package/src/orthography.ts +40 -11
- package/src/outline/render.ts +85 -0
- package/src/outline/shape.ts +72 -0
- package/src/outline/text.ts +50 -0
- package/src/plugin.ts +21 -4
- package/src/reasons.ts +3 -0
- package/src/render/compact.ts +13 -3
- package/src/render/explain.ts +47 -20
- package/src/render/rules-json.ts +18 -12
- package/src/render/suppressions.ts +30 -2
- package/src/rule-guide.ts +38 -0
- package/src/run-semantic.ts +2 -1
- package/src/run.ts +37 -17
- package/src/setting-problems.ts +3 -1
- package/src/spacing-minority.ts +27 -0
- package/src/stet-block.ts +60 -0
- package/src/stet.ts +41 -15
- package/src/structure/date-range.ts +49 -1
- package/src/structure/definition-use.ts +130 -0
- package/src/structure/lazy-tree.ts +15 -0
- package/src/structure/modal-conflict.ts +86 -0
- package/src/structure/numbered-clauses.ts +11 -0
- package/src/structure/universal.ts +10 -2
- package/src/style-parse.ts +38 -3
- package/src/subheading-line.ts +51 -13
- package/src/tag-coverage.ts +13 -0
- package/styles/ieice.yaml +5 -4
- package/styles/jis-z8301-2011.yaml +5 -2
- package/styles/jis-z8301-2019.yaml +31 -0
- package/styles/koyobun.yaml +35 -0
- package/dist/legal-address.d.ts +0 -2
- package/dist/legal-address.d.ts.map +0 -1
- package/dist/legal-address.js +0 -16
- package/dist/legal-address.js.map +0 -1
package/rules/ai-tell.yaml
CHANGED
|
@@ -26,6 +26,7 @@ how_to_fix:
|
|
|
26
26
|
levels: { strict: 10, normal: 18, relaxed: 30 }
|
|
27
27
|
|
|
28
28
|
use_for: [blog, business, legal, docs, academic, literature, speech]
|
|
29
|
+
sources: [kobak-2025, liang-2024, juzek-ward-2025]
|
|
29
30
|
|
|
30
31
|
group: ai-tells
|
|
31
32
|
summary:
|
|
@@ -49,3 +50,36 @@ not_flagged:
|
|
|
49
50
|
level_meaning:
|
|
50
51
|
ja: 言い回しの重みの合計が {limit} 点まで
|
|
51
52
|
en: up to a score of {limit}
|
|
53
|
+
rewrite:
|
|
54
|
+
ja:
|
|
55
|
+
direction: 決まった言い回しを、その文が実際に言っている中身(誰が、何を、どれだけ)に置き換えてください。中身の無い文は消してください。
|
|
56
|
+
pairs:
|
|
57
|
+
- before: 現代社会において、在庫データは発注の判断で重要な役割を果たしています。
|
|
58
|
+
after: 発注は在庫データを見て決めています。
|
|
59
|
+
- before: 原因の調査に三日間、時間を溶かしました。
|
|
60
|
+
after: 原因の調査に三日かかりました。
|
|
61
|
+
- before: 本記事では、キャッシュの仕組みについて深く掘り下げていきます。
|
|
62
|
+
after: この記事では、キャッシュの仕組みを説明します。
|
|
63
|
+
keep:
|
|
64
|
+
- 数字、日付、名前、条件
|
|
65
|
+
- 書き手の確かさ(言い切りか、推量か)
|
|
66
|
+
avoid:
|
|
67
|
+
- 書き手が書いていない例や数字を作る
|
|
68
|
+
- 決まり文句を別の決まり文句に替える(「重要な役割を果たす」を「欠かせない存在だ」に)
|
|
69
|
+
- どの段落も同じ形に書き揃える
|
|
70
|
+
en:
|
|
71
|
+
direction: Replace the stock phrase with what the sentence actually claims, who does what and how much. If nothing is claimed, delete the sentence.
|
|
72
|
+
pairs:
|
|
73
|
+
- before: In today's fast-paced world, stock data plays a crucial role in ordering.
|
|
74
|
+
after: Orders are decided from stock data.
|
|
75
|
+
- before: Let's delve into how the cache works.
|
|
76
|
+
after: This section explains how the cache works.
|
|
77
|
+
- before: The release is a testament to the team's meticulous planning.
|
|
78
|
+
after: The team planned the release in detail.
|
|
79
|
+
keep:
|
|
80
|
+
- numbers, dates, names and conditions
|
|
81
|
+
- how sure the writer is
|
|
82
|
+
avoid:
|
|
83
|
+
- inventing an example or a number the writer did not give
|
|
84
|
+
- trading one stock phrase for another ("plays a crucial role" for "is pivotal")
|
|
85
|
+
- giving every paragraph the same shape
|
|
@@ -53,5 +53,5 @@ example:
|
|
|
53
53
|
- Your bank account
|
|
54
54
|
|
|
55
55
|
not_flagged:
|
|
56
|
-
ja: 目安の数(約3点、3つ以上)、順番(3つ目)、選ぶ数(以下から1
|
|
57
|
-
en: An estimate (about three, three or more), a rank (the first three), how many to pick (choose two), 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.
|
|
56
|
+
ja: 目安の数(約3点、3つ以上)、順番(3つ目)、選ぶ数(以下から1つ選ぶ)、見出しや表の前の数、箇条書きがすぐ後ろに無い数は比べません。予告の文に数が二つあるときも比べません。コロンだけで予告する文は、コロンにいちばん近い数を予告の数とみなし、その数の後ろにまだ数があれば比べません(「1 つのページを 2 ページに分けました:」)。どの行も「ラベル:A / B」の形の箇条書きは、斜線(/)で区切って並べた項目の数が合っていれば指摘しません。
|
|
57
|
+
en: An estimate (about three, three or more), a rank (the first three), how many to pick (choose two), 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.
|
|
@@ -49,3 +49,34 @@ not_flagged:
|
|
|
49
49
|
level_meaning:
|
|
50
50
|
ja: 予告で始まる文が {limit} 個あれば指摘
|
|
51
51
|
en: reported once {limit} sentences open with an announcement
|
|
52
|
+
rewrite:
|
|
53
|
+
ja:
|
|
54
|
+
direction: 「重要なのは、」「ポイントは、」のような予告を消し、その後ろの中身から文を始めてください。
|
|
55
|
+
pairs:
|
|
56
|
+
- before: 重要なのは、締め切りを先に決めることです。
|
|
57
|
+
after: 締め切りは先に決めます。
|
|
58
|
+
- before: 正直に言うと、この設定は分かりにくいです。
|
|
59
|
+
after: この設定は分かりにくいです。
|
|
60
|
+
- before: ポイントは、キャッシュを毎回消すことです。
|
|
61
|
+
after: キャッシュは毎回消します。
|
|
62
|
+
keep:
|
|
63
|
+
- 予告の後ろの中身
|
|
64
|
+
- 文書でいちばん大事な一つにだけ付けた予告
|
|
65
|
+
avoid:
|
|
66
|
+
- 予告を別の予告(「大切なのは」「注目すべきは」)に替える
|
|
67
|
+
- 予告を消したぶん、強める語(「必ず」「非常に」)を足す
|
|
68
|
+
en:
|
|
69
|
+
direction: Delete the announcement ("The key point is", "Here's the thing") and start the sentence with what came after it.
|
|
70
|
+
pairs:
|
|
71
|
+
- before: The key point is that deadlines come first.
|
|
72
|
+
after: Deadlines come first.
|
|
73
|
+
- before: Here's the thing, the setting is confusing.
|
|
74
|
+
after: The setting is confusing.
|
|
75
|
+
- before: Honestly, the cache should be cleared every time.
|
|
76
|
+
after: The cache should be cleared every time.
|
|
77
|
+
keep:
|
|
78
|
+
- what followed the announcement
|
|
79
|
+
- one announcement on the single point that matters most
|
|
80
|
+
avoid:
|
|
81
|
+
- swapping one announcement for another ("What matters is", "Notably")
|
|
82
|
+
- adding an intensifier ("always", "really") to make up for the deleted opener
|
|
@@ -27,6 +27,7 @@ how_to_fix:
|
|
|
27
27
|
levels: { strict: 10, normal: 10, relaxed: 20 }
|
|
28
28
|
|
|
29
29
|
use_for: [blog, business, technical, legal, docs, academic, literature, speech]
|
|
30
|
+
sources: [hayashi-aizawa-2026]
|
|
30
31
|
|
|
31
32
|
group: ai-tells
|
|
32
33
|
summary:
|
|
@@ -50,3 +51,32 @@ not_flagged:
|
|
|
50
51
|
level_meaning:
|
|
51
52
|
ja: 重みの合計が {limit} 点で指摘
|
|
52
53
|
en: reported from a score of {limit}
|
|
54
|
+
rewrite:
|
|
55
|
+
ja:
|
|
56
|
+
direction: チャットの相手に向けた言葉(「お役に立てれば」「ご質問があれば」)を消してください。知識の期限を書いた文は、確かめた日付と出典に置き換えます。分からなければ[ ]で空けて書き手に聞きます。
|
|
57
|
+
pairs:
|
|
58
|
+
- before: お役に立てれば幸いです。ほかにご質問があればお知らせください。
|
|
59
|
+
after: (削除)
|
|
60
|
+
- before: 私の知識は 2023 年までのものですが、料金は三段階です。
|
|
61
|
+
after: [確かめた日付]に[出典]で確かめたところ、料金は三段階です。
|
|
62
|
+
- before: もちろんです!以下に手順をまとめました。
|
|
63
|
+
after: 手順をまとめます。
|
|
64
|
+
keep:
|
|
65
|
+
- 返事の言葉の後ろにある本文
|
|
66
|
+
avoid:
|
|
67
|
+
- 確かめた日付や出典を作る
|
|
68
|
+
- 返事の言葉を、別の丁寧な結び(「ご参考まで」)に替える
|
|
69
|
+
en:
|
|
70
|
+
direction: Delete words addressed to a chat partner ("I hope this helps", "Let me know if"). Replace a knowledge-cutoff line with the date checked and the source; if you do not know them, leave [ ] for the writer to fill.
|
|
71
|
+
pairs:
|
|
72
|
+
- before: I hope this helps! Let me know if you have any other questions.
|
|
73
|
+
after: (deleted)
|
|
74
|
+
- before: As of my last knowledge update, the API had three tiers.
|
|
75
|
+
after: As of [date checked], [source] lists three tiers.
|
|
76
|
+
- before: Certainly! Here is a summary of the steps.
|
|
77
|
+
after: The steps are below.
|
|
78
|
+
keep:
|
|
79
|
+
- the content behind the reply words
|
|
80
|
+
avoid:
|
|
81
|
+
- inventing the date checked or the source
|
|
82
|
+
- swapping the reply line for another polite close ("For your reference")
|
package/rules/bold-density.yaml
CHANGED
|
@@ -28,6 +28,7 @@ levels:
|
|
|
28
28
|
relaxed: 40
|
|
29
29
|
|
|
30
30
|
use_for: [blog, business, technical, legal, docs, academic, literature, speech]
|
|
31
|
+
sources: [zhang-2024]
|
|
31
32
|
|
|
32
33
|
group: readability
|
|
33
34
|
summary:
|
|
@@ -59,3 +60,30 @@ not_flagged:
|
|
|
59
60
|
level_meaning:
|
|
60
61
|
ja: 1000 字あたり太字 {limit} 箇所まで
|
|
61
62
|
en: up to {limit} bold spans per 1000 characters
|
|
63
|
+
rewrite:
|
|
64
|
+
ja:
|
|
65
|
+
direction: 太字をいったん全部外し、見落とすと困る所(期限、禁止、金額)を 1〜2 か所だけ太字に戻してください。
|
|
66
|
+
pairs:
|
|
67
|
+
- before: "**申請**は**金曜日**までに**必ず**行ってください。"
|
|
68
|
+
after: 申請は**金曜日まで**に行ってください。
|
|
69
|
+
- before: "この設定は**とても重要**で、**本番環境**にも**影響します**。"
|
|
70
|
+
after: この設定は本番環境にも影響します。
|
|
71
|
+
keep:
|
|
72
|
+
- 文の中身
|
|
73
|
+
- 見落とすと困る一か所の強調
|
|
74
|
+
avoid:
|
|
75
|
+
- 太字の代わりに「」や記号、絵文字で強める
|
|
76
|
+
- 太字を外したぶん、強める語を足す
|
|
77
|
+
en:
|
|
78
|
+
direction: Unbold everything, then bold again only the one or two spots a reader must not miss (a deadline, a prohibition, an amount).
|
|
79
|
+
pairs:
|
|
80
|
+
- before: "Submit the **form** by **Friday** without **fail**."
|
|
81
|
+
after: Submit the form by **Friday**.
|
|
82
|
+
- before: "This setting is **very important** and **affects production**."
|
|
83
|
+
after: This setting affects production.
|
|
84
|
+
keep:
|
|
85
|
+
- what the sentences say
|
|
86
|
+
- one emphasis on what must not be missed
|
|
87
|
+
avoid:
|
|
88
|
+
- emphasising with quotes, capitals or emoji instead
|
|
89
|
+
- adding intensifiers to make up for the removed bold
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
id: bold-label-list
|
|
2
|
+
layer: L1
|
|
3
|
+
status: experimental
|
|
4
|
+
how_to_find: bold-label-list
|
|
5
|
+
requires: [markdown]
|
|
6
|
+
# English human writing (handbooks, minutes, policies, changelogs) labels list items in bold as a matter of course: the
|
|
7
|
+
# committed English corpus already passes the limit in documents no model wrote. Japanese only until a limit separates them.
|
|
8
|
+
languages: [ja]
|
|
9
|
+
severity: info
|
|
10
|
+
|
|
11
|
+
name:
|
|
12
|
+
ja: 太字の札で始まる箇条書きが多い
|
|
13
|
+
en: Too many list items led by a bold label
|
|
14
|
+
|
|
15
|
+
why:
|
|
16
|
+
ja: 「- **速さ**:〜」のように、項目ごとに太字の札とコロンを置いて説明を続ける形です。札が並ぶと、どの項目も同じ重さの見出しに見え、項目どうしの繋がりは書かれません。生成文によく見られる形です。
|
|
17
|
+
en: 'An item that opens with a bold label and a colon ("- **Speed**: ..."), item after item. The labels make every item look like a heading of equal weight, and the links between the items go unwritten. A shape common in generated text.'
|
|
18
|
+
|
|
19
|
+
message:
|
|
20
|
+
ja: 「{label}」など、太字の札で始まる項目が {count} 個あります({limit} 個から)
|
|
21
|
+
en: '"{label}" and other bold labels open {count} list items ({limit} needed)'
|
|
22
|
+
|
|
23
|
+
how_to_fix:
|
|
24
|
+
ja: 札を外して、項目を文にしてください。大事な項目が 1 つ 2 つなら、それを段落で書き、残りは消すか 1 文にまとめます。用語集のように、本当に札と説明の組を並べるものはそのままでかまいません。
|
|
25
|
+
en: Drop the labels and write the items as sentences. If only one or two items matter, give them a paragraph and cut or merge the rest. A real glossary, where each label is the term being defined, can stay.
|
|
26
|
+
|
|
27
|
+
# 指摘に要る項目の数。長さで割らない:人の記事は長くても 1 つ 2 つで、生成文は短くても並べる。
|
|
28
|
+
levels: { strict: 3, normal: 5, relaxed: 8 }
|
|
29
|
+
|
|
30
|
+
use_for: [blog, business, legal, docs, academic, literature, speech]
|
|
31
|
+
sources: [zhang-2024]
|
|
32
|
+
|
|
33
|
+
group: ai-tells
|
|
34
|
+
summary:
|
|
35
|
+
ja: 「- **速さ**:〜」のように、太字の札とコロンで始まる項目が並び、説明が札の続きだけになっている所
|
|
36
|
+
en: 'List items that open with a bold label and a colon ("- **Speed**: ..."), one after another'
|
|
37
|
+
example:
|
|
38
|
+
ja:
|
|
39
|
+
config: { genre: blog/tech }
|
|
40
|
+
before: |
|
|
41
|
+
# 新しい在庫システム
|
|
42
|
+
|
|
43
|
+
- **速さ**:一覧が 1 秒で出ます。
|
|
44
|
+
- **正確さ**:数え間違いが減ります。
|
|
45
|
+
- **安さ**:月の費用が下がります。
|
|
46
|
+
- **使いやすさ**:画面が分かりやすくなりました。
|
|
47
|
+
- **安全**:権限を細かく分けられます。
|
|
48
|
+
after: |
|
|
49
|
+
# 新しい在庫システム
|
|
50
|
+
|
|
51
|
+
一覧は 1 秒で出るようになり、数え間違いも減りました。
|
|
52
|
+
月の費用は下がり、権限も細かく分けられます。
|
|
53
|
+
|
|
54
|
+
not_flagged:
|
|
55
|
+
ja: 札がコードだけの項目(`--flag` の説明のような、設定や引数の一覧)は数えません。札の後ろにコロンが無い項目と、コロンの後ろに何も無い項目も数えません。技術文書・法務・説明書・論文・文学のジャンルでは見ません。英語の文書は、人もよくこの形で書くので見ません。
|
|
56
|
+
en: An item whose label is only code (a list of options or fields) is not counted, nor is one without a colon after the label or without text after the colon. Technical, legal, documentation, academic and literary genres do not run this rule. Japanese documents only; English writers use this shape as a matter of course.
|
|
57
|
+
level_meaning:
|
|
58
|
+
ja: 太字の札で始まる項目が {limit} 個あれば指摘
|
|
59
|
+
en: reported once {limit} list items open with a bold label
|
|
60
|
+
rewrite:
|
|
61
|
+
ja:
|
|
62
|
+
direction: 太字の札を外し、項目を文に戻してください。札の語は文の中に入れ、項目どうしの関係(理由、順番、どちらが大事か)を書きます。用語集のように、札が定義される語そのものなら箇条書きのままにします。
|
|
63
|
+
pairs:
|
|
64
|
+
- before: |
|
|
65
|
+
- **速さ**:一覧が 1 秒で出ます。
|
|
66
|
+
- **正確さ**:数え間違いが減ります。
|
|
67
|
+
after: |
|
|
68
|
+
一覧は 1 秒で出るようになり、数え間違いも減りました。
|
|
69
|
+
- before: |
|
|
70
|
+
- **原因**:設定ファイルの読み込み順が変わった。
|
|
71
|
+
- **対策**:読み込み順を固定した。
|
|
72
|
+
after: |
|
|
73
|
+
設定ファイルの読み込み順が変わっていたので、順番を固定しました。
|
|
74
|
+
keep:
|
|
75
|
+
- 項目の中身と数字
|
|
76
|
+
- 手順の順番
|
|
77
|
+
- 用語集の語と定義の組
|
|
78
|
+
avoid:
|
|
79
|
+
- 札を消しただけで、同じ並びの短い箇条書きを残す
|
|
80
|
+
- 太字の札を、見出しのような一文に置き換える
|
|
81
|
+
- 項目の間に、書き手が書いていない因果を足す
|
|
@@ -57,8 +57,33 @@ example:
|
|
|
57
57
|
Changing one line of the settings made the build twice as fast. Next, we will try running the tests in parallel.
|
|
58
58
|
|
|
59
59
|
not_flagged:
|
|
60
|
-
ja:
|
|
61
|
-
en: Only the last section
|
|
60
|
+
ja: 最後の節の、終わりの四段落だけを見ます。見出しの無い文書でも同じです。文書の最初の段落と、それより前の本文の「まとめると」は普通のつなぎなので指しません。箇条書きの中も見ません。
|
|
61
|
+
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.
|
|
62
62
|
level_meaning:
|
|
63
63
|
ja: 当てはまる結びが {limit} 箇所あれば指摘
|
|
64
64
|
en: reported once there are {limit}
|
|
65
|
+
rewrite:
|
|
66
|
+
ja:
|
|
67
|
+
direction: 決まり文句の結びを消してください。本文の結論がすでに最後にあれば、そこで終えます。無ければ、本文で分かったことのうち持ち帰ってほしい一つを一文で書きます。
|
|
68
|
+
pairs:
|
|
69
|
+
- before: 設定は管理画面の一か所で変えられます。いかがでしたか?参考になれば幸いです。
|
|
70
|
+
after: 設定は管理画面の一か所で変えられます。
|
|
71
|
+
- before: 以上、キャッシュの消し方について解説しました。
|
|
72
|
+
after: キャッシュは、設定を変えるたびに消してください。(本文の結論がこれであるとき)
|
|
73
|
+
keep:
|
|
74
|
+
- 本文の結論
|
|
75
|
+
avoid:
|
|
76
|
+
- 本文に無い結論や呼びかけを足す
|
|
77
|
+
- 「いかがでしたか」を「ぜひ試してみてください」に替える
|
|
78
|
+
en:
|
|
79
|
+
direction: Delete the stock closing. If the piece already ends on its conclusion, stop there; if not, state in one sentence the one thing from the body the reader should take away.
|
|
80
|
+
pairs:
|
|
81
|
+
- before: The setting lives in one place on the admin page. Hope this helps!
|
|
82
|
+
after: The setting lives in one place on the admin page.
|
|
83
|
+
- before: In conclusion, we have explored how to clear the cache.
|
|
84
|
+
after: Clear the cache after every settings change. (when that is what the body found)
|
|
85
|
+
keep:
|
|
86
|
+
- the conclusion the body reached
|
|
87
|
+
avoid:
|
|
88
|
+
- adding a conclusion or a call to action that is not in the body
|
|
89
|
+
- swapping "Hope this helps" for "Give it a try"
|
package/rules/colon-lead-in.yaml
CHANGED
|
@@ -52,8 +52,32 @@ example:
|
|
|
52
52
|
- 地図
|
|
53
53
|
|
|
54
54
|
not_flagged:
|
|
55
|
-
ja: 1
|
|
56
|
-
en: A single colon lead-in, and a lead-in that does not end in a colon, are not counted. Documentation, legal and technical genres do not run this rule. Short documents are not measured. Japanese documents only.
|
|
55
|
+
ja: 1 つだけのコロンの前置きと、コロンで終わらない前置き(「次のとおりとする。」)は数えません。説明書・法務・技術文書のジャンルでは見ません。短い文書は測りません。英語の文書は、人もよくこの形で書くので見ません。日本語の文書の中の英文(Examples include:)も数えません。
|
|
56
|
+
en: A single colon lead-in, and a lead-in that does not end in a colon, are not counted. Documentation, legal and technical genres do not run this rule. Short documents are not measured. Japanese documents only, and in them only Japanese sentences; an English sentence inside (Examples include:) is not counted.
|
|
57
57
|
level_meaning:
|
|
58
|
-
ja: 1000 字あたり {limit} 個まで
|
|
59
|
-
en: up to {limit} per 1000 characters
|
|
58
|
+
ja: コロンで箇条書きへ渡す文が 1000 字あたり {limit} 個まで
|
|
59
|
+
en: "colon lead-ins to lists: up to {limit} per 1000 characters"
|
|
60
|
+
rewrite:
|
|
61
|
+
ja:
|
|
62
|
+
direction: コロンで箇条書きへ渡す所のうち、項目が二つか三つで互いに繋がっているものを文に戻してください。手順や部品の一覧は箇条書きのままにします。
|
|
63
|
+
pairs:
|
|
64
|
+
- before: |
|
|
65
|
+
保存期間は以下の通りです:
|
|
66
|
+
|
|
67
|
+
- 30 日間
|
|
68
|
+
- 期限を過ぎると消える
|
|
69
|
+
after: |
|
|
70
|
+
保存期間は 30 日間で、期限を過ぎると消えます。
|
|
71
|
+
- before: |
|
|
72
|
+
利点は次のとおりです:
|
|
73
|
+
|
|
74
|
+
- 速い
|
|
75
|
+
- 安い
|
|
76
|
+
after: |
|
|
77
|
+
速くて安いのが利点です。
|
|
78
|
+
keep:
|
|
79
|
+
- 項目の中身と数
|
|
80
|
+
- 手順の順番
|
|
81
|
+
avoid:
|
|
82
|
+
- 長い箇条書きを一つの長い文に詰める
|
|
83
|
+
- 項目の間に、書き手が書いていない因果を足す
|
|
@@ -53,5 +53,36 @@ not_flagged:
|
|
|
53
53
|
ja: 一つだけの対比、打ち消しを返していない「単なる」(「単なる設定ミスです」)、「A ではなく B です」だけの文、続けて並べた打ち消し(「まだです。まだ試していません。」)は指しません。短い文書は測りません。
|
|
54
54
|
en: A single contrast, a denial nobody answers, and two denials in a row ("It's not ready. It's not tested.") are not reported. Short documents are not measured.
|
|
55
55
|
level_meaning:
|
|
56
|
-
ja: 1000
|
|
57
|
-
en: up to {limit} per 1000 words
|
|
56
|
+
ja: 1000 字あたり対比の枠 {limit} 個まで
|
|
57
|
+
en: up to {limit} contrast frames per 1000 words
|
|
58
|
+
rewrite:
|
|
59
|
+
ja:
|
|
60
|
+
direction: 打ち消している側(X)を消し、言いたい側(Y)を普通の文で書いてください。X が誰かの実際の誤解なら、その誤解を書いたうえで一度だけ打ち消してください。
|
|
61
|
+
pairs:
|
|
62
|
+
- before: この仕組みは単なる道具ではなく、チームの文化です。
|
|
63
|
+
after: この仕組みは、チームの文化になっています。
|
|
64
|
+
- before: 問題はツールではなく、運用です。
|
|
65
|
+
after: 問題は運用にあります。
|
|
66
|
+
- before: 速さだけでなく、安心も届けます。
|
|
67
|
+
after: 速く、安心して使えます。
|
|
68
|
+
keep:
|
|
69
|
+
- 言いたい側(Y)の中身
|
|
70
|
+
- 誰かが実際に言った X への反論
|
|
71
|
+
avoid:
|
|
72
|
+
- 「ではなく」を「というより」「むしろ」に替えて、同じ枠を残す
|
|
73
|
+
- 消した X の代わりに、書き手が言っていない主張を足す
|
|
74
|
+
en:
|
|
75
|
+
direction: Delete the side you knock down (X) and state the side you mean (Y) as a plain sentence. If X is a real belief someone holds, name it and answer it once.
|
|
76
|
+
pairs:
|
|
77
|
+
- before: This tool is not just software, but a culture.
|
|
78
|
+
after: This tool has become part of how the team works.
|
|
79
|
+
- before: The problem isn't the tool, it's the process.
|
|
80
|
+
after: The problem is the process.
|
|
81
|
+
- before: We don't just ship fast; we ship safely.
|
|
82
|
+
after: We ship fast and safely.
|
|
83
|
+
keep:
|
|
84
|
+
- what Y says
|
|
85
|
+
- an answer to an X someone actually said
|
|
86
|
+
avoid:
|
|
87
|
+
- swapping "not X but Y" for "less X than Y" or "rather than X", which keeps the frame
|
|
88
|
+
- adding a claim the writer did not make in place of the deleted X
|
|
@@ -15,7 +15,7 @@ why:
|
|
|
15
15
|
en: One softener is courtesy. Several push the point further away, and the reader has to hunt for it.
|
|
16
16
|
|
|
17
17
|
message:
|
|
18
|
-
ja: 「{matched}」など、クッション言葉が 1000
|
|
18
|
+
ja: 「{matched}」など、クッション言葉が 1000 字あたり {density} 個あります({limit} 個まで)
|
|
19
19
|
en: '"{matched}" and other softeners: {density} per 1000 words (limit {limit})'
|
|
20
20
|
|
|
21
21
|
how_to_fix:
|
|
@@ -45,8 +45,35 @@ example:
|
|
|
45
45
|
Could you check the quote by Friday? The total on page two changed.
|
|
46
46
|
|
|
47
47
|
not_flagged:
|
|
48
|
-
ja:
|
|
49
|
-
en: One softener is courtesy and is not reported.
|
|
48
|
+
ja: クッション言葉が一つだけなら礼儀なので指しません。短い文書(メールなど)は短い手紙ほどの長さの文書として測り、既定の水準では三つ目から指します。一つだけならどの水準でも指しません。
|
|
49
|
+
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.
|
|
50
50
|
level_meaning:
|
|
51
|
-
ja: 1000
|
|
52
|
-
en: up to {limit} per 1000 words
|
|
51
|
+
ja: 1000 字あたりクッション言葉 {limit} 個まで
|
|
52
|
+
en: up to {limit} softeners per 1000 words
|
|
53
|
+
rewrite:
|
|
54
|
+
ja:
|
|
55
|
+
direction: クッション言葉は最初の一つだけ残し、あとは用件(何を、いつまでに)から書いてください。敬語の丁寧さは変えません。
|
|
56
|
+
pairs:
|
|
57
|
+
- before: 恐れ入りますが、念のため、お手数ですが、資料をご確認いただけますでしょうか。
|
|
58
|
+
after: 恐れ入りますが、資料をご確認いただけますか。
|
|
59
|
+
- before: 大変申し訳ないのですが、もし可能であれば、金曜までにご返信いただけると幸いです。
|
|
60
|
+
after: 申し訳ありませんが、金曜までにご返信いただけますか。
|
|
61
|
+
keep:
|
|
62
|
+
- 敬語の丁寧さと、相手との距離
|
|
63
|
+
- 依頼の中身、期限、宛先
|
|
64
|
+
avoid:
|
|
65
|
+
- クッション言葉を全部消して命令の口調にする
|
|
66
|
+
- 期限や条件を落とす
|
|
67
|
+
en:
|
|
68
|
+
direction: Keep the first softener and lead with the request (what, by when) after that. Keep the level of politeness.
|
|
69
|
+
pairs:
|
|
70
|
+
- before: Sorry to bother you, but I just wanted to check whether you might possibly be able to review the draft.
|
|
71
|
+
after: Sorry to bother you. Could you review the draft?
|
|
72
|
+
- before: Just a quick note to gently remind you, if you don't mind, that the report is due Friday.
|
|
73
|
+
after: A reminder that the report is due Friday.
|
|
74
|
+
keep:
|
|
75
|
+
- the level of politeness
|
|
76
|
+
- the request, its deadline and who it is for
|
|
77
|
+
avoid:
|
|
78
|
+
- deleting every softener until the request reads as an order
|
|
79
|
+
- dropping a deadline or a condition
|
package/rules/date-order.yaml
CHANGED
|
@@ -11,7 +11,7 @@ name:
|
|
|
11
11
|
|
|
12
12
|
why:
|
|
13
13
|
ja: 「2026年4月1日〜2026年3月31日」のように、期間の終わりの日付が始まりより前だと、読み手はどちらの日付が正しいのかを問い合わせることになります。年を書き写し間違えたときや、日付を片方だけ直したときに起きます。二つの日付の間が範囲の記号(〜、–)だけのときと、「から」でつなぎ終わりの日付のあとに「まで」が続くときを期間として比べます。年の無い期間(12月28日〜1月4日)は年をまたぐかもしれないので比べません。
|
|
14
|
-
en: 'When a period such as "5 April 2026 – 2 April 2026" ends before it starts, the reader has to ask which date is right. It happens when a year is copied wrong, or when only one of the two dates is changed. Two dates are read as a period when only a range mark (–, —) or a word such as "through" or "until" stands between them. A period without a year ("28 December – 4 January") may run into the next year and is not compared.'
|
|
14
|
+
en: 'When a period such as "5 April 2026 – 2 April 2026" ends before it starts, the reader has to ask which date is right. It happens when a year is copied wrong, or when only one of the two dates is changed. Two dates are read as a period when only a range mark (–, —) or a word such as "through" or "until" stands between them, or when they are written "from … to …". A period without a year ("28 December – 4 January") may run into the next year and is not compared.'
|
|
15
15
|
|
|
16
16
|
message:
|
|
17
17
|
ja: 期間「{period}」の終わりが始まりより前です
|
|
@@ -43,4 +43,4 @@ example:
|
|
|
43
43
|
|
|
44
44
|
not_flagged:
|
|
45
45
|
ja: 年の無い期間(12月28日〜1月4日)、「から」だけで「まで」の無いもの(10日から3日に変更)、日付の間に言葉のあるものは比べません。
|
|
46
|
-
en: 'A period without a year, "from … to …"
|
|
46
|
+
en: 'A period without a year, "from … to …" in a sentence with a word that changes a date ("moved from March 10 to March 3", "… was postponed"), and two dates with words between them are not compared.'
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
id: double-negative
|
|
2
|
+
layer: L2
|
|
3
|
+
status: experimental
|
|
4
|
+
how_to_find: phrase-match
|
|
5
|
+
word_list: double-negative
|
|
6
|
+
uses: [pos]
|
|
7
|
+
severity: info
|
|
8
|
+
|
|
9
|
+
name:
|
|
10
|
+
ja: 二重否定
|
|
11
|
+
en: Double negative
|
|
12
|
+
|
|
13
|
+
why:
|
|
14
|
+
ja: 「行かないわけではない」「知らなくはない」のように打ち消しを打ち消すと、読み手は文を二度ひっくり返して読み、書き手がどちらを言いたいのかも弱まります。言い切れるなら肯定で書けます。言い切れないなら、どの程度なのかを書くほうが伝わります。「ざるを得ない」「なければならない」のような決まった言い方は数えません。言い回しの一覧は言語ごとの語彙表にあります。
|
|
15
|
+
en: Negating a negative ("not uncommon", "not unlike") makes the reader turn the sentence over twice, and blurs which way the writer leans. If the claim holds, say it positively; if it only partly holds, say how far. "not without" is not counted, since "do not enter without a badge" is a plain prohibition. The phrases are listed in each language's lexicon.
|
|
16
|
+
|
|
17
|
+
message:
|
|
18
|
+
ja: 「{matched}」は二重否定です
|
|
19
|
+
en: '"{matched}" is a double negative'
|
|
20
|
+
|
|
21
|
+
how_to_fix:
|
|
22
|
+
ja: 肯定で言い切るか(「行くこともある」)、どの程度なのかを書いてください(「月に一度は行く」)。
|
|
23
|
+
en: Say it positively ("common", "similar to"), or say how far it holds ("in about a third of cases").
|
|
24
|
+
|
|
25
|
+
# 何回あれば指摘するか。1 は一つ目から。
|
|
26
|
+
levels: { strict: 1, normal: 1, relaxed: 2 }
|
|
27
|
+
|
|
28
|
+
use_for: [business, technical, blog, legal, docs, academic, literature, speech]
|
|
29
|
+
|
|
30
|
+
group: readability
|
|
31
|
+
summary:
|
|
32
|
+
ja: 「〜ないわけではない」「〜しないことはない」のように、打ち消しを打ち消した言い方
|
|
33
|
+
en: A negative negated, such as "not uncommon" or "not unlike"
|
|
34
|
+
example:
|
|
35
|
+
ja:
|
|
36
|
+
before: |
|
|
37
|
+
その案に賛成しないわけではありません。
|
|
38
|
+
after: |
|
|
39
|
+
その案には、費用の点を除けば賛成です。
|
|
40
|
+
en:
|
|
41
|
+
before: |
|
|
42
|
+
Delays are not uncommon in the second quarter.
|
|
43
|
+
after: |
|
|
44
|
+
Delays are common in the second quarter.
|
|
45
|
+
|
|
46
|
+
not_flagged:
|
|
47
|
+
ja: 「ざるを得ない」「なければならない」のような決まった言い方は指しません。法令・文学・話し言葉のジャンルでは既定で止めています(言い切らない言い方がその文書の書き方のため)。
|
|
48
|
+
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.
|
|
49
|
+
level_meaning:
|
|
50
|
+
ja: 二重否定を含む文が {limit} 文あれば指摘
|
|
51
|
+
en: reported once {limit} sentences hold one
|
|
@@ -41,5 +41,5 @@ example:
|
|
|
41
41
|
We will send the file today, as agreed.
|
|
42
42
|
|
|
43
43
|
not_flagged:
|
|
44
|
-
ja:
|
|
45
|
-
en: Three or more of one mark ("...", "。。。"), the mark after an abbreviation ("e.g.,", "etc.;"), ranges and paths ("1..10", "../"), "!!", "??" and colons are not reported.
|
|
44
|
+
ja: 「...」「。。。」のように三つ以上並べたものと、そのすぐ後ろの一つの印(「...。」「、、、。」)、「e.g.,」「etc.;」のような略語の後ろ、「1..10」「../」のような範囲と道のり、「!!」「??」とコロンは指しません。
|
|
45
|
+
en: Three or more of one mark ("...", "。。。") and one mark right after them ("...。", "、、、。"), the mark after an abbreviation ("e.g.,", "etc.;"), ranges and paths ("1..10", "../"), "!!", "??" and colons are not reported.
|
package/rules/doubled-word.yaml
CHANGED
|
@@ -11,7 +11,7 @@ name:
|
|
|
11
11
|
en: Word written twice
|
|
12
12
|
|
|
13
13
|
why:
|
|
14
|
-
ja:
|
|
14
|
+
ja: 「資料をを送ります」「確認確認します」のように同じ語が続くのは、消し忘れか、書き換えの途中で残った語です。読み手はつまずき、急いで書いた文書に見えます。重ねて「それぞれの」を言う名詞(人・単位・時・場所。「個人個人」「一行一行」「毎年毎年」)、名詞や形容詞を重ねて強める形(「駄目駄目」「若い若い」)、擬音・擬態語(「ムクムク」「もちもち」)、笑い声(「ははは」)、決まった言い回し(「などなど」「あるある」)は、重ねるのが正しい書き方なので数えていません。
|
|
15
15
|
en: The same word twice in a row ("the the"), or two words where English takes one ("our the platform"), is left over from an edit. The reader stumbles, and the document looks rushed. Repeats that grammar allows ("had had", "that that", "is, is") and repeats for emphasis ("very very") are not counted.
|
|
16
16
|
|
|
17
17
|
message:
|
|
@@ -39,5 +39,5 @@ example:
|
|
|
39
39
|
after: We will send the file tomorrow.
|
|
40
40
|
|
|
41
41
|
not_flagged:
|
|
42
|
-
ja:
|
|
42
|
+
ja: 品詞の違う同じ語、重ねて「それぞれの」を言う名詞(「個人個人」「一行一行」「毎年毎年」)、名詞や形容詞を重ねて強める形(「駄目駄目」「えらいえらい」)、仮名の擬音・擬態語(「ムクムク」「もちもち」)、同じ一字の仮名が三つ以上続く笑い声(「ははは」)、決まった言い回し(「などなど」「あるある」)、重ねて強める書き方(「そうそう」「very very」)は指しません。ほかの漢語の名詞の重なり(「確認確認」「資料資料」)、外来語の重なり(「ユーザーユーザー」)、三つ続く重なり(「早め早め早め」)は指します。英語で文法が許す重なり(had had、that that)も指しません。
|
|
43
43
|
en: Repeats that grammar allows ("had had", "that that"), repeats for emphasis ("very very"), and the same word in two different parts of speech are not reported.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
id: duplicate-heading
|
|
2
|
+
layer: L1
|
|
3
|
+
status: experimental
|
|
4
|
+
how_to_find: duplicate-heading
|
|
5
|
+
requires: [markdown]
|
|
6
|
+
severity: warning
|
|
7
|
+
|
|
8
|
+
name:
|
|
9
|
+
ja: 同じ見出しが兄弟に二つある
|
|
10
|
+
en: Duplicate sibling heading
|
|
11
|
+
|
|
12
|
+
why:
|
|
13
|
+
ja: 同じ親の見出しの下に、同じ言葉の見出しが二つあると、目次では区別できず、ページ内リンクはどちらか一方にしか行けません。節を写して見出しを直し忘れたか、同じ話を二か所に書いたときに起きます。親が違えば同じ言葉でもかまいません(変更履歴の版ごとの「追加」「修正」、各章の「まとめ」)。全角と半角、大文字と小文字、空白の数は同じ見出しとして比べます。
|
|
14
|
+
en: Two headings with the same words under the same parent cannot be told apart in a table of contents, and an in-page link reaches only one of them. It happens when a section is copied and its heading is not changed, or when the same topic is written in two places. Under different parents the same words are fine (a changelog's "Added" and "Fixed" under each version, a "Summary" in each chapter). Case, full-width and half-width forms, and the number of spaces are ignored when comparing.
|
|
15
|
+
|
|
16
|
+
message:
|
|
17
|
+
ja: 見出し「{heading}」は、同じ親の下の {firstLine} 行目の見出しと同じです
|
|
18
|
+
en: 'The heading "{heading}" repeats the one on line {firstLine} under the same parent'
|
|
19
|
+
|
|
20
|
+
how_to_fix:
|
|
21
|
+
ja: 二つの節を一つにまとめるか、違いが分かる見出しに直してください。
|
|
22
|
+
en: Merge the two sections, or give each a heading that says how they differ.
|
|
23
|
+
|
|
24
|
+
levels: { strict: error, normal: warning, relaxed: info }
|
|
25
|
+
|
|
26
|
+
use_for: [business, technical, blog, legal, docs, academic, literature, speech]
|
|
27
|
+
|
|
28
|
+
group: structure
|
|
29
|
+
summary:
|
|
30
|
+
ja: 同じ親の見出しの下に、同じ言葉の見出しが二つある所
|
|
31
|
+
en: Two headings with the same words under the same parent heading
|
|
32
|
+
example:
|
|
33
|
+
ja:
|
|
34
|
+
before: |
|
|
35
|
+
# 手順書
|
|
36
|
+
|
|
37
|
+
## 準備
|
|
38
|
+
|
|
39
|
+
道具をそろえます。
|
|
40
|
+
|
|
41
|
+
## 準備
|
|
42
|
+
|
|
43
|
+
手袋をはめます。
|
|
44
|
+
after: |
|
|
45
|
+
# 手順書
|
|
46
|
+
|
|
47
|
+
## 準備
|
|
48
|
+
|
|
49
|
+
道具をそろえます。
|
|
50
|
+
|
|
51
|
+
## 安全の確認
|
|
52
|
+
|
|
53
|
+
手袋をはめます。
|
|
54
|
+
en:
|
|
55
|
+
before: |
|
|
56
|
+
# Setup guide
|
|
57
|
+
|
|
58
|
+
## Before you start
|
|
59
|
+
|
|
60
|
+
Gather the tools.
|
|
61
|
+
|
|
62
|
+
## Before you start
|
|
63
|
+
|
|
64
|
+
Wear gloves.
|
|
65
|
+
after: |
|
|
66
|
+
# Setup guide
|
|
67
|
+
|
|
68
|
+
## Before you start
|
|
69
|
+
|
|
70
|
+
Gather the tools.
|
|
71
|
+
|
|
72
|
+
## Safety
|
|
73
|
+
|
|
74
|
+
Wear gloves.
|
|
75
|
+
|
|
76
|
+
not_flagged:
|
|
77
|
+
ja: 親が違う見出しどうし(版ごとの「追加」「修正」、章ごとの「まとめ」)は比べません。Markdown の文書でだけ動きます。
|
|
78
|
+
en: Headings under different parents (each version's "Added" and "Fixed", each chapter's "Summary") are not compared. It runs on Markdown only.
|
package/rules/emoji-density.yaml
CHANGED
|
@@ -13,17 +13,18 @@ why:
|
|
|
13
13
|
en: One emoji marks a spot. Many turn the text into decoration, and a screen reader has to say all of them.
|
|
14
14
|
|
|
15
15
|
message:
|
|
16
|
-
ja: 1000
|
|
16
|
+
ja: 1000 字あたり {density} 個の絵文字があります({limit} 個まで)
|
|
17
17
|
en: "{density} emoji per 1000 words (limit {limit})"
|
|
18
18
|
|
|
19
19
|
how_to_fix:
|
|
20
20
|
ja: 見出しや強調で代えられるものは代えてください。
|
|
21
21
|
en: Where a heading or emphasis would do the same job, use that instead.
|
|
22
22
|
|
|
23
|
-
# 1000
|
|
23
|
+
# 1000 語(日本語は 1000 字)あたりの個数。件数で数えると長い文書ほど当たる。
|
|
24
24
|
levels: { strict: 3, normal: 8, relaxed: 20 }
|
|
25
25
|
|
|
26
26
|
use_for: [blog, business, technical, legal, docs, academic, literature, speech]
|
|
27
|
+
sources: [zhang-2024]
|
|
27
28
|
|
|
28
29
|
group: readability
|
|
29
30
|
summary:
|
|
@@ -47,5 +48,5 @@ not_flagged:
|
|
|
47
48
|
ja: 短い文書(日本語 500 字、英語 200 語より短いもの)は測りません。
|
|
48
49
|
en: Documents under 200 words are not measured.
|
|
49
50
|
level_meaning:
|
|
50
|
-
ja: 1000
|
|
51
|
-
en: up to {limit} per 1000 words
|
|
51
|
+
ja: 1000 字あたり絵文字 {limit} 個まで
|
|
52
|
+
en: up to {limit} emoji per 1000 words
|