chaffjs 0.38.0 → 0.39.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.ja.md +20 -4
- package/README.md +19 -2
- package/checks/ai-tells.yaml +153 -0
- package/dist/acronym-expansion.d.ts +4 -0
- package/dist/acronym-expansion.d.ts.map +1 -0
- package/dist/acronym-expansion.js +46 -0
- package/dist/acronym-expansion.js.map +1 -0
- package/dist/ai-score/human-shares.d.ts.map +1 -1
- package/dist/ai-score/human-shares.js +53 -12
- package/dist/ai-score/human-shares.js.map +1 -1
- package/dist/ai-score/of-document.d.ts.map +1 -1
- package/dist/ai-score/of-document.js +4 -2
- package/dist/ai-score/of-document.js.map +1 -1
- package/dist/body-section.d.ts +3 -1
- package/dist/body-section.d.ts.map +1 -1
- package/dist/body-section.js +9 -2
- package/dist/body-section.js.map +1 -1
- package/dist/capitals-with-small.d.ts +5 -0
- package/dist/capitals-with-small.d.ts.map +1 -1
- package/dist/capitals-with-small.js +15 -0
- package/dist/capitals-with-small.js.map +1 -1
- package/dist/checks.d.ts +11 -0
- package/dist/checks.d.ts.map +1 -1
- package/dist/checks.js +27 -1
- package/dist/checks.js.map +1 -1
- package/dist/cli-args.js +1 -1
- package/dist/cli-args.js.map +1 -1
- package/dist/cli-text.d.ts.map +1 -1
- package/dist/cli-text.js +4 -0
- package/dist/cli-text.js.map +1 -1
- package/dist/commands/fix-plan.d.ts.map +1 -1
- package/dist/commands/fix-plan.js +64 -4
- package/dist/commands/fix-plan.js.map +1 -1
- package/dist/commands/test.d.ts.map +1 -1
- package/dist/commands/test.js +16 -2
- package/dist/commands/test.js.map +1 -1
- package/dist/detectors/acronym-context.d.ts +4 -1
- package/dist/detectors/acronym-context.d.ts.map +1 -1
- package/dist/detectors/acronym-context.js +16 -2
- package/dist/detectors/acronym-context.js.map +1 -1
- package/dist/detectors/acronym-expansion.d.ts.map +1 -1
- package/dist/detectors/acronym-expansion.js +25 -0
- package/dist/detectors/acronym-expansion.js.map +1 -1
- package/dist/detectors/acronym-gloss.d.ts +19 -0
- package/dist/detectors/acronym-gloss.d.ts.map +1 -1
- package/dist/detectors/acronym-gloss.js +115 -0
- package/dist/detectors/acronym-gloss.js.map +1 -1
- package/dist/detectors/acronym-name.d.ts +9 -2
- package/dist/detectors/acronym-name.d.ts.map +1 -1
- package/dist/detectors/acronym-name.js +13 -3
- package/dist/detectors/acronym-name.js.map +1 -1
- package/dist/detectors/acronym-series.d.ts +7 -0
- package/dist/detectors/acronym-series.d.ts.map +1 -0
- package/dist/detectors/acronym-series.js +25 -0
- package/dist/detectors/acronym-series.js.map +1 -0
- package/dist/detectors/ai-phrasing.d.ts +3 -6
- package/dist/detectors/ai-phrasing.d.ts.map +1 -1
- package/dist/detectors/ai-phrasing.js +17 -16
- package/dist/detectors/ai-phrasing.js.map +1 -1
- package/dist/detectors/ai-structure.d.ts +1 -0
- package/dist/detectors/ai-structure.d.ts.map +1 -1
- package/dist/detectors/ai-structure.js +15 -4
- package/dist/detectors/ai-structure.js.map +1 -1
- package/dist/detectors/alnum-number.d.ts +1 -0
- package/dist/detectors/alnum-number.d.ts.map +1 -1
- package/dist/detectors/alnum-number.js +7 -3
- package/dist/detectors/alnum-number.js.map +1 -1
- package/dist/detectors/bare-comparative.d.ts +6 -0
- package/dist/detectors/bare-comparative.d.ts.map +1 -1
- package/dist/detectors/bare-comparative.js +31 -12
- package/dist/detectors/bare-comparative.js.map +1 -1
- package/dist/detectors/bold-emphasis-form.d.ts +8 -0
- package/dist/detectors/bold-emphasis-form.d.ts.map +1 -0
- package/dist/detectors/bold-emphasis-form.js +40 -0
- package/dist/detectors/bold-emphasis-form.js.map +1 -0
- package/dist/detectors/bold-emphasis.d.ts +0 -1
- package/dist/detectors/bold-emphasis.d.ts.map +1 -1
- package/dist/detectors/bold-emphasis.js +14 -12
- package/dist/detectors/bold-emphasis.js.map +1 -1
- package/dist/detectors/caps-caption.d.ts +5 -0
- package/dist/detectors/caps-caption.d.ts.map +1 -1
- package/dist/detectors/caps-caption.js +20 -2
- package/dist/detectors/caps-caption.js.map +1 -1
- package/dist/detectors/char-shape.d.ts.map +1 -1
- package/dist/detectors/char-shape.js +86 -27
- package/dist/detectors/char-shape.js.map +1 -1
- package/dist/detectors/chat-log-line.d.ts +8 -0
- package/dist/detectors/chat-log-line.d.ts.map +1 -0
- package/dist/detectors/chat-log-line.js +13 -0
- package/dist/detectors/chat-log-line.js.map +1 -0
- package/dist/detectors/citation-string.d.ts +3 -0
- package/dist/detectors/citation-string.d.ts.map +1 -0
- package/dist/detectors/citation-string.js +34 -0
- package/dist/detectors/citation-string.js.map +1 -0
- package/dist/detectors/closing-cliche.d.ts +18 -0
- package/dist/detectors/closing-cliche.d.ts.map +1 -0
- package/dist/detectors/closing-cliche.js +58 -0
- package/dist/detectors/closing-cliche.js.map +1 -0
- package/dist/detectors/closing-exhortation.d.ts +18 -0
- package/dist/detectors/closing-exhortation.d.ts.map +1 -0
- package/dist/detectors/closing-exhortation.js +55 -0
- package/dist/detectors/closing-exhortation.js.map +1 -0
- package/dist/detectors/cold-open.d.ts +25 -0
- package/dist/detectors/cold-open.d.ts.map +1 -0
- package/dist/detectors/cold-open.js +121 -0
- package/dist/detectors/cold-open.js.map +1 -0
- package/dist/detectors/comparative-context.d.ts +21 -0
- package/dist/detectors/comparative-context.d.ts.map +1 -0
- package/dist/detectors/comparative-context.js +57 -0
- package/dist/detectors/comparative-context.js.map +1 -0
- package/dist/detectors/concrete-evidence-density.d.ts +3 -0
- package/dist/detectors/concrete-evidence-density.d.ts.map +1 -0
- package/dist/detectors/concrete-evidence-density.js +75 -0
- package/dist/detectors/concrete-evidence-density.js.map +1 -0
- package/dist/detectors/concrete-evidence.d.ts +14 -0
- package/dist/detectors/concrete-evidence.d.ts.map +1 -1
- package/dist/detectors/concrete-evidence.js +24 -0
- package/dist/detectors/concrete-evidence.js.map +1 -1
- package/dist/detectors/contrast-frame.d.ts +5 -0
- package/dist/detectors/contrast-frame.d.ts.map +1 -1
- package/dist/detectors/contrast-frame.js +53 -6
- package/dist/detectors/contrast-frame.js.map +1 -1
- package/dist/detectors/coordinate-adjective.d.ts +2 -1
- package/dist/detectors/coordinate-adjective.d.ts.map +1 -1
- package/dist/detectors/coordinate-adjective.js +4 -2
- package/dist/detectors/coordinate-adjective.js.map +1 -1
- package/dist/detectors/duplicate-heading.d.ts +4 -2
- package/dist/detectors/duplicate-heading.d.ts.map +1 -1
- package/dist/detectors/duplicate-heading.js +35 -11
- package/dist/detectors/duplicate-heading.js.map +1 -1
- package/dist/detectors/email-frame-words.d.ts +10 -0
- package/dist/detectors/email-frame-words.d.ts.map +1 -0
- package/dist/detectors/email-frame-words.js +34 -0
- package/dist/detectors/email-frame-words.js.map +1 -0
- package/dist/detectors/email-letter.d.ts +3 -7
- package/dist/detectors/email-letter.d.ts.map +1 -1
- package/dist/detectors/email-letter.js +13 -21
- package/dist/detectors/email-letter.js.map +1 -1
- package/dist/detectors/fullwidth-alnum.d.ts.map +1 -1
- package/dist/detectors/fullwidth-alnum.js +20 -4
- package/dist/detectors/fullwidth-alnum.js.map +1 -1
- package/dist/detectors/gram-furniture.d.ts +18 -1
- package/dist/detectors/gram-furniture.d.ts.map +1 -1
- package/dist/detectors/gram-furniture.js +71 -0
- package/dist/detectors/gram-furniture.js.map +1 -1
- package/dist/detectors/gram-openers.d.ts +16 -0
- package/dist/detectors/gram-openers.d.ts.map +1 -1
- package/dist/detectors/gram-openers.js +52 -0
- package/dist/detectors/gram-openers.js.map +1 -1
- package/dist/detectors/gram-predicate.d.ts.map +1 -1
- package/dist/detectors/gram-predicate.js +40 -7
- package/dist/detectors/gram-predicate.js.map +1 -1
- package/dist/detectors/gram-repetition.d.ts +3 -0
- package/dist/detectors/gram-repetition.d.ts.map +1 -0
- package/dist/detectors/gram-repetition.js +158 -0
- package/dist/detectors/gram-repetition.js.map +1 -0
- package/dist/detectors/heading-level-skip.d.ts +6 -0
- package/dist/detectors/heading-level-skip.d.ts.map +1 -1
- package/dist/detectors/heading-level-skip.js +24 -1
- package/dist/detectors/heading-level-skip.js.map +1 -1
- package/dist/detectors/heading-numbering.js +2 -2
- package/dist/detectors/heading-numbering.js.map +1 -1
- package/dist/detectors/hyphen-copied-text.d.ts +3 -0
- package/dist/detectors/hyphen-copied-text.d.ts.map +1 -0
- package/dist/detectors/hyphen-copied-text.js +49 -0
- package/dist/detectors/hyphen-copied-text.js.map +1 -0
- package/dist/detectors/kanji-name-edge.d.ts +15 -0
- package/dist/detectors/kanji-name-edge.d.ts.map +1 -1
- package/dist/detectors/kanji-name-edge.js +30 -0
- package/dist/detectors/kanji-name-edge.js.map +1 -1
- package/dist/detectors/kanji-run-pieces.d.ts +7 -0
- package/dist/detectors/kanji-run-pieces.d.ts.map +1 -1
- package/dist/detectors/kanji-run-pieces.js +14 -4
- package/dist/detectors/kanji-run-pieces.js.map +1 -1
- package/dist/detectors/kutoten-consistency.d.ts.map +1 -1
- package/dist/detectors/kutoten-consistency.js +22 -4
- package/dist/detectors/kutoten-consistency.js.map +1 -1
- package/dist/detectors/lead-in-dash.d.ts +5 -0
- package/dist/detectors/lead-in-dash.d.ts.map +1 -1
- package/dist/detectors/lead-in-dash.js +9 -0
- package/dist/detectors/lead-in-dash.js.map +1 -1
- package/dist/detectors/letter-joined-name.d.ts +2 -0
- package/dist/detectors/letter-joined-name.d.ts.map +1 -1
- package/dist/detectors/letter-joined-name.js +8 -0
- package/dist/detectors/letter-joined-name.js.map +1 -1
- package/dist/detectors/lexicon.d.ts.map +1 -1
- package/dist/detectors/lexicon.js +11 -2
- package/dist/detectors/lexicon.js.map +1 -1
- package/dist/detectors/list-item.d.ts +14 -0
- package/dist/detectors/list-item.d.ts.map +1 -1
- package/dist/detectors/list-item.js +30 -1
- package/dist/detectors/list-item.js.map +1 -1
- package/dist/detectors/list-items.d.ts +1 -1
- package/dist/detectors/list-items.d.ts.map +1 -1
- package/dist/detectors/list-items.js +2 -0
- package/dist/detectors/list-items.js.map +1 -1
- package/dist/detectors/list-joint.d.ts +18 -0
- package/dist/detectors/list-joint.d.ts.map +1 -0
- package/dist/detectors/list-joint.js +42 -0
- package/dist/detectors/list-joint.js.map +1 -0
- package/dist/detectors/list-layout.d.ts +14 -0
- package/dist/detectors/list-layout.d.ts.map +1 -0
- package/dist/detectors/list-layout.js +29 -0
- package/dist/detectors/list-layout.js.map +1 -0
- package/dist/detectors/list-lead-in.d.ts +6 -1
- package/dist/detectors/list-lead-in.d.ts.map +1 -1
- package/dist/detectors/list-lead-in.js +42 -2
- package/dist/detectors/list-lead-in.js.map +1 -1
- package/dist/detectors/list-parallel.d.ts +6 -0
- package/dist/detectors/list-parallel.d.ts.map +1 -1
- package/dist/detectors/list-parallel.js +106 -13
- package/dist/detectors/list-parallel.js.map +1 -1
- package/dist/detectors/list-run.d.ts +13 -0
- package/dist/detectors/list-run.d.ts.map +1 -0
- package/dist/detectors/list-run.js +80 -0
- package/dist/detectors/list-run.js.map +1 -0
- package/dist/detectors/list-sentence.d.ts +11 -0
- package/dist/detectors/list-sentence.d.ts.map +1 -1
- package/dist/detectors/list-sentence.js +1 -0
- package/dist/detectors/list-sentence.js.map +1 -1
- package/dist/detectors/mark-shape.d.ts +2 -1
- package/dist/detectors/mark-shape.d.ts.map +1 -1
- package/dist/detectors/mark-shape.js +10 -6
- package/dist/detectors/mark-shape.js.map +1 -1
- package/dist/detectors/name-run.d.ts +2 -0
- package/dist/detectors/name-run.d.ts.map +1 -1
- package/dist/detectors/name-run.js +1 -1
- package/dist/detectors/name-run.js.map +1 -1
- package/dist/detectors/name-variant-two-things.d.ts +18 -0
- package/dist/detectors/name-variant-two-things.d.ts.map +1 -0
- package/dist/detectors/name-variant-two-things.js +84 -0
- package/dist/detectors/name-variant-two-things.js.map +1 -0
- package/dist/detectors/name-variant.d.ts.map +1 -1
- package/dist/detectors/name-variant.js +14 -15
- package/dist/detectors/name-variant.js.map +1 -1
- package/dist/detectors/organisation-run.d.ts +6 -0
- package/dist/detectors/organisation-run.d.ts.map +1 -1
- package/dist/detectors/organisation-run.js +26 -2
- package/dist/detectors/organisation-run.js.map +1 -1
- package/dist/detectors/orthographic-variant-open.d.ts +35 -0
- package/dist/detectors/orthographic-variant-open.d.ts.map +1 -0
- package/dist/detectors/orthographic-variant-open.js +79 -0
- package/dist/detectors/orthographic-variant-open.js.map +1 -0
- package/dist/detectors/orthographic-variant.d.ts.map +1 -1
- package/dist/detectors/orthographic-variant.js +55 -59
- package/dist/detectors/orthographic-variant.js.map +1 -1
- package/dist/detectors/over-general-claim.d.ts.map +1 -1
- package/dist/detectors/over-general-claim.js +82 -4
- package/dist/detectors/over-general-claim.js.map +1 -1
- package/dist/detectors/oxford-comma.d.ts.map +1 -1
- package/dist/detectors/oxford-comma.js +61 -27
- package/dist/detectors/oxford-comma.js.map +1 -1
- package/dist/detectors/particle-run-names.d.ts +8 -0
- package/dist/detectors/particle-run-names.d.ts.map +1 -0
- package/dist/detectors/particle-run-names.js +17 -0
- package/dist/detectors/particle-run-names.js.map +1 -0
- package/dist/detectors/proper-noun-density.d.ts +13 -0
- package/dist/detectors/proper-noun-density.d.ts.map +1 -0
- package/dist/detectors/proper-noun-density.js +97 -0
- package/dist/detectors/proper-noun-density.js.map +1 -0
- package/dist/detectors/quoted-excerpt.d.ts +13 -0
- package/dist/detectors/quoted-excerpt.d.ts.map +1 -0
- package/dist/detectors/quoted-excerpt.js +53 -0
- package/dist/detectors/quoted-excerpt.js.map +1 -0
- package/dist/detectors/reference-entry.d.ts +7 -0
- package/dist/detectors/reference-entry.d.ts.map +1 -0
- package/dist/detectors/reference-entry.js +35 -0
- package/dist/detectors/reference-entry.js.map +1 -0
- package/dist/detectors/register-neutral-shape.d.ts +5 -2
- package/dist/detectors/register-neutral-shape.d.ts.map +1 -1
- package/dist/detectors/register-neutral-shape.js +21 -4
- package/dist/detectors/register-neutral-shape.js.map +1 -1
- package/dist/detectors/register-set-apart.d.ts +24 -0
- package/dist/detectors/register-set-apart.d.ts.map +1 -0
- package/dist/detectors/register-set-apart.js +102 -0
- package/dist/detectors/register-set-apart.js.map +1 -0
- package/dist/detectors/register-voice.d.ts +14 -0
- package/dist/detectors/register-voice.d.ts.map +1 -0
- package/dist/detectors/register-voice.js +47 -0
- package/dist/detectors/register-voice.js.map +1 -0
- package/dist/detectors/register.d.ts +5 -0
- package/dist/detectors/register.d.ts.map +1 -1
- package/dist/detectors/register.js +13 -0
- package/dist/detectors/register.js.map +1 -1
- package/dist/detectors/registry/closing-cliche.d.ts +3 -0
- package/dist/detectors/registry/closing-cliche.d.ts.map +1 -0
- package/dist/detectors/registry/closing-cliche.js +3 -0
- package/dist/detectors/registry/closing-cliche.js.map +1 -0
- package/dist/detectors/registry/closing-exhortation.d.ts +3 -0
- package/dist/detectors/registry/closing-exhortation.d.ts.map +1 -0
- package/dist/detectors/registry/closing-exhortation.js +3 -0
- package/dist/detectors/registry/closing-exhortation.js.map +1 -0
- package/dist/detectors/registry/cold-open.d.ts +3 -0
- package/dist/detectors/registry/cold-open.d.ts.map +1 -0
- package/dist/detectors/registry/cold-open.js +3 -0
- package/dist/detectors/registry/cold-open.js.map +1 -0
- package/dist/detectors/registry/colon-lead-in.js +1 -1
- package/dist/detectors/registry/colon-lead-in.js.map +1 -1
- package/dist/detectors/registry/concrete-evidence.js +1 -1
- package/dist/detectors/registry/concrete-evidence.js.map +1 -1
- package/dist/detectors/registry/ngram-repetition.js +1 -1
- package/dist/detectors/registry/ngram-repetition.js.map +1 -1
- package/dist/detectors/registry/proper-noun-density.js +1 -1
- package/dist/detectors/registry/proper-noun-density.js.map +1 -1
- package/dist/detectors/registry/topic-predicate-distance.js +1 -1
- package/dist/detectors/registry/topic-predicate-distance.js.map +1 -1
- package/dist/detectors/registry/unprompted-denial.d.ts +3 -0
- package/dist/detectors/registry/unprompted-denial.d.ts.map +1 -0
- package/dist/detectors/registry/unprompted-denial.js +3 -0
- package/dist/detectors/registry/unprompted-denial.js.map +1 -0
- package/dist/detectors/sentence-ending.d.ts +6 -1
- package/dist/detectors/sentence-ending.d.ts.map +1 -1
- package/dist/detectors/sentence-ending.js +42 -9
- 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 +25 -10
- package/dist/detectors/sentence-length.js.map +1 -1
- package/dist/detectors/sentence-load.d.ts +5 -3
- package/dist/detectors/sentence-load.d.ts.map +1 -1
- package/dist/detectors/sentence-load.js +3 -5
- package/dist/detectors/sentence-load.js.map +1 -1
- package/dist/detectors/sentence-parts.d.ts +9 -0
- package/dist/detectors/sentence-parts.d.ts.map +1 -0
- package/dist/detectors/sentence-parts.js +62 -0
- package/dist/detectors/sentence-parts.js.map +1 -0
- package/dist/detectors/sentence-title.d.ts +3 -0
- package/dist/detectors/sentence-title.d.ts.map +1 -1
- package/dist/detectors/sentence-title.js +10 -0
- package/dist/detectors/sentence-title.js.map +1 -1
- package/dist/detectors/signals.d.ts +0 -2
- package/dist/detectors/signals.d.ts.map +1 -1
- package/dist/detectors/signals.js +12 -163
- package/dist/detectors/signals.js.map +1 -1
- package/dist/detectors/structure-tree.d.ts.map +1 -1
- package/dist/detectors/structure-tree.js +1 -1
- package/dist/detectors/structure-tree.js.map +1 -1
- package/dist/detectors/structure.d.ts +9 -1
- package/dist/detectors/structure.d.ts.map +1 -1
- package/dist/detectors/structure.js +24 -11
- package/dist/detectors/structure.js.map +1 -1
- package/dist/detectors/superlative-clause.d.ts.map +1 -1
- package/dist/detectors/superlative-clause.js +19 -2
- package/dist/detectors/superlative-clause.js.map +1 -1
- package/dist/detectors/superlative-context.d.ts +35 -0
- package/dist/detectors/superlative-context.d.ts.map +1 -0
- package/dist/detectors/superlative-context.js +71 -0
- package/dist/detectors/superlative-context.js.map +1 -0
- package/dist/detectors/superlative-scope.d.ts +6 -2
- package/dist/detectors/superlative-scope.d.ts.map +1 -1
- package/dist/detectors/superlative-scope.js +20 -6
- package/dist/detectors/superlative-scope.js.map +1 -1
- package/dist/detectors/team.d.ts +0 -1
- package/dist/detectors/team.d.ts.map +1 -1
- package/dist/detectors/team.js +0 -46
- package/dist/detectors/team.js.map +1 -1
- package/dist/detectors/titled-code-citation.d.ts +12 -0
- package/dist/detectors/titled-code-citation.d.ts.map +1 -0
- package/dist/detectors/titled-code-citation.js +11 -0
- package/dist/detectors/titled-code-citation.js.map +1 -0
- package/dist/detectors/titled-run.d.ts +8 -1
- package/dist/detectors/titled-run.d.ts.map +1 -1
- package/dist/detectors/titled-run.js +14 -4
- package/dist/detectors/titled-run.js.map +1 -1
- package/dist/detectors/token-shape.d.ts.map +1 -1
- package/dist/detectors/token-shape.js +22 -11
- package/dist/detectors/token-shape.js.map +1 -1
- package/dist/detectors/topic-predicate-distance.d.ts +4 -0
- package/dist/detectors/topic-predicate-distance.d.ts.map +1 -0
- package/dist/detectors/topic-predicate-distance.js +22 -0
- package/dist/detectors/topic-predicate-distance.js.map +1 -0
- package/dist/detectors/unknown-word-context.d.ts +28 -0
- package/dist/detectors/unknown-word-context.d.ts.map +1 -0
- package/dist/detectors/unknown-word-context.js +89 -0
- package/dist/detectors/unknown-word-context.js.map +1 -0
- package/dist/detectors/unknown-word.d.ts +0 -5
- package/dist/detectors/unknown-word.d.ts.map +1 -1
- package/dist/detectors/unknown-word.js +16 -19
- package/dist/detectors/unknown-word.js.map +1 -1
- package/dist/detectors/unprompted-denial.d.ts +25 -0
- package/dist/detectors/unprompted-denial.d.ts.map +1 -0
- package/dist/detectors/unprompted-denial.js +100 -0
- package/dist/detectors/unprompted-denial.js.map +1 -0
- package/dist/document-sections.d.ts.map +1 -1
- package/dist/document-sections.js +3 -1
- package/dist/document-sections.js.map +1 -1
- package/dist/fix-plan/all-signs.d.ts +17 -0
- package/dist/fix-plan/all-signs.d.ts.map +1 -0
- package/dist/fix-plan/all-signs.js +26 -0
- package/dist/fix-plan/all-signs.js.map +1 -0
- package/dist/fix-plan/plan.d.ts +31 -0
- package/dist/fix-plan/plan.d.ts.map +1 -1
- package/dist/fix-plan/plan.js +23 -3
- package/dist/fix-plan/plan.js.map +1 -1
- package/dist/fix-plan/render.d.ts.map +1 -1
- package/dist/fix-plan/render.js +31 -2
- package/dist/fix-plan/render.js.map +1 -1
- package/dist/fix-plan/risen.d.ts +10 -0
- package/dist/fix-plan/risen.d.ts.map +1 -0
- package/dist/fix-plan/risen.js +7 -0
- package/dist/fix-plan/risen.js.map +1 -0
- package/dist/fix-plan/text.d.ts +15 -0
- package/dist/fix-plan/text.d.ts.map +1 -1
- package/dist/fix-plan/text.js +38 -2
- package/dist/fix-plan/text.js.map +1 -1
- package/dist/heading-numbering.d.ts +2 -1
- package/dist/heading-numbering.d.ts.map +1 -1
- package/dist/heading-numbering.js +40 -10
- package/dist/heading-numbering.js.map +1 -1
- package/dist/html/html-site-chrome.d.ts.map +1 -1
- package/dist/html/html-site-chrome.js +7 -2
- package/dist/html/html-site-chrome.js.map +1 -1
- package/dist/law-title.d.ts +7 -0
- package/dist/law-title.d.ts.map +1 -0
- package/dist/law-title.js +29 -0
- package/dist/law-title.js.map +1 -0
- package/dist/name-ending-run.d.ts +11 -0
- package/dist/name-ending-run.d.ts.map +1 -0
- package/dist/name-ending-run.js +37 -0
- package/dist/name-ending-run.js.map +1 -0
- package/dist/name-title-slip.d.ts +11 -0
- package/dist/name-title-slip.d.ts.map +1 -0
- package/dist/name-title-slip.js +51 -0
- package/dist/name-title-slip.js.map +1 -0
- package/dist/name-variant-shapes.d.ts +14 -0
- package/dist/name-variant-shapes.d.ts.map +1 -0
- package/dist/name-variant-shapes.js +43 -0
- package/dist/name-variant-shapes.js.map +1 -0
- package/dist/name-word-use.d.ts +5 -0
- package/dist/name-word-use.d.ts.map +1 -0
- package/dist/name-word-use.js +12 -0
- package/dist/name-word-use.js.map +1 -0
- package/dist/opening-passage.d.ts +8 -0
- package/dist/opening-passage.d.ts.map +1 -0
- package/dist/opening-passage.js +24 -0
- package/dist/opening-passage.js.map +1 -0
- package/dist/plugin.d.ts +2 -0
- package/dist/plugin.d.ts.map +1 -1
- package/dist/quote-gloss.d.ts +4 -0
- package/dist/quote-gloss.d.ts.map +1 -0
- package/dist/quote-gloss.js +7 -0
- package/dist/quote-gloss.js.map +1 -0
- package/dist/quoted-spelling.d.ts +17 -0
- package/dist/quoted-spelling.d.ts.map +1 -0
- package/dist/quoted-spelling.js +27 -0
- package/dist/quoted-spelling.js.map +1 -0
- package/dist/render/semantic.d.ts +1 -1
- package/dist/render/semantic.d.ts.map +1 -1
- package/dist/render/semantic.js +2 -1
- package/dist/render/semantic.js.map +1 -1
- package/dist/rule-of-three.d.ts +19 -0
- package/dist/rule-of-three.d.ts.map +1 -0
- package/dist/rule-of-three.js +33 -0
- package/dist/rule-of-three.js.map +1 -0
- package/dist/run-semantic.d.ts.map +1 -1
- package/dist/run-semantic.js +2 -2
- package/dist/run-semantic.js.map +1 -1
- package/dist/section-levels.d.ts +18 -0
- package/dist/section-levels.d.ts.map +1 -0
- package/dist/section-levels.js +80 -0
- package/dist/section-levels.js.map +1 -0
- package/dist/semantic.d.ts +2 -0
- package/dist/semantic.d.ts.map +1 -1
- package/dist/semantic.js +13 -0
- package/dist/semantic.js.map +1 -1
- package/dist/sentence-load.d.ts +2 -1
- package/dist/sentence-load.d.ts.map +1 -1
- package/dist/sentence-load.js +4 -2
- package/dist/sentence-load.js.map +1 -1
- package/dist/spelling.d.ts +11 -0
- package/dist/spelling.d.ts.map +1 -1
- package/dist/spelling.js +19 -5
- package/dist/spelling.js.map +1 -1
- package/dist/structure/cited-document-section.d.ts.map +1 -1
- package/dist/structure/cited-document-section.js +15 -1
- package/dist/structure/cited-document-section.js.map +1 -1
- package/dist/structure/issues.d.ts +1 -1
- package/dist/structure/issues.d.ts.map +1 -1
- package/dist/structure/issues.js +5 -1
- package/dist/structure/issues.js.map +1 -1
- package/dist/structure-shape/template-outline.d.ts +11 -0
- package/dist/structure-shape/template-outline.d.ts.map +1 -0
- package/dist/structure-shape/template-outline.js +25 -0
- package/dist/structure-shape/template-outline.js.map +1 -0
- package/dist/title-case-name.d.ts +12 -0
- package/dist/title-case-name.d.ts.map +1 -0
- package/dist/title-case-name.js +37 -0
- package/dist/title-case-name.js.map +1 -0
- package/dist/topic-clause.d.ts +6 -1
- package/dist/topic-clause.d.ts.map +1 -1
- package/dist/topic-clause.js +77 -3
- package/dist/topic-clause.js.map +1 -1
- package/dist/word-use.d.ts +12 -4
- package/dist/word-use.d.ts.map +1 -1
- package/dist/word-use.js +47 -5
- package/dist/word-use.js.map +1 -1
- package/package.json +4 -3
- package/rules/ai-generated-composite.yaml +11 -3
- package/rules/ai-structure.yaml +7 -6
- package/rules/ai-tell.yaml +4 -4
- package/rules/all-caps-shouting.yaml +2 -2
- package/rules/bold-emphasis.yaml +5 -4
- package/rules/closing-cliche.yaml +4 -5
- package/rules/closing-exhortation.yaml +74 -0
- package/rules/cold-open.yaml +95 -0
- package/rules/colon-lead-in.yaml +68 -10
- package/rules/comparative-without-baseline.yaml +2 -2
- package/rules/concrete-evidence-density.yaml +2 -2
- package/rules/contrast-framing.yaml +16 -13
- package/rules/dangling-reference.yaml +2 -2
- package/rules/duplicate-heading.yaml +5 -2
- package/rules/email-greeting-closing.yaml +2 -2
- package/rules/email-stock-courtesy.yaml +62 -0
- package/rules/fullwidth-alnum-consistency.yaml +2 -2
- package/rules/generic-opening.yaml +63 -0
- package/rules/heading-level-skip.yaml +2 -2
- package/rules/heading-numbering-mix.yaml +20 -20
- package/rules/hyphen-as-dash.yaml +2 -2
- package/rules/kutoten-consistency.yaml +4 -4
- package/rules/list-item-form-mix.yaml +2 -2
- package/rules/max-kanji-continuous.yaml +7 -3
- package/rules/max-sentence-length.yaml +4 -2
- package/rules/name-variant.yaml +5 -2
- package/rules/ngram-repetition.yaml +2 -2
- package/rules/no-doubled-joshi.yaml +2 -2
- package/rules/no-em-dash.yaml +2 -2
- package/rules/no-mixed-desumasu.yaml +16 -3
- package/rules/orthographic-variant.yaml +2 -2
- package/rules/over-general-claim.yaml +2 -2
- package/rules/oxford-comma-consistency.yaml +15 -3
- package/rules/proper-noun-density.yaml +14 -7
- package/rules/rule-of-three.yaml +3 -3
- package/rules/section-length-uniformity.yaml +2 -2
- package/rules/topic-predicate-distance.yaml +3 -2
- package/rules/undefined-acronym.yaml +8 -2
- package/rules/unknown-word.yaml +2 -2
- package/rules/unprompted-denial.yaml +88 -0
- package/rules/unqualified-superlative.yaml +8 -2
- package/skills/chaff/SKILL.md +38 -6
- package/src/acronym-expansion.ts +57 -0
- package/src/ai-score/human-shares.ts +53 -12
- package/src/ai-score/of-document.ts +5 -2
- package/src/body-section.ts +11 -2
- package/src/capitals-with-small.ts +16 -0
- package/src/checks.ts +32 -1
- package/src/cli-args.ts +1 -1
- package/src/cli-text.ts +4 -0
- package/src/commands/fix-plan.ts +72 -5
- package/src/commands/test.ts +18 -2
- package/src/detectors/acronym-context.ts +20 -2
- package/src/detectors/acronym-expansion.ts +26 -0
- package/src/detectors/acronym-gloss.ts +123 -0
- package/src/detectors/acronym-name.ts +22 -3
- package/src/detectors/acronym-series.ts +27 -0
- package/src/detectors/ai-phrasing.ts +18 -17
- package/src/detectors/ai-structure.ts +23 -6
- package/src/detectors/alnum-number.ts +8 -3
- package/src/detectors/bare-comparative.ts +41 -13
- package/src/detectors/bold-emphasis-form.ts +58 -0
- package/src/detectors/bold-emphasis.ts +16 -17
- package/src/detectors/caps-caption.ts +24 -2
- package/src/detectors/char-shape.ts +118 -29
- package/src/detectors/chat-log-line.ts +17 -0
- package/src/detectors/citation-string.ts +36 -0
- package/src/detectors/closing-cliche.ts +74 -0
- package/src/detectors/closing-exhortation.ts +74 -0
- package/src/detectors/cold-open.ts +145 -0
- package/src/detectors/comparative-context.ts +74 -0
- package/src/detectors/concrete-evidence-density.ts +99 -0
- package/src/detectors/concrete-evidence.ts +40 -0
- package/src/detectors/contrast-frame.ts +65 -7
- package/src/detectors/coordinate-adjective.ts +4 -2
- package/src/detectors/duplicate-heading.ts +44 -15
- package/src/detectors/email-frame-words.ts +39 -0
- package/src/detectors/email-letter.ts +15 -20
- package/src/detectors/fullwidth-alnum.ts +24 -4
- package/src/detectors/gram-furniture.ts +87 -1
- package/src/detectors/gram-openers.ts +71 -0
- package/src/detectors/gram-predicate.ts +49 -6
- package/src/detectors/gram-repetition.ts +199 -0
- package/src/detectors/heading-level-skip.ts +31 -1
- package/src/detectors/heading-numbering.ts +2 -2
- package/src/detectors/hyphen-copied-text.ts +65 -0
- package/src/detectors/kanji-name-edge.ts +31 -0
- package/src/detectors/kanji-run-pieces.ts +26 -0
- package/src/detectors/kutoten-consistency.ts +24 -4
- package/src/detectors/lead-in-dash.ts +11 -0
- package/src/detectors/letter-joined-name.ts +14 -0
- package/src/detectors/lexicon.ts +15 -2
- package/src/detectors/list-item.ts +37 -1
- package/src/detectors/list-items.ts +4 -1
- package/src/detectors/list-joint.ts +44 -0
- package/src/detectors/list-layout.ts +39 -0
- package/src/detectors/list-lead-in.ts +50 -3
- package/src/detectors/list-parallel.ts +119 -13
- package/src/detectors/list-run.ts +86 -0
- package/src/detectors/list-sentence.ts +11 -0
- package/src/detectors/mark-shape.ts +12 -7
- package/src/detectors/name-run.ts +2 -1
- package/src/detectors/name-variant-two-things.ts +136 -0
- package/src/detectors/name-variant.ts +14 -19
- package/src/detectors/organisation-run.ts +26 -2
- package/src/detectors/orthographic-variant-open.ts +119 -0
- package/src/detectors/orthographic-variant.ts +82 -82
- package/src/detectors/over-general-claim.ts +106 -5
- package/src/detectors/oxford-comma.ts +68 -28
- package/src/detectors/particle-run-names.ts +17 -0
- package/src/detectors/proper-noun-density.ts +109 -0
- package/src/detectors/quoted-excerpt.ts +68 -0
- package/src/detectors/reference-entry.ts +42 -0
- package/src/detectors/register-neutral-shape.ts +26 -6
- package/src/detectors/register-set-apart.ts +124 -0
- package/src/detectors/register-voice.ts +63 -0
- package/src/detectors/register.ts +15 -0
- package/src/detectors/registry/closing-cliche.ts +4 -0
- package/src/detectors/registry/closing-exhortation.ts +4 -0
- package/src/detectors/registry/cold-open.ts +4 -0
- package/src/detectors/registry/colon-lead-in.ts +1 -1
- package/src/detectors/registry/concrete-evidence.ts +1 -1
- package/src/detectors/registry/ngram-repetition.ts +1 -1
- package/src/detectors/registry/proper-noun-density.ts +1 -1
- package/src/detectors/registry/topic-predicate-distance.ts +1 -1
- package/src/detectors/registry/unprompted-denial.ts +4 -0
- package/src/detectors/sentence-ending.ts +60 -12
- package/src/detectors/sentence-length.ts +26 -9
- package/src/detectors/sentence-load.ts +3 -6
- package/src/detectors/sentence-parts.ts +70 -0
- package/src/detectors/sentence-title.ts +14 -0
- package/src/detectors/signals.ts +13 -198
- package/src/detectors/structure-tree.ts +3 -1
- package/src/detectors/structure.ts +25 -13
- package/src/detectors/superlative-clause.ts +21 -2
- package/src/detectors/superlative-context.ts +99 -0
- package/src/detectors/superlative-scope.ts +27 -9
- package/src/detectors/team.ts +1 -50
- package/src/detectors/titled-code-citation.ts +19 -0
- package/src/detectors/titled-run.ts +22 -5
- package/src/detectors/token-shape.ts +25 -13
- package/src/detectors/topic-predicate-distance.ts +25 -0
- package/src/detectors/unknown-word-context.ts +112 -0
- package/src/detectors/unknown-word.ts +18 -20
- package/src/detectors/unprompted-denial.ts +133 -0
- package/src/document-sections.ts +3 -1
- package/src/fix-plan/all-signs.ts +35 -0
- package/src/fix-plan/plan.ts +50 -3
- package/src/fix-plan/render.ts +41 -3
- package/src/fix-plan/risen.ts +13 -0
- package/src/fix-plan/text.ts +56 -2
- package/src/heading-numbering.ts +44 -10
- package/src/html/html-site-chrome.ts +9 -2
- package/src/law-title.ts +38 -0
- package/src/name-ending-run.ts +49 -0
- package/src/name-title-slip.ts +59 -0
- package/src/name-variant-shapes.ts +58 -0
- package/src/name-word-use.ts +17 -0
- package/src/opening-passage.ts +31 -0
- package/src/plugin.ts +2 -0
- package/src/quote-gloss.ts +11 -0
- package/src/quoted-spelling.ts +48 -0
- package/src/render/semantic.ts +2 -2
- package/src/rule-of-three.ts +50 -0
- package/src/run-semantic.ts +2 -2
- package/src/section-levels.ts +98 -0
- package/src/semantic.ts +14 -0
- package/src/sentence-load.ts +5 -3
- package/src/spelling.ts +37 -7
- package/src/structure/cited-document-section.ts +16 -1
- package/src/structure/issues.ts +10 -1
- package/src/structure-shape/template-outline.ts +34 -0
- package/src/title-case-name.ts +55 -0
- package/src/topic-clause.ts +96 -5
- package/src/word-use.ts +57 -6
- 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-structure.yaml
CHANGED
|
@@ -10,8 +10,8 @@ name:
|
|
|
10
10
|
en: The outline is unlike human articles
|
|
11
11
|
|
|
12
12
|
why:
|
|
13
|
-
ja: 生成した記事は、文より先に構成に形が出ます。一段落ごとの見出し、3 つに分けた小見出し、太字の札の箇条書き、同じ長さの節、本文を言い直すまとめです。どれも 1 つなら人の記事にもあります。chaff は見出しの多さや節の長さのばらつきなどの項目を、生成 AI が広まる前の人の記事と比べ、人の記事の 9
|
|
14
|
-
en: Generated articles show their shape in the outline before the sentences, with a heading every paragraph, headings split into three, bold-label lists, sections of one size, and a closing that restates the body. Each of these turns up in human articles too. chaff compares measures such as heading density and section length variation with articles written before generated text was common, and counts how many lie past 90% of those articles. **Even then it does not say the text was generated.** It marks an outline to rethink.
|
|
13
|
+
ja: 生成した記事は、文より先に構成に形が出ます。一段落ごとの見出し、3 つに分けた小見出し、太字の札の箇条書き、同じ長さの節、本文を言い直すまとめです。どれも 1 つなら人の記事にもあります。chaff は見出しの多さや節の長さのばらつきなどの項目を、生成 AI が広まる前の人の記事と比べ、人の記事の 9 割を超えた項目がいくつそろったかを数えます。提案書や報告書が「背景」「提案」「期待される効果」「費用」「リスクと対策」のような教科書どおりの見出しを 4 種類以上並べていれば、それも 1 項目に数えます。**これでも「AI が書いた」とは言えません。** 構成を見直す目印です。
|
|
14
|
+
en: Generated articles show their shape in the outline before the sentences, with a heading every paragraph, headings split into three, bold-label lists, sections of one size, and a closing that restates the body. Each of these turns up in human articles too. chaff compares measures such as heading density and section length variation with articles written before generated text was common, and counts how many lie past 90% of those articles. A proposal or report whose headings run through four or more sections of the textbook outline (Summary, Current Situation, Proposed Solution, Expected Benefits, Costs, Risks and Mitigation…) counts as one more. **Even then it does not say the text was generated.** It marks an outline to rethink.
|
|
15
15
|
|
|
16
16
|
message:
|
|
17
17
|
ja: 構成の {count} 項目が、人の記事の 9 割を超えています({limit} 項目から)。{word}
|
|
@@ -24,8 +24,9 @@ how_to_fix:
|
|
|
24
24
|
# 人の記事の 9 割を超えた項目が何個そろったら出すか。人の記事で何個そろうかは scripts/structure-baseline.ts --values で数え直せる。
|
|
25
25
|
levels: { strict: 2, normal: 3, relaxed: 4 }
|
|
26
26
|
|
|
27
|
-
#
|
|
28
|
-
|
|
27
|
+
# 基準にした人の記事はブログ。ビジネス文書は、教科書どおりの提案書の見出し(語彙表 template-heading)も 1 項目に数えて見る。
|
|
28
|
+
# 法務・説明書・論文・話し言葉は見出しの立て方がもともと違うので、off_for で止める。
|
|
29
|
+
use_for: [blog, business, legal, docs, academic, literature, speech]
|
|
29
30
|
off_for:
|
|
30
31
|
legal: "Legal drafting repeats its terms and its sentence heads on purpose, puts the actor in the passive (shall be deemed), and joins long noun compounds (個人情報取扱事業者). This rule would only flag the form."
|
|
31
32
|
docs: "A help page repeats its heading in its first line (To upload a file, ...) and states no claims to back up."
|
|
@@ -129,8 +130,8 @@ example:
|
|
|
129
130
|
So we chose topics from the week's work, cut each slot to five minutes and kept notes. What kept it going was the format, not willpower.
|
|
130
131
|
|
|
131
132
|
not_flagged:
|
|
132
|
-
ja:
|
|
133
|
-
en: A document without headings is not checked. A measure the document is too small for (a short text, few sections or lists) is not counted.
|
|
133
|
+
ja: 見出しの無い文書は見ません。項目ごとに、測るのに足りない文書(短い文書、節や箇条書きの少ない文書)はその項目を数えません。定型の見出しは、4 種類に届かなければ数えません(本物の提案書にも 1 つ 2 つはあります)。法務・説明書・論文・話し言葉のジャンルでは見ません(`chaff outline` と `chaff fix-plan` は、どのジャンルでも構成を測ります。定型の見出しはこの rule だけが数えます)。
|
|
134
|
+
en: A document without headings is not checked. A measure the document is too small for (a short text, few sections or lists) is not counted. Template headings count only when four or more sections of the textbook outline stand as headings; a real proposal has one or two. Legal, documentation, academic and speech genres do not run this rule (`chaff outline` and `chaff fix-plan` measure the structure in any genre; only this rule counts the template headings).
|
|
134
135
|
level_meaning:
|
|
135
136
|
ja: 人の記事の 9 割を超えた項目が {limit} 個そろえば指摘
|
|
136
137
|
en: reported once {limit} measures lie past 90% of human articles
|
package/rules/ai-tell.yaml
CHANGED
|
@@ -35,12 +35,12 @@ sources: [kobak-2025, liang-2024, juzek-ward-2025]
|
|
|
35
35
|
|
|
36
36
|
group: ai-tells
|
|
37
37
|
summary:
|
|
38
|
-
ja:
|
|
38
|
+
ja: 「大きな可能性を秘める」「と言えるでしょう」のような、生成された文章にありがちな言い回しが重なった所
|
|
39
39
|
en: Phrases common in generated text ("delve into", "plays a crucial role") piled up
|
|
40
40
|
example:
|
|
41
41
|
ja:
|
|
42
42
|
before: |
|
|
43
|
-
|
|
43
|
+
現代社会において、データは大きな可能性を秘めていると言えるのではないでしょうか。
|
|
44
44
|
after: |
|
|
45
45
|
当社では、在庫の数を毎朝データで確かめてから発注しています。
|
|
46
46
|
en:
|
|
@@ -60,7 +60,7 @@ rewrite:
|
|
|
60
60
|
ja:
|
|
61
61
|
direction: 決まった言い回しを、その文が実際に言っている中身(誰が、何を、どれだけ)に置き換えてください。中身の無い文は消してください。
|
|
62
62
|
pairs:
|
|
63
|
-
- before:
|
|
63
|
+
- before: 現代社会において、在庫データは発注の判断で重要な役割を担っています。
|
|
64
64
|
after: 発注は在庫データを見て決めています。
|
|
65
65
|
- before: 原因の調査に三日間、時間を溶かしました。
|
|
66
66
|
after: 原因の調査に三日かかりました。
|
|
@@ -71,7 +71,7 @@ rewrite:
|
|
|
71
71
|
- 書き手の確かさ(言い切りか、推量か)
|
|
72
72
|
avoid:
|
|
73
73
|
- 書き手が書いていない例や数字を作る
|
|
74
|
-
-
|
|
74
|
+
- 決まり文句を別の決まり文句に替える(「重要な役割を担う」を「欠かせない存在だ」に)
|
|
75
75
|
- どの段落も同じ形に書き揃える
|
|
76
76
|
en:
|
|
77
77
|
direction: Replace the stock phrase with what the sentence actually claims, who does what and how much. If nothing is claimed, delete the sentence.
|
|
@@ -41,8 +41,8 @@ example:
|
|
|
41
41
|
Do not delete the log. Do not delete this file before the audit.
|
|
42
42
|
|
|
43
43
|
not_flagged:
|
|
44
|
-
ja: 三語以上の連なりだけを見ます。略語の並び(文書のほかの所で小文字で書かれない語)とコードは見ません。仕様書の MUST や SHALL は慣習の大文字として数えません。段落の頭に置いた大文字の見出し語(「AGENCY:」「WORKING GROUP MEMBERS」のように、コロンで終わるか一行で段落になるもの)と、本文でその見出し語を挙げた所も見ません。全部の行が大文字で文で終わらない段落(「BOARD OF GOVERNORS」で始まるレターヘッドや宛名、議事録が一行で立てる「OPENING STATEMENT OF HON. JANE DOE,」のような見出し)と、名簿の欄の「JANE Q. DOE, Ohio
|
|
45
|
-
en: Only runs of three or more words. Runs of acronyms (words never written in lower case elsewhere) and code are not reported, and MUST or SHALL in a specification count as conventional capitals. A caption in capitals that opens a paragraph and ends in a colon or stands alone ("AGENCY:", "WORKING GROUP MEMBERS"), and prose naming such a caption, are not reported either. Nor is a paragraph whose lines are all in capitals and end no sentence, such as a letterhead, an addressee block ("BOARD OF GOVERNORS") or a heading a transcript sets on a line of its own ("OPENING STATEMENT OF HON. JANE DOE,"), nor a roster entry that gives a name in capitals and the place or office in ordinary case ("JANE Q. DOE, Ohio"). The legal and literature presets turn it off, since contracts set disclaimers in capitals by rule and older texts set titles that way.
|
|
44
|
+
ja: 三語以上の連なりだけを見ます。略語の並び(文書のほかの所で小文字で書かれない語)とコードは見ません。仕様書の MUST や SHALL は慣習の大文字として数えません。段落の頭に置いた大文字の見出し語(「AGENCY:」「WORKING GROUP MEMBERS」のように、コロンで終わるか一行で段落になるもの)と、本文でその見出し語を挙げた所も見ません。全部の行が大文字で文で終わらない段落(「BOARD OF GOVERNORS」で始まるレターヘッドや宛名、議事録が一行で立てる「OPENING STATEMENT OF HON. JANE DOE,」のような見出し)と、名簿の欄の「JANE Q. DOE, Ohio」「JANE Q. DOE, Ohio, Chairman」のように大文字の名前の後ろに普通の書き方の地名や役職が続くもの、角かっこの中に大文字だけで置いた差し替えの印(「[GRAPHIC(S) NOT AVAILABLE IN TIFF FORMAT]」「[NAME WITHHELD]」のように、出版元や編者が省いた所に置くもの)も見ません。法令と文学の文書では既定で止めています(大文字で目立たせる決まりや、題を大文字で組む慣習があるため)。
|
|
45
|
+
en: Only runs of three or more words. Runs of acronyms (words never written in lower case elsewhere) and code are not reported, and MUST or SHALL in a specification count as conventional capitals. A caption in capitals that opens a paragraph and ends in a colon or stands alone ("AGENCY:", "WORKING GROUP MEMBERS"), and prose naming such a caption, are not reported either. Nor is a paragraph whose lines are all in capitals and end no sentence, such as a letterhead, an addressee block ("BOARD OF GOVERNORS") or a heading a transcript sets on a line of its own ("OPENING STATEMENT OF HON. JANE DOE,"), nor a roster entry that gives a name in capitals and the place or office in ordinary case ("JANE Q. DOE, Ohio", "JANE Q. DOE, Ohio, Chairman"), nor a placeholder in square brackets wholly in capitals, which a publisher or editor puts where the text leaves something out ("[GRAPHIC(S) NOT AVAILABLE IN TIFF FORMAT]", "[NAME WITHHELD]"). The legal and literature presets turn it off, since contracts set disclaimers in capitals by rule and older texts set titles that way.
|
|
46
46
|
level_meaning:
|
|
47
47
|
ja: "{limit} 箇所あれば指摘"
|
|
48
48
|
en: reported once there are {limit}
|
package/rules/bold-emphasis.yaml
CHANGED
|
@@ -21,10 +21,11 @@ how_to_fix:
|
|
|
21
21
|
ja: 太字をいったん全部外し、見落とすと困る所だけを一つ二つ太字に戻してください。
|
|
22
22
|
en: Unbold everything, then bold again only the one or two places a reader must not miss.
|
|
23
23
|
|
|
24
|
-
# 文書全体の 1000 語(日本語は 1000
|
|
24
|
+
# 文書全体の 1000 語(日本語は 1000 字)あたりの数。行と段落の頭の太字(札・見出し・欄)と、文の途中の大文字の名前は数えない。
|
|
25
|
+
# en はそれらを数えなくなって人の文書の値が下がったので、上限も下げた(isamu/chaff-corpus の en で、この rule を見るジャンルの人の文書は normal の下)。
|
|
25
26
|
levels:
|
|
26
27
|
ja: { strict: 6, normal: 10, relaxed: 15 }
|
|
27
|
-
en: { strict:
|
|
28
|
+
en: { strict: 2, normal: 4, relaxed: 7 }
|
|
28
29
|
|
|
29
30
|
use_for: [blog, business, technical/readme, legal, docs, academic, literature, speech]
|
|
30
31
|
off_for:
|
|
@@ -78,8 +79,8 @@ example:
|
|
|
78
79
|
戻せるかどうかは**月に一度**確かめ、困る前に気付けるようにします。
|
|
79
80
|
|
|
80
81
|
not_flagged:
|
|
81
|
-
ja: 太字が 2
|
|
82
|
-
en: A document with two bold spans or fewer, and a short document, are not measured.
|
|
82
|
+
ja: 太字が 2 つまでの文書と、短い文書は測りません。行と段落(または箇条書きの項目)の頭に立つ太字は、札・見出し・欄の名前なので数えません(「- **速さ**:」「- **給与は同じ。**」「**差出人:**」「**長所:**」)。箇条書きの札は bold-label-list が数えます。文の途中でも、大文字で始まる太字(「**Add Printer** を押す」)はボタンや設定の名前なので数えません。表のセルと見出しの中の太字も数えません。README・議事録・説明書・法務・論文・文学・話し言葉のジャンルでは見ません。機能や項目の名前を太字にするのがその形だからです。
|
|
83
|
+
en: A document with two bold spans or fewer, and a short document, are not measured. Bold that opens its line and its paragraph or list item is a label, a lead sentence, a field or a run-in heading ("- **Speed**:", "- **Same pay.**", "**From:**", "**Pros:**") and is not counted; bold-label-list counts the list labels. A capitalised bold inside a sentence ("click **Add Printer**") names a button, a setting or a title and is not counted either, nor is bold inside a table cell or a heading. READMEs, meeting notes, documentation, legal, academic, literary and speech genres do not run this rule, since they bold feature names and fields as their layout.
|
|
83
84
|
level_meaning:
|
|
84
85
|
ja: 太字の強調が 1000 字あたり {limit} 箇所まで
|
|
85
86
|
en: up to {limit} bold spans of emphasis per 1000 words
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
id: closing-cliche
|
|
2
2
|
layer: L2
|
|
3
3
|
status: stable
|
|
4
|
-
how_to_find:
|
|
4
|
+
how_to_find: closing-cliche
|
|
5
5
|
word_list: closing-cliche
|
|
6
6
|
uses: [pos]
|
|
7
|
-
where: closing
|
|
8
7
|
severity: warning
|
|
9
8
|
|
|
10
9
|
name:
|
|
@@ -63,8 +62,8 @@ example:
|
|
|
63
62
|
Changing one line of the settings made the build twice as fast. Next, we will try running the tests in parallel.
|
|
64
63
|
|
|
65
64
|
not_flagged:
|
|
66
|
-
ja:
|
|
67
|
-
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.
|
|
65
|
+
ja: 最後の節の、終わりの四段落だけを見ます。見出しの無い文書でも同じです。文書の最初の段落と、それより前の本文の「まとめると」は普通のつなぎなので指しません。箇条書きの中も見ません。「〜してみてほしい」「楽しんでください!」のような読み手への願いは、最後の段落にあるときだけ指します。本文の途中なら普通の勧めです。
|
|
66
|
+
en: Only the last four paragraphs of the last section are checked, with or without headings; the document's first paragraph and "to sum up" earlier in the text are ordinary links and are not reported. List items are not checked. A send-off such as "Happy brewing!" or "and go from there" counts only in the last paragraph; earlier it is ordinary text.
|
|
68
67
|
level_meaning:
|
|
69
68
|
ja: 当てはまる結びが {limit} 箇所あれば指摘
|
|
70
69
|
en: reported once there are {limit}
|
|
@@ -76,7 +75,7 @@ rewrite:
|
|
|
76
75
|
- before: 設定は管理画面の一か所で変えられます。いかがでしたか?参考になれば幸いです。
|
|
77
76
|
after: 設定は管理画面の一か所で変えられます。
|
|
78
77
|
- before: 以上、キャッシュの消し方について解説しました。
|
|
79
|
-
after:
|
|
78
|
+
after: キャッシュは、設定を変えるたびに消す必要があります。(本文の結論がこれであるとき)
|
|
80
79
|
keep:
|
|
81
80
|
- 本文の結論
|
|
82
81
|
avoid:
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
id: closing-exhortation
|
|
2
|
+
layer: L2
|
|
3
|
+
status: stable
|
|
4
|
+
how_to_find: closing-exhortation
|
|
5
|
+
word_list: closing-exhortation
|
|
6
|
+
uses: [pos]
|
|
7
|
+
severity: info
|
|
8
|
+
|
|
9
|
+
name:
|
|
10
|
+
ja: 結びで励ます・請け合う文が重なる
|
|
11
|
+
en: A closing that cheers the reader on
|
|
12
|
+
|
|
13
|
+
why:
|
|
14
|
+
ja: 「ぜひ〜してみてください」「きっと〜はずです」「You've got this」で結ぶ記事は、中身の代わりに読み手を励まして終わります。1 つなら人も書きますが、結びに重なると、生成文によくある型に見えます。
|
|
15
|
+
en: '"Give it a try, you''ll be glad you did", "You''ve got this", "Happy baking!" end a post by cheering the reader on instead of saying something. One is ordinary; several in the closing read like the stock ending of generated text.'
|
|
16
|
+
|
|
17
|
+
message:
|
|
18
|
+
ja: 「{matched}」など、結びで励ます・請け合う文が {count} 個あります({limit} 個から)
|
|
19
|
+
en: '"{matched}" and other cheering lines close the text: {count} ({limit} needed)'
|
|
20
|
+
|
|
21
|
+
how_to_fix:
|
|
22
|
+
ja: 励ましを消して、本文で分かったことのうち一番持ち帰ってほしい 1 つを書いてください。
|
|
23
|
+
en: Drop the cheering and name the one thing from the text you want the reader to take away.
|
|
24
|
+
|
|
25
|
+
# 指摘に要る文の数。1 つは人も書くので 2 つから。
|
|
26
|
+
levels: { strict: 1, normal: 2, relaxed: 3 }
|
|
27
|
+
|
|
28
|
+
use_for: [technical/readme, blog, business, legal, docs, academic, literature, speech]
|
|
29
|
+
off_for:
|
|
30
|
+
legal: "Legal drafting repeats its terms and its sentence heads on purpose, puts the actor in the passive (shall be deemed), and joins long noun compounds (個人情報取扱事業者). This rule would only flag the form."
|
|
31
|
+
docs: "A help page repeats its heading in its first line (To upload a file, ...) and states no claims to back up."
|
|
32
|
+
literature: "Length, rhythm, repetition and register are the author's choices in literature, and dialogue mixes styles. Only what one work can hold itself to runs: consistent spacing and commas, and numbering without gaps."
|
|
33
|
+
speech: "A speech opens with greetings and closes with thanks: that is its form, not padding."
|
|
34
|
+
|
|
35
|
+
group: ai-tells
|
|
36
|
+
summary:
|
|
37
|
+
ja: 「ぜひ〜してみてください」「きっと〜はず」のように、結びで読み手を励ます文が重なった所
|
|
38
|
+
en: A closing piled with cheering lines ("You've got this", "Happy baking!")
|
|
39
|
+
example:
|
|
40
|
+
ja:
|
|
41
|
+
config: { genre: blog/essay }
|
|
42
|
+
before: |
|
|
43
|
+
# 朝の散歩
|
|
44
|
+
|
|
45
|
+
朝の散歩を半年続けました。
|
|
46
|
+
|
|
47
|
+
もし朝の時間をもてあましているなら、一度、家の周りを歩いてみてほしい。きっと、いつもの街が少し違って見えるはずだ。
|
|
48
|
+
after: |
|
|
49
|
+
# 朝の散歩
|
|
50
|
+
|
|
51
|
+
朝の散歩を半年続けました。
|
|
52
|
+
|
|
53
|
+
半年で変わったのは、起きる時刻が 30 分早くなったことだけだ。それで十分だった。
|
|
54
|
+
en:
|
|
55
|
+
config: { genre: blog/tech }
|
|
56
|
+
before: |
|
|
57
|
+
# Baking bread
|
|
58
|
+
|
|
59
|
+
I baked bread every week this year.
|
|
60
|
+
|
|
61
|
+
You've got this. Happy baking!
|
|
62
|
+
after: |
|
|
63
|
+
# Baking bread
|
|
64
|
+
|
|
65
|
+
I baked bread every week this year.
|
|
66
|
+
|
|
67
|
+
The one change that mattered was weighing the flour instead of using cups.
|
|
68
|
+
|
|
69
|
+
not_flagged:
|
|
70
|
+
ja: 結びでない所の励まし、結びに 1 つだけの励まし、「ぜひご検討ください」のようなビジネス文の普通の結びは言いません。
|
|
71
|
+
en: Cheering outside the closing, a single cheering line, and "I'm happy to help!" (Happy must open the sentence) are not reported.
|
|
72
|
+
level_meaning:
|
|
73
|
+
ja: 結びの励ます・請け合う文が {limit} 個あれば指摘
|
|
74
|
+
en: reported once {limit} closing sentences cheer the reader on
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
id: cold-open
|
|
2
|
+
layer: L2
|
|
3
|
+
status: stable
|
|
4
|
+
how_to_find: cold-open
|
|
5
|
+
word_list: cold-open
|
|
6
|
+
uses: [pos]
|
|
7
|
+
severity: info
|
|
8
|
+
|
|
9
|
+
name:
|
|
10
|
+
ja: 状況も例もなく始まる書き出し
|
|
11
|
+
en: An opening with no situation and no example
|
|
12
|
+
|
|
13
|
+
why:
|
|
14
|
+
ja: 生成した記事は、誰がどんな場面で困っているかを言う前に、短い願い(「〜に任せたい。」)で始め、前の文の語を「この「だいたい」が」と引き直し、「それだけのことに見えて、ここが一番難しい」と予告しがちです。人の書き手は、具体的な場面や例から始めて、問題を読み手に見せます。形 1 つなら人も書きますが、書き出しで重なると、読み手は台本を読まされていると感じます。
|
|
15
|
+
en: 'A generated article tends to open with a short wish ("You want to cut costs.") before saying who needs it and where, to repeat a word of the previous sentence in quotes ("That ''almost'' is the problem."), and to tease the hard part ("Sounds simple. It isn''t."). A human writer starts from a concrete situation or example that shows the problem. One of these is ordinary; together in the opening they read like a script.'
|
|
16
|
+
|
|
17
|
+
message:
|
|
18
|
+
ja: 書き出しに「{matched}」など、状況も例もない形が {count} つ重なっています({limit} つから)
|
|
19
|
+
en: '"{matched}" and other shapes of an opening with no situation or example: {count} in the opening ({limit} needed)'
|
|
20
|
+
|
|
21
|
+
how_to_fix:
|
|
22
|
+
ja: 書き出しを、具体的な場面か例(いつ、誰が、何をして、どうなったか)から始めてください。予告と引き直しは消し、難しさは中身で見せてください。
|
|
23
|
+
en: Open with a concrete situation or example (when, who, what they did, what happened). Delete the teaser and the repeated quote, and show the difficulty in the content.
|
|
24
|
+
|
|
25
|
+
# 書き出しに要る形の数。形は 3 つ(短い願いで始まる、前の文の語を引き直す、難所を予告する)。
|
|
26
|
+
levels: { strict: 2, normal: 2, relaxed: 3 }
|
|
27
|
+
|
|
28
|
+
use_for: [technical/readme, blog, business, legal, docs, academic, literature, speech]
|
|
29
|
+
off_for:
|
|
30
|
+
legal: "Legal drafting repeats its terms and its sentence heads on purpose, puts the actor in the passive (shall be deemed), and joins long noun compounds (個人情報取扱事業者). This rule would only flag the form."
|
|
31
|
+
docs: "A help page opens with what the reader wants to do (You want to ...) and states no claims to back up."
|
|
32
|
+
literature: "Length, rhythm, repetition and register are the author's choices in literature, and dialogue mixes styles. Only what one work can hold itself to runs: consistent spacing and commas, and numbering without gaps."
|
|
33
|
+
speech: "A speech opens with greetings and closes with thanks: that is its form, not padding."
|
|
34
|
+
|
|
35
|
+
group: ai-tells
|
|
36
|
+
summary:
|
|
37
|
+
ja: 短い願い・語の引き直し・難所の予告が重なる書き出し
|
|
38
|
+
en: An opening that piles a bare wish, a quoted echo and a teaser
|
|
39
|
+
example:
|
|
40
|
+
ja:
|
|
41
|
+
before: |
|
|
42
|
+
問い合わせの窓口を一本にしたい。
|
|
43
|
+
|
|
44
|
+
総務と経理に、似た質問が別々に届きます。この「似た質問」が厄介です。まとめれば済む話に見えて、ここが一番難しいところです。
|
|
45
|
+
after: |
|
|
46
|
+
先月、経費の締め日を尋ねる質問が、総務に 12 件、経理に 9 件届きました。答えは二通りあり、片方は古い締め日でした。
|
|
47
|
+
|
|
48
|
+
窓口を一本にしたいのは、こうした食い違いをなくすためです。
|
|
49
|
+
en:
|
|
50
|
+
before: |
|
|
51
|
+
You want to move the job to a cheaper model.
|
|
52
|
+
|
|
53
|
+
You switch, and it almost works. That ‘almost’ is the problem. Sounds simple to test. It isn't.
|
|
54
|
+
after: |
|
|
55
|
+
Last month we moved our ticket summaries to a model costing a tenth as much. Of 400 summaries, 31 dropped the customer's order number.
|
|
56
|
+
|
|
57
|
+
We had no way to tell whether the old model would have kept them.
|
|
58
|
+
not_flagged:
|
|
59
|
+
ja: 形が 1 つだけの書き出し(提案の「〜を導入したい。」、定義を言い直す「この「X」は」)と、書き出しより後ろの文は言いません。
|
|
60
|
+
en: An opening with only one of the shapes (a proposal's "We want to ..."), and sentences after the opening, are not reported.
|
|
61
|
+
level_meaning:
|
|
62
|
+
ja: 書き出しに形が {limit} つあれば指摘
|
|
63
|
+
en: reported once {limit} of the shapes appear in the opening
|
|
64
|
+
rewrite:
|
|
65
|
+
depth: structure
|
|
66
|
+
ja:
|
|
67
|
+
direction: 書き出しを、具体的な場面か例から始め直してください。短い願い、語の引き直し、難所の予告は消してください。
|
|
68
|
+
pairs:
|
|
69
|
+
- before: 同じ仕事を、安いモデルに任せたい。
|
|
70
|
+
after: 先月、要約の仕事を値段が 10 分の 1 のモデルに移しました。
|
|
71
|
+
- before: この「だいたい」が困ります。
|
|
72
|
+
after: 400 件のうち 31 件で、注文番号が抜けていました。
|
|
73
|
+
- before: それだけのことに見えて、ここが一番難しいところです。
|
|
74
|
+
after: 問題集は、まだ 1 問も作っていませんでした。
|
|
75
|
+
keep:
|
|
76
|
+
- 書き手が伝えたい問題そのもの
|
|
77
|
+
- 文書に出てくる数字と固有名詞
|
|
78
|
+
avoid:
|
|
79
|
+
- 書いていない出来事や数字を足す
|
|
80
|
+
- 予告を別の予告(「実はここからが本題です」)に替える
|
|
81
|
+
en:
|
|
82
|
+
direction: Start the opening again from a concrete situation or example. Delete the bare wish, the repeated quote and the teaser.
|
|
83
|
+
pairs:
|
|
84
|
+
- before: You want to move the job to a cheaper model.
|
|
85
|
+
after: Last month we moved our summaries to a model costing a tenth as much.
|
|
86
|
+
- before: That ‘almost’ is the problem.
|
|
87
|
+
after: Of 400 summaries, 31 dropped the order number.
|
|
88
|
+
- before: Sounds simple. It isn't.
|
|
89
|
+
after: We had not written a single test case yet.
|
|
90
|
+
keep:
|
|
91
|
+
- the problem the writer wants to show
|
|
92
|
+
- the numbers and names already in the document
|
|
93
|
+
avoid:
|
|
94
|
+
- adding events or numbers the document does not state
|
|
95
|
+
- swapping the teaser for another one ("Here's where it gets interesting")
|
package/rules/colon-lead-in.yaml
CHANGED
|
@@ -2,9 +2,6 @@ id: colon-lead-in
|
|
|
2
2
|
layer: L1
|
|
3
3
|
status: stable
|
|
4
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
5
|
severity: info
|
|
9
6
|
|
|
10
7
|
name:
|
|
@@ -17,14 +14,25 @@ why:
|
|
|
17
14
|
|
|
18
15
|
message:
|
|
19
16
|
ja: コロンで箇条書きへ渡す文が 1000 字あたり {density} 個あります({limit} 個まで)
|
|
20
|
-
en: "{density} colon lead-ins to lists per 1000
|
|
17
|
+
en: "{density} colon lead-ins to lists per 1000 words (limit {limit})"
|
|
21
18
|
|
|
22
19
|
how_to_fix:
|
|
23
20
|
ja: 箇条書きの一部を文に戻し、項目どうしがどう繋がるのかを書いてください。手順や部品の一覧のように、本当に並べるものはそのままでかまいません。
|
|
24
21
|
en: Turn some of the lists back into sentences and say how the items connect. Real lists (steps, parts) can stay.
|
|
25
22
|
|
|
26
|
-
# 1000
|
|
27
|
-
|
|
23
|
+
# 1000 字(英語は 1000 語)あたりの数。2 つより少なければ言わない(ai-phrasing.ts の PILE)。
|
|
24
|
+
# 英語の人の文書はコロンから箇条書きへよく渡すので、英語の上限は高い。
|
|
25
|
+
levels:
|
|
26
|
+
ja: { strict: 1, normal: 2, relaxed: 4 }
|
|
27
|
+
en: { strict: 3, normal: 4, relaxed: 6 }
|
|
28
|
+
|
|
29
|
+
options:
|
|
30
|
+
min_sections:
|
|
31
|
+
kind: count
|
|
32
|
+
default: 3
|
|
33
|
+
about:
|
|
34
|
+
ja: 前置きのある節の数の下限。1 つ 2 つの節だけなら、手順の前置きや対になった箇条書きで、節ごとに続く形ではありません。見出しの無い文書は前置きの数で数えます
|
|
35
|
+
en: The fewest sections with a lead-in. In one or two sections it is a procedure's lead-in or a pair of lists, not section after section. A document without headings counts its lead-ins
|
|
28
36
|
|
|
29
37
|
use_for: [technical/readme, blog, business, legal, docs, academic, literature, speech]
|
|
30
38
|
off_for:
|
|
@@ -50,18 +58,45 @@ example:
|
|
|
50
58
|
|
|
51
59
|
- 集合
|
|
52
60
|
- 出発
|
|
61
|
+
|
|
62
|
+
片付けは次の通りです:
|
|
63
|
+
|
|
64
|
+
- 鍵を返す
|
|
65
|
+
- 掃除
|
|
53
66
|
after: |
|
|
54
|
-
|
|
67
|
+
鍵と地図を用意してください。当日は駅に集合してから出発し、終わったら鍵を返して掃除します。
|
|
55
68
|
|
|
56
69
|
- 鍵
|
|
57
70
|
- 地図
|
|
71
|
+
en:
|
|
72
|
+
pad: true
|
|
73
|
+
before: |
|
|
74
|
+
Here's what to bring:
|
|
75
|
+
|
|
76
|
+
- A key
|
|
77
|
+
- A map
|
|
78
|
+
|
|
79
|
+
Here's how the day goes:
|
|
80
|
+
|
|
81
|
+
- Meet at the station
|
|
82
|
+
- Set off
|
|
83
|
+
|
|
84
|
+
Here's how we wrap up:
|
|
85
|
+
|
|
86
|
+
- Return the key
|
|
87
|
+
- Tidy up
|
|
88
|
+
after: |
|
|
89
|
+
Bring the key and a map. We meet at the station and set off from there, and at the end we return the key and tidy up.
|
|
90
|
+
|
|
91
|
+
- A key
|
|
92
|
+
- A map
|
|
58
93
|
|
|
59
94
|
not_flagged:
|
|
60
|
-
ja: 1
|
|
61
|
-
en: A single colon lead-in, and a lead-in that does not end in a colon, are not counted. Nor is the same noun label repeated before each entry's list (a bold 参考:), which names a field of the entry. Documentation, legal and specification (technical/spec) genres do not run this rule. Short documents are not measured.
|
|
95
|
+
ja: 1 つだけのコロンの前置きと、コロンで終わらない前置き(「次のとおりとする。」)は数えません。項目ごとに同じ名詞の札(太字の「参考:」)を置く形は、項目の欄の名前なので数えません。一行に立つ太字の名詞の札(**メリット:**、**Pros:**)も、見出しと同じく箇条書きの名前なので数えません。前置きが 3 つより少ない節にしか無いとき(短いハウツーの手順の前置き二つ、一つの節に並べた事実の一覧)は、節ごとに続く形ではないので言いません。説明書・法務・仕様書(technical/spec)のジャンルでは見ません。短い文書は測りません。英語の文書は、人もコロンから箇条書きへよく渡すので、上限を高くしています。日本語の文書の中の英文(Examples include:)は数えません。
|
|
96
|
+
en: A single colon lead-in, and a lead-in that does not end in a colon, are not counted. Nor is the same noun label repeated before each entry's list (a bold 参考:), which names a field of the entry, nor a bold noun label on a line of its own (**Pros:**, **Cons:**), which names its list as a heading does. Lead-ins in fewer than three sections (two procedure lead-ins in a short how-to, the lists of facts in one section of a press release) are not section after section and are not reported; a document without headings counts its lead-ins. Documentation, legal and specification (technical/spec) genres do not run this rule. Short documents are not measured. English writers hand off to a list after a colon often, so the English limit is higher. In a Japanese document, an English sentence inside (Examples include:) is not counted.
|
|
62
97
|
level_meaning:
|
|
63
98
|
ja: コロンで箇条書きへ渡す文が 1000 字あたり {limit} 個まで
|
|
64
|
-
en: "colon lead-ins to lists: up to {limit} per 1000
|
|
99
|
+
en: "colon lead-ins to lists: up to {limit} per 1000 words"
|
|
65
100
|
rewrite:
|
|
66
101
|
depth: structure
|
|
67
102
|
ja:
|
|
@@ -87,3 +122,26 @@ rewrite:
|
|
|
87
122
|
avoid:
|
|
88
123
|
- 長い箇条書きを一つの長い文に詰める
|
|
89
124
|
- 項目の間に、書き手が書いていない因果を足す
|
|
125
|
+
en:
|
|
126
|
+
direction: Of the lists a colon hands over to, turn back into sentences the ones with two or three items that connect. Steps and parts lists stay lists.
|
|
127
|
+
pairs:
|
|
128
|
+
- before: |
|
|
129
|
+
Here's how long we keep it:
|
|
130
|
+
|
|
131
|
+
- 30 days
|
|
132
|
+
- Deleted after that
|
|
133
|
+
after: |
|
|
134
|
+
We keep it for 30 days and delete it after that.
|
|
135
|
+
- before: |
|
|
136
|
+
The benefits are:
|
|
137
|
+
|
|
138
|
+
- Fast
|
|
139
|
+
- Cheap
|
|
140
|
+
after: |
|
|
141
|
+
It is fast and cheap.
|
|
142
|
+
keep:
|
|
143
|
+
- what the items say, and how many
|
|
144
|
+
- the order of steps
|
|
145
|
+
avoid:
|
|
146
|
+
- packing a long list into one long sentence
|
|
147
|
+
- adding causes between the items that the writer did not state
|
|
@@ -42,8 +42,8 @@ example:
|
|
|
42
42
|
after: We rewrote the parser. The new engine is twice as fast as version 2.
|
|
43
43
|
|
|
44
44
|
not_flagged:
|
|
45
|
-
ja: 同じ文か直前の文に比べる相手(従来、以前、前回、昨年、「〜より」「〜に比べて」「〜一方」)がある比較、「より多くの」「より詳しく」「さらに一般に」のような決まった言い方、程度を言う語が続かない「さらに」(さらに、〜します)、条件の下の比較(入れるとより良くなる)、今より良くする目当て(より良い社会、より良いものにする、より簡単にする)、願いや目的の中の比較(より広く進めたい、より円滑にするためには)、目当ての語で終わる複合語(より良い高齢社会)、比べた形で終わる決まった言い方(英語の or to be more precise, …)、二つのコードの例のすぐ後ろの比較(例を書き直した後の This is much better
|
|
46
|
-
en: 'A comparison whose sentence or the one before names a baseline ("than", "previous", "before", "compared", "whereas"), one that goes past what was just named ("even better", "still faster"), a comparative before a noun ("better results", read only in Japanese), a comparative that does not close its clause ("runs faster on large files"), one under a condition or a hypothesis ("if it looks better", "would be easier"), an aim to make something better than it is now (より良い社会, より良い高齢社会, より良いものにする, より簡単にする in Japanese), a comparison inside a wish or a purpose (より広く進めたい, より円滑にするためには), a set phrase ending in a comparative ("or to be more precise, it created"),
|
|
45
|
+
ja: 同じ文か直前の文に比べる相手(従来、以前、前回、昨年、「〜より」「〜に比べて」「〜一方」)がある比較、「より多くの」「より詳しく」「さらに一般に」のような決まった言い方、程度を言う語が続かない「さらに」(さらに、〜します)、条件の下の比較(入れるとより良くなる)、今より良くする目当て(より良い社会、より良いものにする、より簡単にする)、願いや目的の中の比較(より広く進めたい、より円滑にするためには)、目当ての語で終わる複合語(より良い高齢社会)、比べた形で終わる決まった言い方(英語の or to be more precise, …)、二つのコードの例のすぐ後ろの比較(例を書き直した後の This is much better!)、比べた語より前に原因を書いた比較(これにより、手続きがより簡単になった。記録を残すことにより、点検がより確実になる)、「場合」の下の比較(負担の大きい作業がある場合は、より軽い作業に替える)、「の実現」が続く比較(より良い多文化共生の実現)は指しません。
|
|
46
|
+
en: 'A comparison whose sentence or the one before names a baseline ("than", "previous", "before", "compared", "whereas"), one that goes past what was just named ("even better", "still faster"), a comparative before a noun ("better results", read only in Japanese), a comparative that does not close its clause ("runs faster on large files"), one under a condition or a hypothesis ("if it looks better", "would be easier"), an aim to make something better than it is now (より良い社会, より良い高齢社会, より良いものにする, より簡単にする in Japanese), a comparison inside a wish or a purpose (より広く進めたい, より円滑にするためには), a set phrase ending in a comparative ("or to be more precise, it created"), a comparison right after two code examples ("This is much better!" after a rewritten function, compared with the first), a comparison set against the clause before it ("Log lines work, but a profiler is better"), one in a sentence opening on a change or a topic ("As the service splits, the team can move faster", "By caching the index, …", "As to the second clause, …"), a change from now ("to make releases more predictable", "we can do better"), a maxim ("simpler is better"), another kind of a thing the sentence before names ("Plain backgrounds are fine. A blurred background looks better."), and a comparison with what comes before ("the trail that follows is harder") are not reported.'
|
|
47
47
|
|
|
48
48
|
rewrite:
|
|
49
49
|
depth: light
|
|
@@ -69,8 +69,8 @@ example:
|
|
|
69
69
|
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.
|
|
70
70
|
|
|
71
71
|
not_flagged:
|
|
72
|
-
ja: 3
|
|
73
|
-
en: Sections shorter than three sentences, index-like sections of entries, and sections where at least half the sentences are questions or
|
|
72
|
+
ja: 3 文より短い節、索引のように項目を並べた節、条件を並べた節(応募資格・業務内容)、文の半分以上が問い・指示(〜してください)・見込みや方針(〜が期待される、〜すべきである)の節は見ません。ウェブページの変換で残った案内の行(ページの先頭です。)は文に数えません。
|
|
73
|
+
en: Sections shorter than three sentences, index-like sections of entries, sections that list conditions (Requirements, Responsibilities), and sections where at least half the sentences are questions, instructions, or possibilities and plans (may, should, we will, we recommend) are not checked. Site navigation left by a web page's conversion (Skip to main content) is not counted as a sentence.
|
|
74
74
|
level_meaning:
|
|
75
75
|
ja: 具体物のない節が {limit} 個あれば指摘
|
|
76
76
|
en: reported once {limit} sections have nothing concrete
|
|
@@ -4,7 +4,8 @@ status: stable
|
|
|
4
4
|
how_to_find: contrast-framing
|
|
5
5
|
word_list: contrast-frame
|
|
6
6
|
# 打ち消し(it's not)と、それを返す語(it's、but)。後ろに返しが来たときだけ対比の枠になる。
|
|
7
|
-
|
|
7
|
+
# contrast-amount は枠の隣で量を言う語(not just one)。量を言う枠は X を打ち消していない。
|
|
8
|
+
extra_word_lists: [contrast-lead, contrast-turn, contrast-amount]
|
|
8
9
|
uses: [pos]
|
|
9
10
|
severity: info
|
|
10
11
|
|
|
@@ -17,17 +18,19 @@ why:
|
|
|
17
18
|
en: '"It''s not X, it''s Y" and "not just X, but Y" sort out a point when used once. Piled up, the text keeps knocking down an X nobody said, a habit well known in generated text.'
|
|
18
19
|
|
|
19
20
|
message:
|
|
20
|
-
ja: 「{matched}
|
|
21
|
-
en: '"{matched}" and other contrast frames: {
|
|
21
|
+
ja: 「{matched}」など、対比の枠で書いた文が {share}% あります({limit}% まで)
|
|
22
|
+
en: '"{matched}" and other contrast frames: {share}% of sentences (limit {limit}%)'
|
|
22
23
|
|
|
23
24
|
how_to_fix:
|
|
24
25
|
ja: 打ち消した側(X)を消して、言いたいこと(Y)だけを書いてください。
|
|
25
26
|
en: Drop the X you knocked down and say Y directly.
|
|
26
27
|
|
|
27
|
-
#
|
|
28
|
-
levels:
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
# 文書の文のうち、対比の枠で書いた文の割合(%)。枠が二つ以上ある文書だけを測る。
|
|
29
|
+
levels: { strict: 4, normal: 6, relaxed: 9 }
|
|
30
|
+
|
|
31
|
+
# エッセイは chaff-corpus の判定で測った。人のエッセイは枠が三つでもこの割合に届かず、生成のエッセイは二つで超えた。
|
|
32
|
+
by_genre:
|
|
33
|
+
blog/essay: { strict: 4, normal: 4.8, relaxed: 7 }
|
|
31
34
|
|
|
32
35
|
use_for: [technical/readme, blog, business, legal, docs, academic, literature, speech]
|
|
33
36
|
off_for:
|
|
@@ -44,22 +47,22 @@ example:
|
|
|
44
47
|
ja:
|
|
45
48
|
pad: true
|
|
46
49
|
before: |
|
|
47
|
-
|
|
50
|
+
この仕組みは単なる道具ではなく、チームの文化です。速さだけでなく、安心も届けます。問題はツールではなく、運用です。
|
|
48
51
|
after: |
|
|
49
52
|
この仕組みで、見積もりの作成が一件あたり十分短くなりました。
|
|
50
53
|
en:
|
|
51
54
|
pad: true
|
|
52
55
|
before: |
|
|
53
|
-
This tool is not just software, but a culture. It's not a feature. It's a promise.
|
|
56
|
+
This tool is not just software, but a culture. It's not a feature. It's a promise. We didn't build it for speed. It exists for trust.
|
|
54
57
|
after: |
|
|
55
58
|
This tool cut the time to draft a quote by ten minutes.
|
|
56
59
|
|
|
57
60
|
not_flagged:
|
|
58
|
-
ja:
|
|
59
|
-
en: A single contrast, a denial nobody answers
|
|
61
|
+
ja: 一つだけの対比、打ち消しを返していない「単なる」(「単なる設定ミスです」)、読点の無い「A ではなく B」やますで閉じる文(「紙ではなく、画面で確認します」)、続けて並べた打ち消し(「まだです。まだ試していません。」)、量を言う枠(「一杯だけでなく、二杯目も」)は指しません。短い文書は測りません。
|
|
62
|
+
en: A single contrast, a denial nobody answers ("I don't know. We will see."), a denial followed by another ("It wasn't ready. It wasn't tested."), a denial answered later in the same sentence by "it" or "they", a plain denial followed by a concession or a remark ("I don't always. But it takes ten minutes.", "That's more than I expected."), and a frame that counts an amount ("not just one coffee") are not reported. Short documents are not measured.
|
|
60
63
|
level_meaning:
|
|
61
|
-
ja:
|
|
62
|
-
en: up to {limit}
|
|
64
|
+
ja: 対比の枠で書いた文が {limit}% まで
|
|
65
|
+
en: up to {limit}% of sentences in contrast frames
|
|
63
66
|
rewrite:
|
|
64
67
|
depth: light
|
|
65
68
|
ja:
|
|
@@ -78,5 +78,5 @@ example:
|
|
|
78
78
|
Holidays follow the rota that the company publishes each month.
|
|
79
79
|
|
|
80
80
|
not_flagged:
|
|
81
|
-
ja: 「法第2条」「就業規則 第25条」のように、ほかの文書の条を指す参照は探しません。ほかの文書の名前を見出しにして引き写した条の中の参照も、その文書の条です。条の下に「1. 」「2.」の箇条書きで書いた項は、項として引きます。条で番号を振っていない文書では、条で数える参照を見ません。見出しに番号だけを振った論文(「2 方法」)が、ほかの文書の条として名指しした書き方(「Article 14 of the Act」)で書いた参照は、その書き方の参照の多くが文書の中に行き先を持たなければ、その文書の条として探しません。平文の契約が「9. Indemnification.」と本文の形で書いた見出しや、本文の中に書いた「(i)」も、参照の行き先として引きます。「section 21 notice」のように番号を手続きの名前にした書き方は、ほかの法律の番号として探しません。「section 552(b)(1) of title 5」のように法典の編(title)の番号を添えた参照も、その法典の条として探しません。法令の注記が法律の番号や載った巻と頁で引いた条(「Pub. L. 98–620, §402(2)」「§2(a), 60 Stat. 237」)も、その法律の条として探しません。法典の一つの条だけの文書が「section 552 of this title」と自分の入っている編・章(title、chapter
|
|
82
|
-
en: References into another document ("Article 2 of the Act") are not looked up, nor are references inside a section whose heading is the name of a document cited elsewhere in the text, which quotes that document. A paragraph written as a list ("1. ", "2. ") under an article counts as that article's paragraph. A document that numbers none of its provisions as articles is not checked for article references. In a paper whose headings carry bare numbers ("2 Methods"), references written the way it names another document's units ("Article 14 of the Act") are that document's when most of them point nowhere in the paper. A plain-text contract's headings written as text ("9. Indemnification.", "Section 2.3 Appraisal Shares.") and the labels written inside a section's text ("(i)") count as addresses. A section number used as a name ("a section 21 notice") points into another Act and is not looked up. A section cited with the number of a code's title ("section 552(b)(1) of title 5, United States Code") is that code's, and is not looked up. A section that a statute's notes cite with a law's number or with the volume and page that print it ("Pub. L. 98–620, §402(2)", "§2(a), 60 Stat. 237") is that law's, and is not looked up. A section cited with the unit the document sits in ("section 552 of this title", "of this subchapter") is the code's when the document has no heading for that unit, and is not looked up.
|
|
81
|
+
ja: 「法第2条」「就業規則 第25条」のように、ほかの文書の条を指す参照は探しません。ほかの文書の名前を見出しにして引き写した条の中の参照も、その文書の条です。条の下に「1. 」「2.」の箇条書きで書いた項は、項として引きます。条で番号を振っていない文書では、条で数える参照を見ません。見出しに番号だけを振った論文(「2 方法」)が、ほかの文書の条として名指しした書き方(「Article 14 of the Act」)で書いた参照は、その書き方の参照の多くが文書の中に行き先を持たなければ、その文書の条として探しません。平文の契約が「9. Indemnification.」と本文の形で書いた見出しや、本文の中に書いた「(i)」も、参照の行き先として引きます。「section 21 notice」のように番号を手続きの名前にした書き方は、ほかの法律の番号として探しません。「section 552(b)(1) of title 5」のように法典の編(title)の番号を添えた参照も、その法典の条として探しません。法令の注記が法律の番号や載った巻と頁で引いた条(「Pub. L. 98–620, §402(2)」「§2(a), 60 Stat. 237」)も、その法律の条として探しません。法典の一つの条だけの文書が「section 552 of this title」と自分の入っている編・章(title、chapter など)で引いた条は、文書にその編・章の見出しが無ければ法典の条として探しません。「chapter 15 (§401 et seq.) of Title 50」のように編の番号で引いた条からの続きも、その法典の条です。判決が段落や注の頭に書いた法律の条(「§ 331, 7 U.S.C. § 1331.」「Section 9(c) is brief…」)は見出しではないので、条を立てない判決の参照は探しません。文献一覧の項目の中の番号(「pp. Article 81」)は引いた著作のものです。他の文書の名前に略称や注記を添えた見出し(「…に関する法律(特例法)」「<抜粋>」)の下に引き写した条の参照も、その文書の条です。ひな形が選択肢ごとに書いた「第1条1項(オプション1:…)」は第1条の見出しとして引きます。
|
|
82
|
+
en: References into another document ("Article 2 of the Act") are not looked up, nor are references inside a section whose heading is the name of a document cited elsewhere in the text, which quotes that document. A paragraph written as a list ("1. ", "2. ") under an article counts as that article's paragraph. A document that numbers none of its provisions as articles is not checked for article references. In a paper whose headings carry bare numbers ("2 Methods"), references written the way it names another document's units ("Article 14 of the Act") are that document's when most of them point nowhere in the paper. A plain-text contract's headings written as text ("9. Indemnification.", "Section 2.3 Appraisal Shares.") and the labels written inside a section's text ("(i)") count as addresses. A section number used as a name ("a section 21 notice") points into another Act and is not looked up. A section cited with the number of a code's title ("section 552(b)(1) of title 5, United States Code") is that code's, and is not looked up. A section that a statute's notes cite with a law's number or with the volume and page that print it ("Pub. L. 98–620, §402(2)", "§2(a), 60 Stat. 237") is that law's, and is not looked up. A section cited with the unit the document sits in ("section 552 of this title", "of this subchapter") is the code's when the document has no heading for that unit, and is not looked up. Sections from one on, cited with a code's title ("chapter 15 (§401 et seq.) of Title 50"), are the code's too. An opinion's paragraph or footnote that opens with a statute's section ("§ 331, 7 U.S.C. § 1331.", "Section 9(c) is brief…") is not a heading, so an opinion with no headings of its own is not checked. A number inside an entry of a reference list ("pp. Article 81") belongs to the work it cites. A section copied under a heading that is another document's name with its short name or a note added ("… Act (the Special Act)", "<excerpt>") quotes that document. A model contract's heading written per option, 「第1条1項(オプション1:…)」, is the heading of Article 1.
|
|
@@ -25,6 +25,9 @@ levels: { strict: error, normal: warning, relaxed: info }
|
|
|
25
25
|
|
|
26
26
|
use_for: [business, technical, blog, legal, docs, academic, literature, speech]
|
|
27
27
|
|
|
28
|
+
off_for:
|
|
29
|
+
literature: "A literary work names its parts as it likes: a collection gives two poems the same title (Spring, Untitled), and two prefaces are both Preface."
|
|
30
|
+
|
|
28
31
|
group: structure
|
|
29
32
|
summary:
|
|
30
33
|
ja: 同じ親の見出しの下に、同じ言葉の見出しが二つある所
|
|
@@ -74,5 +77,5 @@ example:
|
|
|
74
77
|
Wear gloves.
|
|
75
78
|
|
|
76
79
|
not_flagged:
|
|
77
|
-
ja: 親が違う見出しどうし(版ごとの「追加」「修正」、章ごとの「まとめ」)は比べません。事例ごとに決まった見出しの組(【相談事例】【回答】、Question と Answer
|
|
78
|
-
en: Headings under different parents (each version's "Added" and "Fixed", each chapter's "Summary") are not compared. A fixed set of labels repeated in the same order for each case (Question and Answer, 【相談事例】 and 【回答】) is not reported either; a qualifier in brackets (Case (terms)) is set aside when the set is read. It runs on Markdown only.
|
|
80
|
+
ja: 親が違う見出しどうし(版ごとの「追加」「修正」、章ごとの「まとめ」)は比べません。事例ごとに決まった見出しの組(【相談事例】【回答】、Question と Answer)を同じ順でくり返す所も言いません。括弧の添え書き(【事例(約款)】)は除いて組を見ます。番号付きの見出し(「7.3 仕入れ」)と同じ深さに並べた「例1」は、その番号付きの節の中の見出しとして比べるので、節ごとに数え直しても言いません。文書の題(最初の # の見出し)を目次の後などでもう一度掲げた所も言いません。文学の文書(詩集の同じ題の詩)では動きません。Markdown の文書でだけ動きます。
|
|
81
|
+
en: Headings under different parents (each version's "Added" and "Fixed", each chapter's "Summary") are not compared. A fixed set of labels repeated in the same order for each case (Question and Answer, 【相談事例】 and 【回答】) is not reported either; a qualifier in brackets (Case (terms)) is set aside when the set is read. An "Example 1" set at the same depth as a numbered heading ("7.3 Supplies") is read as part of that numbered section, so examples numbered again in each section are not reported. The document's title (its first # heading) shown again, after a table of contents for instance, is not reported. It does not run on literature (two poems in a collection with the same title). It runs on Markdown only.
|
|
@@ -76,8 +76,8 @@ example:
|
|
|
76
76
|
Best regards,
|
|
77
77
|
Ichiro
|
|
78
78
|
not_flagged:
|
|
79
|
-
ja: 引用した返信(「>」の行)と、ヘッダーと署名(「-- 」の後ろ)は見ません。手紙の頭(日付、「保護者各位」のような宛名、差出人、表題)のように文で終わらない行が続くときは、挨拶をその後ろの最初の文までに探します。最初の文より前に「発信者:」のようなメモの形の項目名があれば、メモとして挨拶も結びも求めません。題(見出し)に号数がある便り(「メールマガジン第90号」「Vol.12
|
|
80
|
-
en: 'Quoted replies (lines starting with ">"), the header and the signature after "-- " are not read. When a letter opens with lines that end no sentence (the date, the address block, the sender, a title), the greeting is looked for up to the first sentence after them. A memo, with a label such as "TO:" or "SUBJECT:" in capitals before the first sentence, is asked for neither a greeting nor a closing, and nor is a newsletter whose title (a heading) holds an issue number (Vol. 12, Vol.12, メールマガジン第90号). Which greeting or closing is used is not decided; any word in the lexicon will do. Only the email and letter genre runs this rule.'
|
|
79
|
+
ja: 引用した返信(「>」の行)と、ヘッダーと署名(「-- 」の後ろ)は見ません。手紙の頭(日付、「保護者各位」のような宛名、差出人、表題)のように文で終わらない行が続くときは、挨拶をその後ろの最初の文までに探します。最初の文より前に「発信者:」のようなメモの形の項目名があれば、メモとして挨拶も結びも求めません。題(見出し)に号数がある便り(「メールマガジン第90号」「Vol.12」)も、購読者みなに送る号として挨拶も結びも求めません。「Withdrawn」のような項目名とコロンで始まる行は、文で終わっていても頭の一部として読みます。挨拶と結びの言い方は決めず、語彙表のどれかがあれば足ります。同僚あての「お疲れさま。」「よろしく。」、返信の遅れのお詫びで始まる書き出し、問い合わせ先(ご不明な点は…まで)で終わる案内も含みます。英語では、名前だけの行(Priya,)を挨拶とし、行の中の後ろの文の頭にある結び(…on Monday. Thanks, and…)も数えます。メール・手紙のジャンルでだけ見ます。
|
|
80
|
+
en: 'Quoted replies (lines starting with ">"), the header and the signature after "-- " are not read. When a letter opens with lines that end no sentence (the date, the address block, the sender, a title), the greeting is looked for up to the first sentence after them. A memo, with a label such as "TO:" or "SUBJECT:" in capitals before the first sentence, is asked for neither a greeting nor a closing, and nor is a newsletter whose title (a heading) holds an issue number (Vol. 12, Vol.12, メールマガジン第90号). A labelled field before the memo labels (Withdrawn: …) belongs to the head even when it ends a sentence. Which greeting or closing is used is not decided; any word in the lexicon will do. The reader''s name alone on the first line (Priya,) is a greeting, and a closing may open a later sentence of a line (…back on Monday. Thanks, and enjoy the day!) or be the farewell or apology the email ends on (See you there, Sorry again). Only the email and letter genre runs this rule.'
|
|
81
81
|
rewrite:
|
|
82
82
|
depth: light
|
|
83
83
|
ja:
|