chaffjs 0.17.0 → 0.18.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 +26 -0
- package/dist/announced-count.d.ts.map +1 -0
- package/dist/announced-count.js +104 -0
- package/dist/announced-count.js.map +1 -0
- package/dist/bare-url.d.ts +14 -0
- package/dist/bare-url.d.ts.map +1 -0
- package/dist/bare-url.js +28 -0
- package/dist/bare-url.js.map +1 -0
- package/dist/baseline.d.ts +5 -0
- package/dist/baseline.d.ts.map +1 -1
- package/dist/baseline.js +16 -1
- package/dist/baseline.js.map +1 -1
- package/dist/body-section.d.ts +7 -0
- package/dist/body-section.d.ts.map +1 -0
- package/dist/body-section.js +6 -0
- package/dist/body-section.js.map +1 -0
- package/dist/calendar-number.d.ts +2 -0
- package/dist/calendar-number.d.ts.map +1 -1
- package/dist/calendar-number.js +9 -2
- package/dist/calendar-number.js.map +1 -1
- package/dist/cli-args.d.ts +4 -0
- package/dist/cli-args.d.ts.map +1 -1
- package/dist/cli-args.js +5 -0
- package/dist/cli-args.js.map +1 -1
- package/dist/cli-text.d.ts.map +1 -1
- package/dist/cli-text.js +8 -4
- package/dist/cli-text.js.map +1 -1
- package/dist/cli.js +33 -30
- package/dist/cli.js.map +1 -1
- package/dist/commands/compare.d.ts +8 -0
- package/dist/commands/compare.d.ts.map +1 -0
- package/dist/commands/compare.js +72 -0
- package/dist/commands/compare.js.map +1 -0
- package/dist/commands/eval.d.ts.map +1 -1
- package/dist/commands/eval.js +17 -9
- package/dist/commands/eval.js.map +1 -1
- package/dist/commands/feedback.d.ts +5 -2
- package/dist/commands/feedback.d.ts.map +1 -1
- package/dist/commands/feedback.js +11 -5
- package/dist/commands/feedback.js.map +1 -1
- package/dist/commands/test.d.ts.map +1 -1
- package/dist/commands/test.js +2 -4
- package/dist/commands/test.js.map +1 -1
- package/dist/commands/tree.d.ts +13 -0
- package/dist/commands/tree.d.ts.map +1 -1
- package/dist/commands/tree.js +35 -5
- package/dist/commands/tree.js.map +1 -1
- package/dist/compare/atom.d.ts +31 -0
- package/dist/compare/atom.d.ts.map +1 -0
- package/dist/compare/atom.js +4 -0
- package/dist/compare/atom.js.map +1 -0
- package/dist/compare/clock-time.d.ts +8 -0
- package/dist/compare/clock-time.d.ts.map +1 -0
- package/dist/compare/clock-time.js +65 -0
- package/dist/compare/clock-time.js.map +1 -0
- package/dist/compare/extract.d.ts +15 -0
- package/dist/compare/extract.d.ts.map +1 -0
- package/dist/compare/extract.js +58 -0
- package/dist/compare/extract.js.map +1 -0
- package/dist/compare/fact-text.d.ts +23 -0
- package/dist/compare/fact-text.d.ts.map +1 -0
- package/dist/compare/fact-text.js +47 -0
- package/dist/compare/fact-text.js.map +1 -0
- package/dist/compare/markup-atoms.d.ts +11 -0
- package/dist/compare/markup-atoms.d.ts.map +1 -0
- package/dist/compare/markup-atoms.js +23 -0
- package/dist/compare/markup-atoms.js.map +1 -0
- package/dist/compare/match.d.ts +19 -0
- package/dist/compare/match.d.ts.map +1 -0
- package/dist/compare/match.js +84 -0
- package/dist/compare/match.js.map +1 -0
- package/dist/compare/outcome.d.ts +33 -0
- package/dist/compare/outcome.d.ts.map +1 -0
- package/dist/compare/outcome.js +40 -0
- package/dist/compare/outcome.js.map +1 -0
- package/dist/compare/proper-nouns.d.ts +19 -0
- package/dist/compare/proper-nouns.d.ts.map +1 -0
- package/dist/compare/proper-nouns.js +44 -0
- package/dist/compare/proper-nouns.js.map +1 -0
- package/dist/compare/render.d.ts +9 -0
- package/dist/compare/render.d.ts.map +1 -0
- package/dist/compare/render.js +64 -0
- package/dist/compare/render.js.map +1 -0
- package/dist/compare/spans.d.ts +9 -0
- package/dist/compare/spans.d.ts.map +1 -0
- package/dist/compare/spans.js +11 -0
- package/dist/compare/spans.js.map +1 -0
- package/dist/compare/text-atoms.d.ts +24 -0
- package/dist/compare/text-atoms.d.ts.map +1 -0
- package/dist/compare/text-atoms.js +67 -0
- package/dist/compare/text-atoms.js.map +1 -0
- package/dist/compare/text.d.ts +24 -0
- package/dist/compare/text.d.ts.map +1 -0
- package/dist/compare/text.js +90 -0
- package/dist/compare/text.js.map +1 -0
- package/dist/compare/tree-atoms.d.ts +20 -0
- package/dist/compare/tree-atoms.d.ts.map +1 -0
- package/dist/compare/tree-atoms.js +58 -0
- package/dist/compare/tree-atoms.js.map +1 -0
- package/dist/compare/written-names.d.ts +8 -0
- package/dist/compare/written-names.d.ts.map +1 -0
- package/dist/compare/written-names.js +24 -0
- package/dist/compare/written-names.js.map +1 -0
- package/dist/config/load.d.ts +15 -0
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/load.js +5 -0
- package/dist/config/load.js.map +1 -1
- package/dist/config/option-problems.d.ts +16 -0
- package/dist/config/option-problems.d.ts.map +1 -0
- package/dist/config/option-problems.js +58 -0
- package/dist/config/option-problems.js.map +1 -0
- package/dist/config/read.d.ts +4 -0
- package/dist/config/read.d.ts.map +1 -0
- package/dist/config/read.js +8 -0
- package/dist/config/read.js.map +1 -0
- package/dist/config/rule-problems.d.ts +2 -4
- package/dist/config/rule-problems.d.ts.map +1 -1
- package/dist/config/rule-problems.js +7 -1
- package/dist/config/rule-problems.js.map +1 -1
- package/dist/config/style.d.ts +16 -0
- package/dist/config/style.d.ts.map +1 -0
- package/dist/config/style.js +36 -0
- package/dist/config/style.js.map +1 -0
- package/dist/config/warnings.d.ts +6 -0
- package/dist/config/warnings.d.ts.map +1 -0
- package/dist/config/warnings.js +10 -0
- package/dist/config/warnings.js.map +1 -0
- package/dist/config/write.d.ts.map +1 -1
- package/dist/config/write.js +17 -4
- package/dist/config/write.js.map +1 -1
- package/dist/custom/bounded-match.d.ts +15 -0
- package/dist/custom/bounded-match.d.ts.map +1 -0
- package/dist/custom/bounded-match.js +43 -0
- package/dist/custom/bounded-match.js.map +1 -0
- package/dist/custom/load.d.ts +8 -0
- package/dist/custom/load.d.ts.map +1 -0
- package/dist/custom/load.js +11 -0
- package/dist/custom/load.js.map +1 -0
- package/dist/custom/parse.d.ts +70 -0
- package/dist/custom/parse.d.ts.map +1 -0
- package/dist/custom/parse.js +215 -0
- package/dist/custom/parse.js.map +1 -0
- package/dist/custom/problems.d.ts +5 -0
- package/dist/custom/problems.d.ts.map +1 -0
- package/dist/custom/problems.js +78 -0
- package/dist/custom/problems.js.map +1 -0
- package/dist/custom/regex-safety.d.ts +11 -0
- package/dist/custom/regex-safety.d.ts.map +1 -0
- package/dist/custom/regex-safety.js +110 -0
- package/dist/custom/regex-safety.js.map +1 -0
- package/dist/custom/token-pattern.d.ts +8 -0
- package/dist/custom/token-pattern.d.ts.map +1 -0
- package/dist/custom/token-pattern.js +75 -0
- package/dist/custom/token-pattern.js.map +1 -0
- package/dist/detect.d.ts.map +1 -1
- package/dist/detect.js +24 -2
- package/dist/detect.js.map +1 -1
- package/dist/detectors/acronym-context.d.ts +2 -0
- package/dist/detectors/acronym-context.d.ts.map +1 -1
- package/dist/detectors/acronym-context.js +12 -4
- package/dist/detectors/acronym-context.js.map +1 -1
- package/dist/detectors/ai-phrasing.d.ts +20 -0
- package/dist/detectors/ai-phrasing.d.ts.map +1 -0
- package/dist/detectors/ai-phrasing.js +112 -0
- package/dist/detectors/ai-phrasing.js.map +1 -0
- package/dist/detectors/announced-count.d.ts +4 -0
- package/dist/detectors/announced-count.d.ts.map +1 -0
- package/dist/detectors/announced-count.js +20 -0
- package/dist/detectors/announced-count.js.map +1 -0
- package/dist/detectors/broken-link.d.ts +17 -0
- package/dist/detectors/broken-link.d.ts.map +1 -0
- package/dist/detectors/broken-link.js +66 -0
- package/dist/detectors/broken-link.js.map +1 -0
- package/dist/detectors/cited-name.d.ts.map +1 -1
- package/dist/detectors/cited-name.js +4 -4
- package/dist/detectors/cited-name.js.map +1 -1
- package/dist/detectors/cited-title.d.ts +11 -0
- package/dist/detectors/cited-title.d.ts.map +1 -0
- package/dist/detectors/cited-title.js +75 -0
- package/dist/detectors/cited-title.js.map +1 -0
- package/dist/detectors/concrete-evidence.d.ts +1 -1
- package/dist/detectors/concrete-evidence.d.ts.map +1 -1
- package/dist/detectors/concrete-evidence.js +2 -1
- package/dist/detectors/concrete-evidence.js.map +1 -1
- package/dist/detectors/contrast-frame.d.ts +17 -0
- package/dist/detectors/contrast-frame.d.ts.map +1 -0
- package/dist/detectors/contrast-frame.js +32 -0
- package/dist/detectors/contrast-frame.js.map +1 -0
- package/dist/detectors/custom.d.ts +8 -0
- package/dist/detectors/custom.d.ts.map +1 -0
- package/dist/detectors/custom.js +71 -0
- package/dist/detectors/custom.js.map +1 -0
- package/dist/detectors/dangling-figure.d.ts +4 -0
- package/dist/detectors/dangling-figure.d.ts.map +1 -0
- package/dist/detectors/dangling-figure.js +18 -0
- package/dist/detectors/dangling-figure.js.map +1 -0
- package/dist/detectors/doubled-punctuation.d.ts +9 -0
- package/dist/detectors/doubled-punctuation.d.ts.map +1 -0
- package/dist/detectors/doubled-punctuation.js +33 -0
- package/dist/detectors/doubled-punctuation.js.map +1 -0
- package/dist/detectors/doubled-word.d.ts +5 -0
- package/dist/detectors/doubled-word.d.ts.map +1 -1
- package/dist/detectors/doubled-word.js +24 -11
- package/dist/detectors/doubled-word.js.map +1 -1
- package/dist/detectors/enumerated-runs.d.ts +1 -1
- package/dist/detectors/enumerated-runs.d.ts.map +1 -1
- package/dist/detectors/enumerated-runs.js +15 -4
- package/dist/detectors/enumerated-runs.js.map +1 -1
- package/dist/detectors/gram-furniture.d.ts +6 -0
- package/dist/detectors/gram-furniture.d.ts.map +1 -0
- package/dist/detectors/gram-furniture.js +21 -0
- package/dist/detectors/gram-furniture.js.map +1 -0
- package/dist/detectors/gram-place.d.ts +2 -0
- package/dist/detectors/gram-place.d.ts.map +1 -1
- package/dist/detectors/gram-place.js +9 -7
- package/dist/detectors/gram-place.js.map +1 -1
- package/dist/detectors/gram-windows.d.ts +9 -0
- package/dist/detectors/gram-windows.d.ts.map +1 -0
- package/dist/detectors/gram-windows.js +27 -0
- package/dist/detectors/gram-windows.js.map +1 -0
- package/dist/detectors/heading-case.d.ts +2 -0
- package/dist/detectors/heading-case.d.ts.map +1 -1
- package/dist/detectors/heading-case.js +29 -2
- package/dist/detectors/heading-case.js.map +1 -1
- package/dist/detectors/heading-code-words.d.ts +6 -0
- package/dist/detectors/heading-code-words.d.ts.map +1 -0
- package/dist/detectors/heading-code-words.js +29 -0
- package/dist/detectors/heading-code-words.js.map +1 -0
- package/dist/detectors/heading-echo.d.ts.map +1 -1
- package/dist/detectors/heading-echo.js +7 -4
- package/dist/detectors/heading-echo.js.map +1 -1
- package/dist/detectors/heading-level-skip.d.ts +12 -0
- package/dist/detectors/heading-level-skip.d.ts.map +1 -0
- package/dist/detectors/heading-level-skip.js +11 -0
- package/dist/detectors/heading-level-skip.js.map +1 -0
- package/dist/detectors/image-alt-text.d.ts +3 -0
- package/dist/detectors/image-alt-text.d.ts.map +1 -0
- package/dist/detectors/image-alt-text.js +9 -0
- package/dist/detectors/image-alt-text.js.map +1 -0
- package/dist/detectors/index.d.ts.map +1 -1
- package/dist/detectors/index.js +34 -1
- package/dist/detectors/index.js.map +1 -1
- package/dist/detectors/kutoten-consistency.d.ts +24 -0
- package/dist/detectors/kutoten-consistency.d.ts.map +1 -0
- package/dist/detectors/kutoten-consistency.js +77 -0
- package/dist/detectors/kutoten-consistency.js.map +1 -0
- package/dist/detectors/lead-in.d.ts +1 -0
- package/dist/detectors/lead-in.d.ts.map +1 -1
- package/dist/detectors/lead-in.js +2 -1
- package/dist/detectors/lead-in.js.map +1 -1
- package/dist/detectors/lexicon-match.d.ts +4 -0
- package/dist/detectors/lexicon-match.d.ts.map +1 -1
- package/dist/detectors/lexicon-match.js +7 -2
- package/dist/detectors/lexicon-match.js.map +1 -1
- package/dist/detectors/list-item.d.ts +45 -0
- package/dist/detectors/list-item.d.ts.map +1 -0
- package/dist/detectors/list-item.js +88 -0
- package/dist/detectors/list-item.js.map +1 -0
- package/dist/detectors/list-items.d.ts +31 -0
- package/dist/detectors/list-items.d.ts.map +1 -0
- package/dist/detectors/list-items.js +113 -0
- package/dist/detectors/list-items.js.map +1 -0
- package/dist/detectors/list-lead-in.d.ts +7 -0
- package/dist/detectors/list-lead-in.d.ts.map +1 -0
- package/dist/detectors/list-lead-in.js +28 -0
- package/dist/detectors/list-lead-in.js.map +1 -0
- package/dist/detectors/list-sentence.d.ts +65 -0
- package/dist/detectors/list-sentence.d.ts.map +1 -0
- package/dist/detectors/list-sentence.js +105 -0
- package/dist/detectors/list-sentence.js.map +1 -0
- package/dist/detectors/list-view.d.ts +34 -0
- package/dist/detectors/list-view.d.ts.map +1 -0
- package/dist/detectors/list-view.js +137 -0
- package/dist/detectors/list-view.js.map +1 -0
- package/dist/detectors/long-vowel.d.ts +7 -0
- package/dist/detectors/long-vowel.d.ts.map +1 -0
- package/dist/detectors/long-vowel.js +57 -0
- package/dist/detectors/long-vowel.js.map +1 -0
- package/dist/detectors/markup-finding.d.ts +6 -0
- package/dist/detectors/markup-finding.d.ts.map +1 -0
- package/dist/detectors/markup-finding.js +19 -0
- package/dist/detectors/markup-finding.js.map +1 -0
- package/dist/detectors/name-numeral.d.ts +1 -1
- package/dist/detectors/name-numeral.d.ts.map +1 -1
- package/dist/detectors/name-numeral.js +2 -7
- package/dist/detectors/name-numeral.js.map +1 -1
- package/dist/detectors/orthography.d.ts.map +1 -1
- package/dist/detectors/orthography.js +14 -10
- package/dist/detectors/orthography.js.map +1 -1
- package/dist/detectors/oxford-comma.d.ts +7 -1
- package/dist/detectors/oxford-comma.d.ts.map +1 -1
- package/dist/detectors/oxford-comma.js +135 -229
- package/dist/detectors/oxford-comma.js.map +1 -1
- package/dist/detectors/place-run.d.ts.map +1 -1
- package/dist/detectors/place-run.js +10 -6
- package/dist/detectors/place-run.js.map +1 -1
- package/dist/detectors/placeholder-text.d.ts +9 -0
- package/dist/detectors/placeholder-text.d.ts.map +1 -0
- package/dist/detectors/placeholder-text.js +18 -0
- package/dist/detectors/placeholder-text.js.map +1 -0
- package/dist/detectors/quote-around.d.ts +3 -0
- package/dist/detectors/quote-around.d.ts.map +1 -0
- package/dist/detectors/quote-around.js +8 -0
- package/dist/detectors/quote-around.js.map +1 -0
- package/dist/detectors/register.d.ts +11 -3
- package/dist/detectors/register.d.ts.map +1 -1
- package/dist/detectors/register.js +28 -9
- package/dist/detectors/register.js.map +1 -1
- package/dist/detectors/roman-numeral.d.ts +2 -0
- package/dist/detectors/roman-numeral.d.ts.map +1 -1
- package/dist/detectors/roman-numeral.js +2 -0
- package/dist/detectors/roman-numeral.js.map +1 -1
- package/dist/detectors/sentence-ending.d.ts +17 -1
- package/dist/detectors/sentence-ending.d.ts.map +1 -1
- package/dist/detectors/sentence-ending.js +13 -7
- package/dist/detectors/sentence-ending.js.map +1 -1
- package/dist/detectors/sentence-length.d.ts.map +1 -1
- package/dist/detectors/sentence-length.js +13 -4
- package/dist/detectors/sentence-length.js.map +1 -1
- package/dist/detectors/signals.d.ts +8 -0
- package/dist/detectors/signals.d.ts.map +1 -1
- package/dist/detectors/signals.js +67 -46
- package/dist/detectors/signals.js.map +1 -1
- package/dist/detectors/structure-tree.d.ts +6 -0
- package/dist/detectors/structure-tree.d.ts.map +1 -1
- package/dist/detectors/structure-tree.js +37 -1
- package/dist/detectors/structure-tree.js.map +1 -1
- package/dist/detectors/structure.d.ts +1 -3
- package/dist/detectors/structure.d.ts.map +1 -1
- package/dist/detectors/structure.js +3 -4
- package/dist/detectors/structure.js.map +1 -1
- package/dist/detectors/superlative-name.d.ts.map +1 -1
- package/dist/detectors/superlative-name.js +8 -5
- package/dist/detectors/superlative-name.js.map +1 -1
- package/dist/detectors/superlative-scope.d.ts.map +1 -1
- package/dist/detectors/superlative-scope.js +9 -4
- package/dist/detectors/superlative-scope.js.map +1 -1
- package/dist/detectors/token-column.d.ts +46 -0
- package/dist/detectors/token-column.d.ts.map +1 -0
- package/dist/detectors/token-column.js +95 -0
- package/dist/detectors/token-column.js.map +1 -0
- package/dist/detectors/unbalanced-bracket.d.ts +22 -0
- package/dist/detectors/unbalanced-bracket.d.ts.map +1 -0
- package/dist/detectors/unbalanced-bracket.js +119 -0
- package/dist/detectors/unbalanced-bracket.js.map +1 -0
- package/dist/detectors/url-run-on.d.ts +9 -0
- package/dist/detectors/url-run-on.d.ts.map +1 -0
- package/dist/detectors/url-run-on.js +19 -0
- package/dist/detectors/url-run-on.js.map +1 -0
- package/dist/document-sections.d.ts +13 -0
- package/dist/document-sections.d.ts.map +1 -0
- package/dist/document-sections.js +32 -0
- package/dist/document-sections.js.map +1 -0
- package/dist/document.d.ts +11 -4
- package/dist/document.d.ts.map +1 -1
- package/dist/document.js +90 -98
- package/dist/document.js.map +1 -1
- package/dist/email-parts.d.ts +28 -0
- package/dist/email-parts.d.ts.map +1 -0
- package/dist/email-parts.js +230 -0
- package/dist/email-parts.js.map +1 -0
- package/dist/eval.d.ts +2 -1
- package/dist/eval.d.ts.map +1 -1
- package/dist/eval.js +16 -4
- package/dist/eval.js.map +1 -1
- package/dist/figure-references.d.ts +30 -0
- package/dist/figure-references.d.ts.map +1 -0
- package/dist/figure-references.js +76 -0
- package/dist/figure-references.js.map +1 -0
- package/dist/files.d.ts +2 -0
- package/dist/files.d.ts.map +1 -1
- package/dist/files.js +4 -0
- package/dist/files.js.map +1 -1
- package/dist/heading-label.d.ts +22 -0
- package/dist/heading-label.d.ts.map +1 -0
- package/dist/heading-label.js +50 -0
- package/dist/heading-label.js.map +1 -0
- package/dist/in-page-nav.d.ts +4 -1
- package/dist/in-page-nav.d.ts.map +1 -1
- package/dist/in-page-nav.js +53 -18
- package/dist/in-page-nav.js.map +1 -1
- package/dist/joined-view.d.ts.map +1 -1
- package/dist/joined-view.js +1 -0
- package/dist/joined-view.js.map +1 -1
- package/dist/levels.d.ts +5 -1
- package/dist/levels.d.ts.map +1 -1
- package/dist/levels.js +9 -0
- package/dist/levels.js.map +1 -1
- package/dist/line-paragraphs.d.ts +8 -0
- package/dist/line-paragraphs.d.ts.map +1 -1
- package/dist/line-paragraphs.js +33 -10
- package/dist/line-paragraphs.js.map +1 -1
- package/dist/long-vowel.d.ts +35 -0
- package/dist/long-vowel.d.ts.map +1 -0
- package/dist/long-vowel.js +71 -0
- package/dist/long-vowel.js.map +1 -0
- package/dist/markdown-node.d.ts +19 -0
- package/dist/markdown-node.d.ts.map +1 -0
- package/dist/markdown-node.js +6 -0
- package/dist/markdown-node.js.map +1 -0
- package/dist/markdown-read.d.ts +17 -0
- package/dist/markdown-read.d.ts.map +1 -0
- package/dist/markdown-read.js +37 -0
- package/dist/markdown-read.js.map +1 -0
- package/dist/markup.d.ts +22 -0
- package/dist/markup.d.ts.map +1 -0
- package/dist/markup.js +180 -0
- package/dist/markup.js.map +1 -0
- package/dist/mask.js +8 -5
- package/dist/mask.js.map +1 -1
- package/dist/number-name.d.ts +21 -5
- package/dist/number-name.d.ts.map +1 -1
- package/dist/number-name.js +119 -17
- package/dist/number-name.js.map +1 -1
- package/dist/orthography.d.ts +2 -0
- package/dist/orthography.d.ts.map +1 -1
- package/dist/orthography.js +9 -4
- package/dist/orthography.js.map +1 -1
- package/dist/page-furniture.d.ts +5 -2
- package/dist/page-furniture.d.ts.map +1 -1
- package/dist/page-furniture.js +8 -2
- package/dist/page-furniture.js.map +1 -1
- package/dist/plain-source.d.ts +1 -0
- package/dist/plain-source.d.ts.map +1 -1
- package/dist/plain-source.js +2 -1
- package/dist/plain-source.js.map +1 -1
- package/dist/plugin.d.ts +115 -0
- package/dist/plugin.d.ts.map +1 -1
- package/dist/profile/for-file.d.ts.map +1 -1
- package/dist/profile/for-file.js +3 -1
- package/dist/profile/for-file.js.map +1 -1
- package/dist/quoted-span.d.ts.map +1 -1
- package/dist/quoted-span.js +8 -3
- package/dist/quoted-span.js.map +1 -1
- package/dist/reasons.d.ts +3 -0
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/reference-lists.d.ts +3 -0
- package/dist/reference-lists.d.ts.map +1 -0
- package/dist/reference-lists.js +75 -0
- package/dist/reference-lists.js.map +1 -0
- package/dist/render/explain.d.ts +7 -1
- package/dist/render/explain.d.ts.map +1 -1
- package/dist/render/explain.js +36 -12
- package/dist/render/explain.js.map +1 -1
- package/dist/render/friendly.d.ts.map +1 -1
- package/dist/render/friendly.js +19 -9
- package/dist/render/friendly.js.map +1 -1
- package/dist/render/options.d.ts +7 -0
- package/dist/render/options.d.ts.map +1 -0
- package/dist/render/options.js +50 -0
- package/dist/render/options.js.map +1 -0
- package/dist/render/rules-json.d.ts +4 -1
- package/dist/render/rules-json.d.ts.map +1 -1
- package/dist/render/rules-json.js +102 -12
- package/dist/render/rules-json.js.map +1 -1
- package/dist/render/rules-table.d.ts +4 -0
- package/dist/render/rules-table.d.ts.map +1 -0
- package/dist/render/rules-table.js +70 -0
- package/dist/render/rules-table.js.map +1 -0
- package/dist/render/sarif.js +4 -4
- package/dist/render/sarif.js.map +1 -1
- package/dist/render/semantic.js +3 -3
- package/dist/render/semantic.js.map +1 -1
- package/dist/render/severity-name.d.ts +6 -0
- package/dist/render/severity-name.d.ts.map +1 -0
- package/dist/render/severity-name.js +7 -0
- package/dist/render/severity-name.js.map +1 -0
- package/dist/render/text.d.ts +7 -2
- package/dist/render/text.d.ts.map +1 -1
- package/dist/render/text.js +15 -4
- package/dist/render/text.js.map +1 -1
- package/dist/resolve-genre.d.ts +1 -1
- package/dist/resolve-genre.d.ts.map +1 -1
- package/dist/resolve-genre.js +4 -1
- package/dist/resolve-genre.js.map +1 -1
- package/dist/rule-genres.d.ts +24 -0
- package/dist/rule-genres.d.ts.map +1 -0
- package/dist/rule-genres.js +11 -0
- package/dist/rule-genres.js.map +1 -0
- package/dist/rule-guide.d.ts +54 -0
- package/dist/rule-guide.d.ts.map +1 -0
- package/dist/rule-guide.js +81 -0
- package/dist/rule-guide.js.map +1 -0
- package/dist/rule-load.d.ts.map +1 -1
- package/dist/rule-load.js +87 -33
- package/dist/rule-load.js.map +1 -1
- package/dist/rule-options.d.ts +50 -0
- package/dist/rule-options.d.ts.map +1 -0
- package/dist/rule-options.js +106 -0
- package/dist/rule-options.js.map +1 -0
- package/dist/run.d.ts +13 -0
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +54 -10
- package/dist/run.js.map +1 -1
- package/dist/sentence-shape.d.ts.map +1 -1
- package/dist/sentence-shape.js +4 -4
- package/dist/sentence-shape.js.map +1 -1
- package/dist/setting-problems.d.ts +2 -1
- package/dist/setting-problems.d.ts.map +1 -1
- package/dist/setting-problems.js +6 -1
- package/dist/setting-problems.js.map +1 -1
- package/dist/span-cut.d.ts +6 -0
- package/dist/span-cut.d.ts.map +1 -0
- package/dist/span-cut.js +22 -0
- package/dist/span-cut.js.map +1 -0
- package/dist/structure/aside-depth.d.ts +21 -0
- package/dist/structure/aside-depth.d.ts.map +1 -0
- package/dist/structure/aside-depth.js +65 -0
- package/dist/structure/aside-depth.js.map +1 -0
- package/dist/structure/build.d.ts +5 -1
- package/dist/structure/build.d.ts.map +1 -1
- package/dist/structure/build.js +29 -17
- package/dist/structure/build.js.map +1 -1
- package/dist/structure/closed-pairs.d.ts +8 -0
- package/dist/structure/closed-pairs.d.ts.map +1 -0
- package/dist/structure/closed-pairs.js +22 -0
- package/dist/structure/closed-pairs.js.map +1 -0
- package/dist/structure/date-range.d.ts +21 -0
- package/dist/structure/date-range.d.ts.map +1 -0
- package/dist/structure/date-range.js +45 -0
- package/dist/structure/date-range.js.map +1 -0
- package/dist/structure/known-mentions.d.ts +18 -0
- package/dist/structure/known-mentions.d.ts.map +1 -0
- package/dist/structure/known-mentions.js +78 -0
- package/dist/structure/known-mentions.js.map +1 -0
- package/dist/structure/numbering.d.ts +1 -0
- package/dist/structure/numbering.d.ts.map +1 -1
- package/dist/structure/numbering.js +11 -6
- package/dist/structure/numbering.js.map +1 -1
- package/dist/structure/of.d.ts +3 -1
- package/dist/structure/of.d.ts.map +1 -1
- package/dist/structure/of.js +5 -1
- package/dist/structure/of.js.map +1 -1
- package/dist/structure/percent-sum.d.ts +16 -0
- package/dist/structure/percent-sum.d.ts.map +1 -0
- package/dist/structure/percent-sum.js +104 -0
- package/dist/structure/percent-sum.js.map +1 -0
- package/dist/structure/quoted-number.d.ts +8 -0
- package/dist/structure/quoted-number.d.ts.map +1 -0
- package/dist/structure/quoted-number.js +34 -0
- package/dist/structure/quoted-number.js.map +1 -0
- package/dist/structure/relative-find.d.ts.map +1 -1
- package/dist/structure/relative-find.js +34 -46
- package/dist/structure/relative-find.js.map +1 -1
- package/dist/structure/relative-resolve.d.ts.map +1 -1
- package/dist/structure/relative-resolve.js +76 -30
- package/dist/structure/relative-resolve.js.map +1 -1
- package/dist/structure/runs.d.ts +2 -0
- package/dist/structure/runs.d.ts.map +1 -1
- package/dist/structure/runs.js +2 -2
- package/dist/structure/runs.js.map +1 -1
- package/dist/structure/sexp.d.ts +1 -1
- package/dist/structure/sexp.d.ts.map +1 -1
- package/dist/structure/sexp.js +18 -6
- package/dist/structure/sexp.js.map +1 -1
- package/dist/structure/total.d.ts +3 -0
- package/dist/structure/total.d.ts.map +1 -1
- package/dist/structure/total.js +2 -2
- package/dist/structure/total.js.map +1 -1
- package/dist/structure/universal.d.ts +14 -2
- package/dist/structure/universal.d.ts.map +1 -1
- package/dist/structure/universal.js +17 -2
- package/dist/structure/universal.js.map +1 -1
- package/dist/structure/wrapped-tail.d.ts +14 -7
- package/dist/structure/wrapped-tail.d.ts.map +1 -1
- package/dist/structure/wrapped-tail.js +33 -8
- package/dist/structure/wrapped-tail.js.map +1 -1
- package/dist/style-load.d.ts +4 -0
- package/dist/style-load.d.ts.map +1 -0
- package/dist/style-load.js +28 -0
- package/dist/style-load.js.map +1 -0
- package/dist/style-parse.d.ts +19 -0
- package/dist/style-parse.d.ts.map +1 -0
- package/dist/style-parse.js +60 -0
- package/dist/style-parse.js.map +1 -0
- package/dist/subheading-line.d.ts +6 -0
- package/dist/subheading-line.d.ts.map +1 -0
- package/dist/subheading-line.js +57 -0
- package/dist/subheading-line.js.map +1 -0
- package/dist/template-syntax.d.ts +17 -0
- package/dist/template-syntax.d.ts.map +1 -0
- package/dist/template-syntax.js +140 -0
- package/dist/template-syntax.js.map +1 -0
- package/dist/text-above.d.ts +19 -0
- package/dist/text-above.d.ts.map +1 -0
- package/dist/text-above.js +43 -0
- package/dist/text-above.js.map +1 -0
- package/dist/text-figures.d.ts +10 -0
- package/dist/text-figures.d.ts.map +1 -0
- package/dist/text-figures.js +131 -0
- package/dist/text-figures.js.map +1 -0
- package/dist/trailing-aside.d.ts +2 -0
- package/dist/trailing-aside.d.ts.map +1 -0
- package/dist/trailing-aside.js +53 -0
- package/dist/trailing-aside.js.map +1 -0
- package/dist/tree-walk.d.ts +18 -0
- package/dist/tree-walk.d.ts.map +1 -0
- package/dist/tree-walk.js +45 -0
- package/dist/tree-walk.js.map +1 -0
- package/genres.yaml +26 -0
- package/package.json +5 -3
- package/reference-headings.yaml +17 -0
- package/rules/adverb-overuse.yaml +19 -0
- package/rules/agentless-passive.yaml +19 -0
- package/rules/agreement-slip.yaml +14 -1
- package/rules/ai-generated-composite.yaml +102 -0
- package/rules/ai-tell.yaml +23 -0
- package/rules/announced-count-mismatch.yaml +57 -0
- package/rules/announcing-opener.yaml +51 -0
- package/rules/assistant-residue.yaml +52 -0
- package/rules/bold-density.yaml +31 -0
- package/rules/broken-link.yaml +65 -0
- package/rules/closing-cliche.yaml +33 -0
- package/rules/colon-lead-in.yaml +59 -0
- package/rules/concrete-evidence-density.yaml +41 -0
- package/rules/contraction-consistency.yaml +18 -0
- package/rules/contrast-framing.yaml +57 -0
- package/rules/cushion-phrase-density.yaml +25 -0
- package/rules/dangling-figure-reference.yaml +61 -0
- package/rules/dangling-reference.yaml +53 -1
- package/rules/date-order.yaml +33 -1
- package/rules/date-range-reversed.yaml +46 -0
- package/rules/date-weekday-mismatch.yaml +17 -1
- package/rules/double-keigo.yaml +16 -0
- package/rules/doubled-punctuation.yaml +45 -0
- package/rules/doubled-word.yaml +17 -1
- package/rules/duplicate-definition.yaml +59 -1
- package/rules/emoji-density.yaml +25 -0
- package/rules/empty-conclusion.yaml +28 -0
- package/rules/empty-intensifier.yaml +19 -0
- package/rules/excessive-hedging.yaml +19 -0
- package/rules/expletive-construction.yaml +19 -0
- package/rules/heading-echo.yaml +31 -0
- package/rules/heading-level-skip.yaml +78 -0
- package/rules/hiragana-fukushi.yaml +16 -0
- package/rules/image-alt-text.yaml +54 -0
- package/rules/internal-jargon.yaml +21 -0
- package/rules/katakana-long-vowel.yaml +98 -0
- package/rules/kutoten-consistency.yaml +53 -0
- package/rules/latin-spacing.yaml +23 -4
- package/rules/max-kanji-continuous.yaml +16 -0
- package/rules/max-paragraph-length.yaml +33 -0
- package/rules/max-sentence-length.yaml +32 -0
- package/rules/ngram-repetition.yaml +29 -2
- package/rules/no-doubled-joshi.yaml +16 -0
- package/rules/no-em-dash.yaml +25 -0
- package/rules/no-mixed-desumasu.yaml +27 -2
- package/rules/no-nakaguro-parallel.yaml +20 -0
- package/rules/numbering-gap.yaml +53 -1
- package/rules/oxford-comma-consistency.yaml +18 -0
- package/rules/padded-intro.yaml +19 -0
- package/rules/paragraph-length-variance.yaml +49 -0
- package/rules/percent-sum-mismatch.yaml +58 -0
- package/rules/preamble-length.yaml +56 -0
- package/rules/preferred-term.yaml +27 -0
- package/rules/proper-noun-density.yaml +26 -0
- package/rules/repeated-conjunction.yaml +47 -0
- package/rules/repeated-sentence-head.yaml +23 -0
- package/rules/required-sections.yaml +49 -0
- package/rules/risk-disclosure.yaml +22 -0
- package/rules/rule-of-three.yaml +97 -0
- package/rules/sasete-itadaku.yaml +18 -0
- package/rules/section-length-uniformity.yaml +89 -0
- package/rules/sentence-initial-conjunction-run.yaml +18 -0
- package/rules/sentence-rhythm.yaml +25 -0
- package/rules/stock-transition.yaml +55 -0
- package/rules/stray-space.yaml +18 -0
- package/rules/taigen-dome-in-prose.yaml +19 -0
- package/rules/title-case-consistency.yaml +42 -0
- package/rules/total-mismatch.yaml +37 -1
- package/rules/unbalanced-bracket.yaml +56 -0
- package/rules/undefined-acronym.yaml +22 -0
- package/rules/unfilled-placeholder.yaml +50 -0
- package/rules/unqualified-superlative.yaml +19 -0
- package/rules/unsourced-number.yaml +16 -0
- package/rules/url-run-on.yaml +45 -0
- package/skills/chaff/SKILL.md +70 -0
- package/src/announced-count.ts +148 -0
- package/src/bare-url.ts +35 -0
- package/src/baseline.ts +17 -1
- package/src/body-section.ts +7 -0
- package/src/calendar-number.ts +18 -4
- package/src/cli-args.ts +6 -0
- package/src/cli-text.ts +8 -4
- package/src/cli.ts +37 -37
- package/src/commands/compare.ts +80 -0
- package/src/commands/eval.ts +19 -8
- package/src/commands/feedback.ts +12 -6
- package/src/commands/test.ts +2 -4
- package/src/commands/tree.ts +41 -5
- package/src/compare/atom.ts +33 -0
- package/src/compare/clock-time.ts +86 -0
- package/src/compare/extract.ts +78 -0
- package/src/compare/fact-text.ts +68 -0
- package/src/compare/markup-atoms.ts +29 -0
- package/src/compare/match.ts +105 -0
- package/src/compare/outcome.ts +70 -0
- package/src/compare/proper-nouns.ts +65 -0
- package/src/compare/render.ts +102 -0
- package/src/compare/spans.ts +17 -0
- package/src/compare/text-atoms.ts +95 -0
- package/src/compare/text.ts +120 -0
- package/src/compare/tree-atoms.ts +80 -0
- package/src/compare/written-names.ts +26 -0
- package/src/config/load.ts +21 -0
- package/src/config/option-problems.ts +70 -0
- package/src/config/read.ts +8 -0
- package/src/config/rule-problems.ts +12 -2
- package/src/config/style.ts +42 -0
- package/src/config/warnings.ts +13 -0
- package/src/config/write.ts +18 -4
- package/src/custom/bounded-match.ts +58 -0
- package/src/custom/load.ts +15 -0
- package/src/custom/parse.ts +274 -0
- package/src/custom/problems.ts +89 -0
- package/src/custom/regex-safety.ts +118 -0
- package/src/custom/token-pattern.ts +84 -0
- package/src/detect.ts +28 -2
- package/src/detectors/acronym-context.ts +16 -4
- package/src/detectors/ai-phrasing.ts +137 -0
- package/src/detectors/announced-count.ts +25 -0
- package/src/detectors/broken-link.ts +90 -0
- package/src/detectors/cited-name.ts +6 -5
- package/src/detectors/cited-title.ts +96 -0
- package/src/detectors/concrete-evidence.ts +3 -2
- package/src/detectors/contrast-frame.ts +54 -0
- package/src/detectors/custom.ts +89 -0
- package/src/detectors/dangling-figure.ts +22 -0
- package/src/detectors/doubled-punctuation.ts +49 -0
- package/src/detectors/doubled-word.ts +19 -4
- package/src/detectors/enumerated-runs.ts +13 -4
- package/src/detectors/gram-furniture.ts +30 -0
- package/src/detectors/gram-place.ts +9 -5
- package/src/detectors/gram-windows.ts +31 -0
- package/src/detectors/heading-case.ts +30 -2
- package/src/detectors/heading-code-words.ts +35 -0
- package/src/detectors/heading-echo.ts +8 -4
- package/src/detectors/heading-level-skip.ts +19 -0
- package/src/detectors/image-alt-text.ts +11 -0
- package/src/detectors/index.ts +43 -1
- package/src/detectors/kutoten-consistency.ts +96 -0
- package/src/detectors/lead-in.ts +3 -1
- package/src/detectors/lexicon-match.ts +9 -2
- package/src/detectors/list-item.ts +122 -0
- package/src/detectors/list-items.ts +163 -0
- package/src/detectors/list-lead-in.ts +33 -0
- package/src/detectors/list-sentence.ts +157 -0
- package/src/detectors/list-view.ts +157 -0
- package/src/detectors/long-vowel.ts +66 -0
- package/src/detectors/markup-finding.ts +24 -0
- package/src/detectors/name-numeral.ts +4 -2
- package/src/detectors/orthography.ts +23 -17
- package/src/detectors/oxford-comma.ts +178 -283
- package/src/detectors/place-run.ts +7 -4
- package/src/detectors/placeholder-text.ts +27 -0
- package/src/detectors/quote-around.ts +9 -0
- package/src/detectors/register.ts +37 -10
- package/src/detectors/roman-numeral.ts +3 -0
- package/src/detectors/sentence-ending.ts +14 -7
- package/src/detectors/sentence-length.ts +16 -5
- package/src/detectors/signals.ts +80 -46
- package/src/detectors/structure-tree.ts +45 -1
- package/src/detectors/structure.ts +3 -4
- package/src/detectors/superlative-name.ts +7 -4
- package/src/detectors/superlative-scope.ts +8 -3
- package/src/detectors/token-column.ts +149 -0
- package/src/detectors/unbalanced-bracket.ts +153 -0
- package/src/detectors/url-run-on.ts +27 -0
- package/src/document-sections.ts +46 -0
- package/src/document.ts +106 -138
- package/src/email-parts.ts +269 -0
- package/src/eval.ts +14 -4
- package/src/figure-references.ts +112 -0
- package/src/files.ts +5 -0
- package/src/heading-label.ts +55 -0
- package/src/in-page-nav.ts +48 -19
- package/src/joined-view.ts +1 -0
- package/src/levels.ts +14 -1
- package/src/line-paragraphs.ts +52 -9
- package/src/long-vowel.ts +99 -0
- package/src/markdown-node.ts +19 -0
- package/src/markdown-read.ts +44 -0
- package/src/markup.ts +210 -0
- package/src/mask.ts +8 -8
- package/src/number-name.ts +151 -24
- package/src/orthography.ts +10 -3
- package/src/page-furniture.ts +11 -2
- package/src/plain-source.ts +2 -1
- package/src/plugin.ts +101 -1
- package/src/profile/for-file.ts +3 -1
- package/src/quoted-span.ts +9 -3
- package/src/reasons.ts +9 -0
- package/src/reference-lists.ts +91 -0
- package/src/render/explain.ts +47 -13
- package/src/render/friendly.ts +20 -9
- package/src/render/options.ts +58 -0
- package/src/render/rules-json.ts +130 -14
- package/src/render/rules-table.ts +91 -0
- package/src/render/sarif.ts +4 -4
- package/src/render/semantic.ts +3 -3
- package/src/render/severity-name.ts +10 -0
- package/src/render/text.ts +21 -7
- package/src/resolve-genre.ts +4 -1
- package/src/rule-genres.ts +25 -0
- package/src/rule-guide.ts +135 -0
- package/src/rule-load.ts +91 -34
- package/src/rule-options.ts +131 -0
- package/src/run.ts +74 -11
- package/src/sentence-shape.ts +4 -5
- package/src/setting-problems.ts +7 -1
- package/src/span-cut.ts +28 -0
- package/src/structure/aside-depth.ts +67 -0
- package/src/structure/build.ts +38 -19
- package/src/structure/closed-pairs.ts +20 -0
- package/src/structure/date-range.ts +69 -0
- package/src/structure/known-mentions.ts +96 -0
- package/src/structure/numbering.ts +9 -5
- package/src/structure/of.ts +11 -3
- package/src/structure/percent-sum.ts +135 -0
- package/src/structure/quoted-number.ts +36 -0
- package/src/structure/relative-find.ts +34 -47
- package/src/structure/relative-resolve.ts +77 -30
- package/src/structure/runs.ts +2 -2
- package/src/structure/sexp.ts +17 -5
- package/src/structure/total.ts +2 -2
- package/src/structure/universal.ts +24 -4
- package/src/structure/wrapped-tail.ts +38 -13
- package/src/style-load.ts +28 -0
- package/src/style-parse.ts +77 -0
- package/src/subheading-line.ts +68 -0
- package/src/template-syntax.ts +164 -0
- package/src/text-above.ts +49 -0
- package/src/text-figures.ts +147 -0
- package/src/trailing-aside.ts +50 -0
- package/src/tree-walk.ts +48 -0
- package/styles/bunkacho.yaml +25 -0
- package/styles/ieice.yaml +29 -0
- package/styles/jis-z8301-2011.yaml +25 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chaffjs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Prose validation harness. Finds what is hard to read, and never rewrites it for you.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chaff",
|
|
@@ -42,8 +42,10 @@
|
|
|
42
42
|
"dist",
|
|
43
43
|
"genres.yaml",
|
|
44
44
|
"profiles",
|
|
45
|
+
"reference-headings.yaml",
|
|
45
46
|
"rules",
|
|
46
47
|
"skills",
|
|
48
|
+
"styles",
|
|
47
49
|
"src"
|
|
48
50
|
],
|
|
49
51
|
"engines": {
|
|
@@ -55,8 +57,8 @@
|
|
|
55
57
|
},
|
|
56
58
|
"dependencies": {
|
|
57
59
|
"@anthropic-ai/sdk": "^0.125.0",
|
|
58
|
-
"@chaffjs/lang-en": "0.
|
|
59
|
-
"@chaffjs/lang-ja": "0.
|
|
60
|
+
"@chaffjs/lang-en": "0.16.0",
|
|
61
|
+
"@chaffjs/lang-ja": "0.17.0",
|
|
60
62
|
"mdast-util-from-markdown": "^2.0.3",
|
|
61
63
|
"mdast-util-frontmatter": "^2.0.1",
|
|
62
64
|
"mdast-util-gfm-table": "^2.0.0",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# 文献一覧の見出し。言語の見当付け(どの言語パッケージを読むか)は、この見出しの下の一覧を数えない。
|
|
2
|
+
# 文献一覧は本文の言語ではなく、引いた文献の言語で書かれる。日本語の論文の英語の文献が多いと、文書が英語に見える。
|
|
3
|
+
# 見当付けは言語パッケージを読む前に動くので、どちらの言語の見出しもここに置く。大文字と小文字は区別しない。
|
|
4
|
+
headings:
|
|
5
|
+
- 参考文献
|
|
6
|
+
- 引用文献
|
|
7
|
+
- 参照文献
|
|
8
|
+
- 文献
|
|
9
|
+
- 文献一覧
|
|
10
|
+
- 引用・参考文献
|
|
11
|
+
- 参考・引用文献
|
|
12
|
+
- References
|
|
13
|
+
- Reference
|
|
14
|
+
- Bibliography
|
|
15
|
+
- Works Cited
|
|
16
|
+
- Literature Cited
|
|
17
|
+
- Cited Literature
|
|
@@ -26,3 +26,22 @@ how_to_fix:
|
|
|
26
26
|
levels: { strict: 10, normal: 15, relaxed: 25 }
|
|
27
27
|
|
|
28
28
|
use_for: [blog, business, legal, docs, academic, literature, speech]
|
|
29
|
+
|
|
30
|
+
group: readability
|
|
31
|
+
summary:
|
|
32
|
+
ja: 英語で、-ly の副詞が多すぎる所(弱い動詞の印になりやすい)
|
|
33
|
+
en: Too many -ly adverbs, which usually prop up a weak verb
|
|
34
|
+
example:
|
|
35
|
+
en:
|
|
36
|
+
pad: true
|
|
37
|
+
before: |
|
|
38
|
+
She quickly walked to the room and quietly opened the door. He really badly needed the report and angrily asked for it.
|
|
39
|
+
after: |
|
|
40
|
+
She hurried to the room and eased the door open. He needed the report and demanded it.
|
|
41
|
+
|
|
42
|
+
not_flagged:
|
|
43
|
+
ja: 短い文書(200 語より短いもの)は測りません。
|
|
44
|
+
en: Documents under 200 words are not measured.
|
|
45
|
+
level_meaning:
|
|
46
|
+
ja: 1000 語あたり {limit} 個まで
|
|
47
|
+
en: up to {limit} per 1000 words
|
|
@@ -26,3 +26,22 @@ how_to_fix:
|
|
|
26
26
|
levels: { strict: 1, normal: 1, relaxed: 2 }
|
|
27
27
|
|
|
28
28
|
use_for: [business, legal, docs, academic, literature, speech]
|
|
29
|
+
|
|
30
|
+
group: wording
|
|
31
|
+
summary:
|
|
32
|
+
ja: 「〜が決定されました」のように、受け身で書いて、誰がしたのかが書かれていない所
|
|
33
|
+
en: A passive sentence ("the budget was approved") that never says who did it
|
|
34
|
+
example:
|
|
35
|
+
ja:
|
|
36
|
+
before: 来期の予算が承認されました。
|
|
37
|
+
after: 取締役会が、来期の予算を承認しました。
|
|
38
|
+
en:
|
|
39
|
+
before: The budget for next year was approved.
|
|
40
|
+
after: The board approved the budget for next year.
|
|
41
|
+
|
|
42
|
+
not_flagged:
|
|
43
|
+
ja: 「〜によって」のように、した人が同じ文に書いてある受け身は指しません。法務のジャンルは、受け身が書き方そのものなので見ません。
|
|
44
|
+
en: A passive that names the actor in the same sentence ("by the board") is not reported. Legal genres, where the passive is the form, do not run this rule.
|
|
45
|
+
level_meaning:
|
|
46
|
+
ja: 一文に受け身が {limit} 個あれば指摘
|
|
47
|
+
en: reported when a sentence has {limit} passives with no actor
|
|
@@ -31,6 +31,19 @@ how_to_fix:
|
|
|
31
31
|
ja: 限定詞か名詞のどちらかに揃えてください(a significant change / significant changes)。所有の語なら、主語の語に直してください(Your can → You can、their is → there is)。
|
|
32
32
|
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 is" becomes "there is").
|
|
33
33
|
|
|
34
|
-
levels: { strict:
|
|
34
|
+
levels: { strict: error, normal: warning, relaxed: info }
|
|
35
35
|
|
|
36
36
|
use_for: [blog, business, technical, legal, docs, academic, literature, speech]
|
|
37
|
+
|
|
38
|
+
group: slips
|
|
39
|
+
summary:
|
|
40
|
+
ja: 英語で、「these new version」のように単数と複数が合っていない所
|
|
41
|
+
en: Words that no longer agree after an edit, as in "these new version"
|
|
42
|
+
example:
|
|
43
|
+
en:
|
|
44
|
+
before: These new version will ship in May.
|
|
45
|
+
after: This new version will ship in May.
|
|
46
|
+
|
|
47
|
+
not_flagged:
|
|
48
|
+
ja: 単数と複数で形が同じ名詞(series、data)、this や these の直後の語、名詞を修飾する名詞(a sales team)は指しません。
|
|
49
|
+
en: Nouns spelled alike in both numbers ("series", "data"), a word right after "this" or "these", and nouns that modify another noun ("a sales team") are not reported.
|
|
@@ -13,6 +13,11 @@ from:
|
|
|
13
13
|
- padded-intro
|
|
14
14
|
- closing-cliche
|
|
15
15
|
- no-em-dash
|
|
16
|
+
- contrast-framing
|
|
17
|
+
- stock-transition
|
|
18
|
+
- assistant-residue
|
|
19
|
+
- announcing-opener
|
|
20
|
+
- colon-lead-in
|
|
16
21
|
|
|
17
22
|
name:
|
|
18
23
|
ja: 生成文の特徴がそろっている
|
|
@@ -34,3 +39,100 @@ how_to_fix:
|
|
|
34
39
|
levels: { strict: 2, normal: 3, relaxed: 5 }
|
|
35
40
|
|
|
36
41
|
use_for: [blog, business, legal, docs, academic, literature, speech]
|
|
42
|
+
|
|
43
|
+
group: ai-tells
|
|
44
|
+
summary:
|
|
45
|
+
ja: 生成された文章の特徴がいくつも一つの文書にそろっている所(生成だと決めつけはしません)
|
|
46
|
+
en: Several signals of generated text together in one document (a place to reread, not a verdict)
|
|
47
|
+
example:
|
|
48
|
+
ja:
|
|
49
|
+
config: { genre: blog/tech, rules: { ai-generated-composite: strict } }
|
|
50
|
+
before: |
|
|
51
|
+
# 在庫管理を見直す
|
|
52
|
+
|
|
53
|
+
現代社会において、データは重要な役割を果たすと言えるでしょう。
|
|
54
|
+
|
|
55
|
+
- 正確さ
|
|
56
|
+
- 速さ
|
|
57
|
+
- 安さ
|
|
58
|
+
|
|
59
|
+
毎日することです。
|
|
60
|
+
|
|
61
|
+
- 数える
|
|
62
|
+
- 記録する
|
|
63
|
+
- 見返す
|
|
64
|
+
|
|
65
|
+
よくある失敗です。
|
|
66
|
+
|
|
67
|
+
- 数え忘れ
|
|
68
|
+
- 記録の漏れ
|
|
69
|
+
- 見返さない
|
|
70
|
+
after: |
|
|
71
|
+
# 在庫管理を見直す
|
|
72
|
+
|
|
73
|
+
当社では、在庫の数を毎朝データで確かめてから発注しています。
|
|
74
|
+
|
|
75
|
+
- 正確さ
|
|
76
|
+
- 速さ
|
|
77
|
+
|
|
78
|
+
毎日することです。
|
|
79
|
+
|
|
80
|
+
- 数える
|
|
81
|
+
- 記録する
|
|
82
|
+
- 見返す
|
|
83
|
+
- 月末の棚卸しと突き合わせる
|
|
84
|
+
|
|
85
|
+
よくある失敗です。
|
|
86
|
+
|
|
87
|
+
- 数え忘れ
|
|
88
|
+
- 記録の漏れ
|
|
89
|
+
- 見返さない
|
|
90
|
+
en:
|
|
91
|
+
config: { genre: blog/tech, rules: { ai-generated-composite: strict } }
|
|
92
|
+
before: |
|
|
93
|
+
# Rethinking stock control
|
|
94
|
+
|
|
95
|
+
In today's fast-paced world, data plays a crucial role. Let us delve into why.
|
|
96
|
+
|
|
97
|
+
- Accuracy
|
|
98
|
+
- Speed
|
|
99
|
+
- Cost
|
|
100
|
+
|
|
101
|
+
Every day we:
|
|
102
|
+
|
|
103
|
+
- Count
|
|
104
|
+
- Record
|
|
105
|
+
- Review
|
|
106
|
+
|
|
107
|
+
Common mistakes:
|
|
108
|
+
|
|
109
|
+
- Missed counts
|
|
110
|
+
- Gaps in the record
|
|
111
|
+
- No review
|
|
112
|
+
after: |
|
|
113
|
+
# Rethinking stock control
|
|
114
|
+
|
|
115
|
+
We check stock levels every morning before placing orders.
|
|
116
|
+
|
|
117
|
+
- Accuracy
|
|
118
|
+
- Speed
|
|
119
|
+
|
|
120
|
+
Every day we:
|
|
121
|
+
|
|
122
|
+
- Count
|
|
123
|
+
- Record
|
|
124
|
+
- Review
|
|
125
|
+
- Match against the month-end count
|
|
126
|
+
|
|
127
|
+
Common mistakes:
|
|
128
|
+
|
|
129
|
+
- Missed counts
|
|
130
|
+
- Gaps in the record
|
|
131
|
+
- No review
|
|
132
|
+
|
|
133
|
+
not_flagged:
|
|
134
|
+
ja: 特徴が一つだけなら何も言いません。そろっても、生成された文章だとは言いません。読み返す場所の目印です。
|
|
135
|
+
en: One signal alone says nothing. Even several together do not say the text was generated; they mark a place to reread.
|
|
136
|
+
level_meaning:
|
|
137
|
+
ja: 特徴が {limit} 種そろえば指摘
|
|
138
|
+
en: reported once {limit} signals occur together
|
package/rules/ai-tell.yaml
CHANGED
|
@@ -26,3 +26,26 @@ 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
|
+
|
|
30
|
+
group: ai-tells
|
|
31
|
+
summary:
|
|
32
|
+
ja: 「重要な役割を果たす」「と言えるでしょう」のような、生成された文章にありがちな言い回しが重なった所
|
|
33
|
+
en: Phrases common in generated text ("delve into", "plays a crucial role") piling up
|
|
34
|
+
example:
|
|
35
|
+
ja:
|
|
36
|
+
before: |
|
|
37
|
+
現代社会において、データは重要な役割を果たすと言えるでしょう。
|
|
38
|
+
after: |
|
|
39
|
+
当社では、在庫の数を毎朝データで確かめてから発注しています。
|
|
40
|
+
en:
|
|
41
|
+
before: |
|
|
42
|
+
In today's fast-paced world, data plays a crucial role. Let us delve into why.
|
|
43
|
+
after: |
|
|
44
|
+
We check stock levels every morning before placing orders.
|
|
45
|
+
|
|
46
|
+
not_flagged:
|
|
47
|
+
ja: どの言い回しも、一つだけなら普通の文章にあります。重みの合計が上限を超えるまでは何も言いません。これだけで生成された文章だとは言いません。
|
|
48
|
+
en: Each phrase is ordinary on its own; nothing is said until the weights add up past the limit. This alone never says the text was generated.
|
|
49
|
+
level_meaning:
|
|
50
|
+
ja: 言い回しの重みの合計が {limit} 点まで
|
|
51
|
+
en: up to a score of {limit}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
id: announced-count-mismatch
|
|
2
|
+
layer: L3
|
|
3
|
+
status: experimental
|
|
4
|
+
how_to_find: announced-count
|
|
5
|
+
severity: warning
|
|
6
|
+
|
|
7
|
+
name:
|
|
8
|
+
ja: 予告した数と箇条書きの数が合わない
|
|
9
|
+
en: A list that does not have the number of items announced
|
|
10
|
+
|
|
11
|
+
why:
|
|
12
|
+
ja: 「以下の3点」と書いたのに、すぐ下の箇条書きが2つや4つだと、読み手は抜けた項目があるのか、数え間違いなのかを確かめることになります。項目を足したり消したりしたあとに、予告の数を直し忘れると起きます。箇条書きのすぐ前の文が、「以下の」「次の」のような先を指す語か、終わりのコロン(:)と一緒に数(3点、2つ、4項目)を書いているときだけ、その数を箇条書きのいちばん外側の項目の数と比べます。
|
|
13
|
+
en: When a sentence says "the following three steps" and the list right below it has two or four, the reader has to check whether an item is missing or the count is wrong. It happens when an item is added or removed and the count is not updated. The number is compared with the items at the top level of the list only when the sentence right before the list announces it, with a word pointing ahead ("following", "below") or a colon at its end, and the number names what the list holds ("three steps", "two reasons").
|
|
14
|
+
|
|
15
|
+
message:
|
|
16
|
+
ja: 「{phrase}」と予告していますが、すぐ下の箇条書きは{listed}項目です
|
|
17
|
+
en: '"{phrase}" is announced, but the number of items in the list below is {listed}'
|
|
18
|
+
|
|
19
|
+
how_to_fix:
|
|
20
|
+
ja: 項目が抜けていないか確かめて、足りなければ足し、数が違うなら予告の数を直してください。
|
|
21
|
+
en: Check whether an item is missing. Add it, or correct the number in the announcement.
|
|
22
|
+
|
|
23
|
+
levels: { strict: error, normal: warning, relaxed: info }
|
|
24
|
+
|
|
25
|
+
use_for: [business, technical, blog, legal, docs, academic, literature, speech]
|
|
26
|
+
|
|
27
|
+
group: facts
|
|
28
|
+
summary:
|
|
29
|
+
ja: 「以下の3点」と書いたのに、下の箇条書きの数が違う所
|
|
30
|
+
en: A list whose number of items differs from the number announced just before it
|
|
31
|
+
example:
|
|
32
|
+
ja:
|
|
33
|
+
before: |
|
|
34
|
+
申し込みの前に、次の3点を確認してください。
|
|
35
|
+
|
|
36
|
+
- 本人確認の書類
|
|
37
|
+
- 振込先の口座
|
|
38
|
+
after: |
|
|
39
|
+
申し込みの前に、次の2点を確認してください。
|
|
40
|
+
|
|
41
|
+
- 本人確認の書類
|
|
42
|
+
- 振込先の口座
|
|
43
|
+
en:
|
|
44
|
+
before: |
|
|
45
|
+
Before you apply, check the following three items:
|
|
46
|
+
|
|
47
|
+
- Your ID
|
|
48
|
+
- Your bank account
|
|
49
|
+
after: |
|
|
50
|
+
Before you apply, check the following two items:
|
|
51
|
+
|
|
52
|
+
- Your ID
|
|
53
|
+
- Your bank account
|
|
54
|
+
|
|
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.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
id: announcing-opener
|
|
2
|
+
layer: L2
|
|
3
|
+
status: experimental
|
|
4
|
+
how_to_find: opener-pile
|
|
5
|
+
word_list: announcing-opener
|
|
6
|
+
uses: [pos]
|
|
7
|
+
severity: info
|
|
8
|
+
|
|
9
|
+
name:
|
|
10
|
+
ja: 予告で始まる文が多い
|
|
11
|
+
en: Too many sentences that announce before they say
|
|
12
|
+
|
|
13
|
+
why:
|
|
14
|
+
ja: 「重要なのは、」「ポイントは、」「正直に言うと、」は、中身の前に「これから大事なことを言う」と予告します。1 つなら目印ですが、重なるとどの文も同じ重さに見え、予告だけが残ります。生成文によく見られる癖として知られています。
|
|
15
|
+
en: '"The key point is", "Here''s the thing" and "Honestly," announce a point before making it. Once, that is a signpost; piled up, every sentence claims the same weight and the announcements are all that stand out. A habit well known in generated text.'
|
|
16
|
+
|
|
17
|
+
message:
|
|
18
|
+
ja: 「{matched}」など、予告で始まる文が {count} 個あります({limit} 個から)
|
|
19
|
+
en: '"{matched}" and other announcing openers start {count} sentences ({limit} needed)'
|
|
20
|
+
|
|
21
|
+
how_to_fix:
|
|
22
|
+
ja: 予告を消して、中身から書き始めてください。本当に一番大事な一つだけなら、予告を残してもかまいません。
|
|
23
|
+
en: Delete the announcement and start with the point. If it really is the one point that matters most, keep that one.
|
|
24
|
+
|
|
25
|
+
# 指摘に要る数。長さで割らない:人の記事は長くても 1 つ 2 つで、生成文は短くても重ねる。
|
|
26
|
+
levels: { strict: 2, normal: 3, relaxed: 5 }
|
|
27
|
+
|
|
28
|
+
use_for: [blog, business, legal, docs, academic, literature, speech]
|
|
29
|
+
|
|
30
|
+
group: ai-tells
|
|
31
|
+
summary:
|
|
32
|
+
ja: 「重要なのは、」「ポイントは、」「正直に言うと、」のように、中身の前に予告する文頭が重なっている所
|
|
33
|
+
en: 'Openers that announce a point before making it ("The key point is", "Here''s the thing", "Honestly,") piling up'
|
|
34
|
+
example:
|
|
35
|
+
ja:
|
|
36
|
+
before: |
|
|
37
|
+
重要なのは、設定を先に確かめることです。ポイントは、ログを残すことです。正直に言うと、手順書は古くなっています。
|
|
38
|
+
after: |
|
|
39
|
+
まず設定を確かめ、そのときのログを残してください。手順書は去年の版のままなので、画面の名前が違います。
|
|
40
|
+
en:
|
|
41
|
+
before: |
|
|
42
|
+
The key point is that settings come first. Here's the thing: logs matter too. Honestly, the manual is out of date.
|
|
43
|
+
after: |
|
|
44
|
+
Check the settings first and keep the log of that check. The manual is last year's, so the screen names differ.
|
|
45
|
+
|
|
46
|
+
not_flagged:
|
|
47
|
+
ja: 文の途中の「このポイントは」と、指摘に要る数に届かない予告は言いません。「大事なのは」「結論から言うと」は、生成 AI 以前の人の記事にも同じくらいあるので数えません。
|
|
48
|
+
en: An announcing phrase inside a sentence, and fewer than the level needs, are not reported.
|
|
49
|
+
level_meaning:
|
|
50
|
+
ja: 予告で始まる文が {limit} 個あれば指摘
|
|
51
|
+
en: reported once {limit} sentences open with an announcement
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
id: assistant-residue
|
|
2
|
+
layer: L2
|
|
3
|
+
status: experimental
|
|
4
|
+
how_to_find: assistant-residue
|
|
5
|
+
word_list: assistant-residue
|
|
6
|
+
uses: [pos]
|
|
7
|
+
severity: warning
|
|
8
|
+
|
|
9
|
+
name:
|
|
10
|
+
ja: 会話の返事の名残
|
|
11
|
+
en: Chat-reply residue
|
|
12
|
+
|
|
13
|
+
why:
|
|
14
|
+
ja: 「私の知識は」「お役に立てれば幸いです」は、チャットの返事を文書に貼ったときに残る言葉です。知識の期限や AI としての断り書きは 1 つで言い、人も書く礼の言葉は 2 つ重なったときだけ言います。
|
|
15
|
+
en: '"As of my last knowledge update" and "I hope this helps" are what a chat reply leaves behind when pasted into a document. A knowledge-cutoff or AI disclaimer counts on its own; a courtesy people also write counts only when two come together.'
|
|
16
|
+
|
|
17
|
+
message:
|
|
18
|
+
ja: 「{matched}」は会話の返事の言葉です(点 {density}、{limit} から)
|
|
19
|
+
en: '"{matched}" is chat-reply wording (score {density}, from {limit})'
|
|
20
|
+
|
|
21
|
+
how_to_fix:
|
|
22
|
+
ja: 文書の読み手に向けた言葉に書き直すか、消してください。知識の期限を書いた文は、確かめた日付と出典に置き換えてください。
|
|
23
|
+
en: Rewrite it for the document's reader, or delete it. Replace a knowledge-cutoff line with the date you checked and the source.
|
|
24
|
+
|
|
25
|
+
# 語彙表の重みの合計を 10 倍した点。名残そのものは重み 1 で 1 つで届き、人も書く礼は 0.5 で 2 つ重なって届く。
|
|
26
|
+
# strict でも礼 1 つでは言わない。1 つなら人の書き方と区別がつかない。
|
|
27
|
+
levels: { strict: 10, normal: 10, relaxed: 20 }
|
|
28
|
+
|
|
29
|
+
use_for: [blog, business, technical, legal, docs, academic, literature, speech]
|
|
30
|
+
|
|
31
|
+
group: ai-tells
|
|
32
|
+
summary:
|
|
33
|
+
ja: 「私の知識は」「お役に立てれば幸いです」のような、チャットの返事を貼ったときに残る言葉
|
|
34
|
+
en: What a pasted chat reply leaves behind ("As of my last knowledge update", "I hope this helps")
|
|
35
|
+
example:
|
|
36
|
+
ja:
|
|
37
|
+
before: |
|
|
38
|
+
新しい棟の計画は検討中でした。私の知識は2023年時点のものです。
|
|
39
|
+
after: |
|
|
40
|
+
新しい棟の計画は、2026年9月の議会資料では検討中でした。
|
|
41
|
+
en:
|
|
42
|
+
before: |
|
|
43
|
+
As of my last knowledge update, plans for a new wing were under discussion.
|
|
44
|
+
after: |
|
|
45
|
+
The council's minutes of September 2026 say plans for a new wing are under discussion.
|
|
46
|
+
|
|
47
|
+
not_flagged:
|
|
48
|
+
ja: 人も書く礼の言葉(「お役に立てれば幸いです」)が一つだけなら、何度書いてあっても指しません。同じ文の中の二つの言い回しは一つと数えます。
|
|
49
|
+
en: A single courtesy people also write ("I hope this helps"), however often it is repeated, is not reported. Two listed phrases in one sentence count as one.
|
|
50
|
+
level_meaning:
|
|
51
|
+
ja: 重みの合計が {limit} 点で指摘
|
|
52
|
+
en: reported from a score of {limit}
|
package/rules/bold-density.yaml
CHANGED
|
@@ -28,3 +28,34 @@ levels:
|
|
|
28
28
|
relaxed: 40
|
|
29
29
|
|
|
30
30
|
use_for: [blog, business, technical, legal, docs, academic, literature, speech]
|
|
31
|
+
|
|
32
|
+
group: readability
|
|
33
|
+
summary:
|
|
34
|
+
ja: 太字が多すぎて、どこが大事なのか分からなくなった所
|
|
35
|
+
en: So much bold text that nothing stands out any more
|
|
36
|
+
example:
|
|
37
|
+
ja:
|
|
38
|
+
before: |
|
|
39
|
+
## 申し込み
|
|
40
|
+
|
|
41
|
+
**申し込み**は**今月末**までに、**専用の用紙**で**総務部**へ出してください。用紙は社内の共有フォルダにあり、印刷して手で書いても、画面で入力してから印刷してもかまいません。**上長の印**が要るので、締め切りの三日前までには上長に渡してください。**遅れた場合**は、どんな理由でも**受け付けません**。分からないことがあれば、総務部の窓口に電話で問い合わせてください。受付の時間は平日の午前九時から午後五時までです。書き方の見本も、同じ共有フォルダに置いてあります。
|
|
42
|
+
after: |
|
|
43
|
+
## 申し込み
|
|
44
|
+
|
|
45
|
+
申し込みは、専用の用紙で総務部へ出してください。**締め切りは今月末で、遅れた場合はどんな理由でも受け付けません。**用紙は社内の共有フォルダにあり、印刷して手で書いても、画面で入力してから印刷してもかまいません。上長の印が要るので、締め切りの三日前までには上長に渡してください。分からないことがあれば、総務部の窓口に電話で問い合わせてください。受付の時間は平日の午前九時から午後五時までです。書き方の見本も、同じ共有フォルダに置いてあります。
|
|
46
|
+
en:
|
|
47
|
+
before: |
|
|
48
|
+
## How to apply
|
|
49
|
+
|
|
50
|
+
Send the **form** to **HR** by the **end of the month**. The form is in the shared folder. You can print it and fill it in by hand, or type into it on screen and then print it. It needs your **manager's signature**, so give it to your manager at least three days before the deadline. **Late forms** will **not** be **accepted**, whatever the reason. If you have a question, call the HR desk between nine and five on a weekday.
|
|
51
|
+
after: |
|
|
52
|
+
## How to apply
|
|
53
|
+
|
|
54
|
+
Send the form to HR. **The deadline is the end of the month, and late forms will not be accepted, whatever the reason.** The form is in the shared folder. You can print it and fill it in by hand, or type into it on screen and then print it. It needs your manager's signature, so give it to your manager at least three days before the deadline. If you have a question, call the HR desk between nine and five on a weekday.
|
|
55
|
+
|
|
56
|
+
not_flagged:
|
|
57
|
+
ja: 200 字より短い節は、1 箇所で割合が跳ねるので測りません。
|
|
58
|
+
en: Sections under 200 characters are not measured, since one bold span would swing the rate.
|
|
59
|
+
level_meaning:
|
|
60
|
+
ja: 1000 字あたり太字 {limit} 箇所まで
|
|
61
|
+
en: up to {limit} bold spans per 1000 characters
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
id: broken-link
|
|
2
|
+
layer: L1
|
|
3
|
+
status: experimental
|
|
4
|
+
how_to_find: broken-link
|
|
5
|
+
requires: [markdown]
|
|
6
|
+
severity: warning
|
|
7
|
+
|
|
8
|
+
name:
|
|
9
|
+
ja: 行き先の無いリンク
|
|
10
|
+
en: Link that goes nowhere
|
|
11
|
+
|
|
12
|
+
why:
|
|
13
|
+
ja: 押しても何も起きないリンクは、読み手に「あるはずの情報が無い」と思わせます。三つを見ます。行き先が空のリンク([資料]())、同じページの見出しを指すのにその見出しが無いリンク([手順](#手順) で「手順」の見出しを消した・書き換えた)、参照の形で書いたのに定義が無いもの([資料][1] で「[1]:」の行が無い。そのまま字で表示されます)。見出しから名前を作る決まりは表示するものごとに違うので、字と数字だけを比べ、大文字小文字・空白・記号の違いは問いません。[1][2] のように数だけの括弧は文献の番号として数えません(markdownlint の MD042・MD051・MD052)。
|
|
14
|
+
en: A link that does nothing when clicked tells the reader something is missing. Three kinds are checked. A link with an empty destination ("[report]()"); a link to a heading on the same page that the page does not have ("[Setup](#setup)" after the heading was renamed or removed); and a reference-style link whose label is never defined ("[report][1]" with no "[1]:" line), which is shown as plain brackets. Renderers build heading anchors differently, so only letters and digits are compared; case, spaces and punctuation do not matter. Brackets holding only numbers ("[1][2]") are citation numbers and are not counted (markdownlint's MD042, MD051 and MD052).
|
|
15
|
+
|
|
16
|
+
message:
|
|
17
|
+
ja: リンク「{link}」の行き先がありません
|
|
18
|
+
en: 'The link "{link}" goes nowhere'
|
|
19
|
+
|
|
20
|
+
messages:
|
|
21
|
+
empty:
|
|
22
|
+
ja: リンク「{link}」の行き先が空です
|
|
23
|
+
en: 'The link "{link}" has an empty destination'
|
|
24
|
+
anchor:
|
|
25
|
+
ja: リンク「{link}」が指す「{target}」の見出しがこの文書にありません
|
|
26
|
+
en: 'The link "{link}" points to "{target}", which is not a heading on this page'
|
|
27
|
+
reference:
|
|
28
|
+
ja: 「{link}」は参照の形ですが、名前の定義がありません(字のまま表示されます)
|
|
29
|
+
en: '"{link}" is a reference-style link with no definition (it shows as plain text)'
|
|
30
|
+
|
|
31
|
+
how_to_fix:
|
|
32
|
+
ja: "行き先を書いてください。見出しを指すなら、今の見出しの言葉に合わせてください。参照の形なら、文書のどこかに「[名前]: URL」の行を足してください。"
|
|
33
|
+
en: 'Fill in the destination. For a heading, match the heading as it is now written. For a reference-style link, add a "[label]: URL" line somewhere in the document.'
|
|
34
|
+
|
|
35
|
+
levels: { strict: error, normal: warning, relaxed: info }
|
|
36
|
+
|
|
37
|
+
use_for: [business, technical, blog, legal, docs, academic, literature, speech]
|
|
38
|
+
|
|
39
|
+
group: structure
|
|
40
|
+
summary:
|
|
41
|
+
ja: 行き先が空のリンク、文書に無い見出しを指すリンク、定義の無い参照の形のリンク
|
|
42
|
+
en: A link with no destination, a link to a heading the page does not have, or a reference-style link with no definition
|
|
43
|
+
example:
|
|
44
|
+
ja:
|
|
45
|
+
before: |
|
|
46
|
+
## 準備
|
|
47
|
+
|
|
48
|
+
道具をそろえます。詳しくは[手順](#手順)を見てください。
|
|
49
|
+
after: |
|
|
50
|
+
## 準備
|
|
51
|
+
|
|
52
|
+
道具をそろえます。詳しくは[準備](#準備)を見てください。
|
|
53
|
+
en:
|
|
54
|
+
before: |
|
|
55
|
+
## Setup
|
|
56
|
+
|
|
57
|
+
Gather the tools. See [Install](#install) for more.
|
|
58
|
+
after: |
|
|
59
|
+
## Setup
|
|
60
|
+
|
|
61
|
+
Gather the tools. See [Setup](#setup) for more.
|
|
62
|
+
|
|
63
|
+
not_flagged:
|
|
64
|
+
ja: 見出しの名前は字と数字だけで比べ、大文字小文字や記号の違いは問いません。「[1][2]」のような文献の番号、「A[i][j]」のような添字、使われていない定義も指しません。
|
|
65
|
+
en: Heading anchors are compared on letters and digits only, ignoring case and punctuation. Citation numbers ("[1][2]"), subscripts ("A[i][j]") and definitions no link uses are not reported.
|
|
@@ -29,3 +29,36 @@ levels:
|
|
|
29
29
|
relaxed: 2
|
|
30
30
|
|
|
31
31
|
use_for: [blog, legal, docs, academic, literature, speech]
|
|
32
|
+
|
|
33
|
+
group: wording
|
|
34
|
+
summary:
|
|
35
|
+
ja: 「いかがでしたか」「参考になれば幸いです」のように、何も残さない決まり文句の結び
|
|
36
|
+
en: A stock closing such as "Hope this helps" that leaves the reader nothing
|
|
37
|
+
example:
|
|
38
|
+
ja:
|
|
39
|
+
config: { genre: blog/tech }
|
|
40
|
+
before: |
|
|
41
|
+
## まとめ
|
|
42
|
+
|
|
43
|
+
設定を一行変えるだけで、ビルドが二倍速くなりました。いかがでしたか。
|
|
44
|
+
after: |
|
|
45
|
+
## まとめ
|
|
46
|
+
|
|
47
|
+
設定を一行変えるだけで、ビルドが二倍速くなりました。次は、テストの並列化を試します。
|
|
48
|
+
en:
|
|
49
|
+
config: { genre: blog/tech }
|
|
50
|
+
before: |
|
|
51
|
+
## Summary
|
|
52
|
+
|
|
53
|
+
Changing one line of the settings made the build twice as fast. Hope this helps!
|
|
54
|
+
after: |
|
|
55
|
+
## Summary
|
|
56
|
+
|
|
57
|
+
Changing one line of the settings made the build twice as fast. Next, we will try running the tests in parallel.
|
|
58
|
+
|
|
59
|
+
not_flagged:
|
|
60
|
+
ja: 最後の節だけを見ます。本文の途中の「まとめると」は普通のつなぎなので指しません。
|
|
61
|
+
en: Only the last section is checked; "to sum up" in the middle of the text is an ordinary link and is not reported.
|
|
62
|
+
level_meaning:
|
|
63
|
+
ja: 当てはまる結びが {limit} 箇所あれば指摘
|
|
64
|
+
en: reported once there are {limit}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
id: colon-lead-in
|
|
2
|
+
layer: L1
|
|
3
|
+
status: experimental
|
|
4
|
+
how_to_find: colon-lead-in
|
|
5
|
+
# English human writing hands off to a list after a colon as a matter of course: two in a short self-written English
|
|
6
|
+
# document already passed any limit that the generated-style samples reached. Japanese only until a limit separates them.
|
|
7
|
+
languages: [ja]
|
|
8
|
+
severity: info
|
|
9
|
+
|
|
10
|
+
name:
|
|
11
|
+
ja: コロンで箇条書きへ渡す文が多い
|
|
12
|
+
en: Too many colon lead-ins to lists
|
|
13
|
+
|
|
14
|
+
why:
|
|
15
|
+
ja: 「以下の通りです:」「ポイントは次の 3 つ:」のように、コロンで終わる文から箇条書きへ渡す形です。1 つなら案内ですが、節ごとに続くと、説明が箇条書きの前置きだけになり、項目どうしの繋がりが書かれません。生成文によく見られる形です。
|
|
16
|
+
en: 'A sentence ending in a colon that hands the reader to a list ("Here''s what you need to know:"). Once, it guides; section after section, the prose shrinks to list captions and the links between the items go unwritten. A shape common in generated text.'
|
|
17
|
+
|
|
18
|
+
message:
|
|
19
|
+
ja: コロンで箇条書きへ渡す文が 1000 字あたり {density} 個あります({limit} 個まで)
|
|
20
|
+
en: "{density} colon lead-ins to lists per 1000 characters (limit {limit})"
|
|
21
|
+
|
|
22
|
+
how_to_fix:
|
|
23
|
+
ja: 箇条書きの一部を文に戻し、項目どうしがどう繋がるのかを書いてください。手順や部品の一覧のように、本当に並べるものはそのままでかまいません。
|
|
24
|
+
en: Turn some of the lists back into sentences and say how the items connect. Real lists (steps, parts) can stay.
|
|
25
|
+
|
|
26
|
+
# 1000 字あたりの数。2 つより少なければ言わない(ai-phrasing.ts の PILE)。
|
|
27
|
+
levels: { strict: 1, normal: 2, relaxed: 4 }
|
|
28
|
+
|
|
29
|
+
use_for: [blog, business, legal, docs, academic, literature, speech]
|
|
30
|
+
|
|
31
|
+
group: ai-tells
|
|
32
|
+
summary:
|
|
33
|
+
ja: 「以下の通りです:」のように、コロンで終わる文から箇条書きへ渡す形が続き、説明が箇条書きの前置きだけになっている所
|
|
34
|
+
en: 'Sentences ending in a colon that hand off to a list ("Here''s what you need to know:"), section after section'
|
|
35
|
+
example:
|
|
36
|
+
ja:
|
|
37
|
+
pad: true
|
|
38
|
+
before: |
|
|
39
|
+
準備は以下の通りです:
|
|
40
|
+
|
|
41
|
+
- 鍵
|
|
42
|
+
- 地図
|
|
43
|
+
|
|
44
|
+
当日の流れは次の通りです:
|
|
45
|
+
|
|
46
|
+
- 集合
|
|
47
|
+
- 出発
|
|
48
|
+
after: |
|
|
49
|
+
鍵と地図を用意してください。当日は駅に集合してから出発します。
|
|
50
|
+
|
|
51
|
+
- 鍵
|
|
52
|
+
- 地図
|
|
53
|
+
|
|
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.
|
|
57
|
+
level_meaning:
|
|
58
|
+
ja: 1000 字あたり {limit} 個まで
|
|
59
|
+
en: up to {limit} per 1000 characters
|
|
@@ -25,3 +25,44 @@ how_to_fix:
|
|
|
25
25
|
levels: { strict: 1, normal: 3, relaxed: 6 }
|
|
26
26
|
|
|
27
27
|
use_for: [blog, business, legal, docs, academic, literature, speech]
|
|
28
|
+
|
|
29
|
+
group: structure
|
|
30
|
+
summary:
|
|
31
|
+
ja: 数字もコードもリンクも無く、読み手が持ち帰れるものの無い節
|
|
32
|
+
en: A section with no number, no code and no link, so the reader has nothing to take away
|
|
33
|
+
example:
|
|
34
|
+
ja:
|
|
35
|
+
config: { rules: { concrete-evidence-density: strict } }
|
|
36
|
+
before: |
|
|
37
|
+
# 改善の報告
|
|
38
|
+
|
|
39
|
+
## 成果
|
|
40
|
+
|
|
41
|
+
問い合わせ対応が大きく良くなりました。お客様からの評判も上々です。担当者の負担も軽くなりました。
|
|
42
|
+
after: |
|
|
43
|
+
# 改善の報告
|
|
44
|
+
|
|
45
|
+
## 成果
|
|
46
|
+
|
|
47
|
+
問い合わせへの回答が、平均 3 日から 1 日になりました。お客様アンケートの満足度は 72% から 85% に上がりました。担当者の残業は月 10 時間減りました。
|
|
48
|
+
en:
|
|
49
|
+
config: { rules: { concrete-evidence-density: strict } }
|
|
50
|
+
before: |
|
|
51
|
+
# Improvement report
|
|
52
|
+
|
|
53
|
+
## Results
|
|
54
|
+
|
|
55
|
+
Our help desk got much better. Customers are pleased with it. The team feels less pressure too.
|
|
56
|
+
after: |
|
|
57
|
+
# Improvement report
|
|
58
|
+
|
|
59
|
+
## Results
|
|
60
|
+
|
|
61
|
+
Replies to help desk tickets now take 1 day on average, down from 3. Customer satisfaction rose from 72% to 85%. Overtime fell by 10 hours a month.
|
|
62
|
+
|
|
63
|
+
not_flagged:
|
|
64
|
+
ja: 3 文より短い節、索引のように項目を並べた節は見ません。
|
|
65
|
+
en: Sections shorter than three sentences, and index-like sections of entries, are not checked.
|
|
66
|
+
level_meaning:
|
|
67
|
+
ja: 具体物のない節が {limit} 個あれば指摘
|
|
68
|
+
en: reported once {limit} sections have nothing concrete
|