chaffjs 0.35.0 → 0.37.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 +12 -0
- package/README.md +15 -0
- package/dist/announced-count.d.ts +2 -0
- package/dist/announced-count.d.ts.map +1 -1
- package/dist/announced-count.js +29 -7
- package/dist/announced-count.js.map +1 -1
- package/dist/chronology-rows.d.ts +9 -0
- package/dist/chronology-rows.d.ts.map +1 -0
- package/dist/chronology-rows.js +79 -0
- package/dist/chronology-rows.js.map +1 -0
- package/dist/company-name-run.d.ts +8 -0
- package/dist/company-name-run.d.ts.map +1 -0
- package/dist/company-name-run.js +30 -0
- package/dist/company-name-run.js.map +1 -0
- package/dist/compound-head.d.ts +7 -0
- package/dist/compound-head.d.ts.map +1 -0
- package/dist/compound-head.js +19 -0
- package/dist/compound-head.js.map +1 -0
- package/dist/date-format.d.ts +8 -3
- package/dist/date-format.d.ts.map +1 -1
- package/dist/date-format.js +36 -3
- package/dist/date-format.js.map +1 -1
- package/dist/derived/count-per-period.d.ts +23 -0
- package/dist/derived/count-per-period.d.ts.map +1 -0
- package/dist/derived/count-per-period.js +14 -0
- package/dist/derived/count-per-period.js.map +1 -0
- package/dist/detectors/acronym-context.d.ts +4 -0
- package/dist/detectors/acronym-context.d.ts.map +1 -1
- package/dist/detectors/acronym-context.js +29 -1
- package/dist/detectors/acronym-context.js.map +1 -1
- package/dist/detectors/acronym-expansion.d.ts +5 -1
- package/dist/detectors/acronym-expansion.d.ts.map +1 -1
- package/dist/detectors/acronym-expansion.js +42 -3
- package/dist/detectors/acronym-expansion.js.map +1 -1
- package/dist/detectors/acronym-known.d.ts +19 -0
- package/dist/detectors/acronym-known.d.ts.map +1 -0
- package/dist/detectors/acronym-known.js +32 -0
- package/dist/detectors/acronym-known.js.map +1 -0
- package/dist/detectors/acronym-link.d.ts +19 -0
- package/dist/detectors/acronym-link.d.ts.map +1 -0
- package/dist/detectors/acronym-link.js +65 -0
- package/dist/detectors/acronym-link.js.map +1 -0
- package/dist/detectors/acronym-mention.d.ts +5 -0
- package/dist/detectors/acronym-mention.d.ts.map +1 -0
- package/dist/detectors/acronym-mention.js +34 -0
- package/dist/detectors/acronym-mention.js.map +1 -0
- package/dist/detectors/acronym-name.d.ts +8 -1
- package/dist/detectors/acronym-name.d.ts.map +1 -1
- package/dist/detectors/acronym-name.js +25 -6
- package/dist/detectors/acronym-name.js.map +1 -1
- package/dist/detectors/addressee-edge.d.ts +13 -0
- package/dist/detectors/addressee-edge.d.ts.map +1 -0
- package/dist/detectors/addressee-edge.js +13 -0
- package/dist/detectors/addressee-edge.js.map +1 -0
- package/dist/detectors/addressee-title-edge.d.ts +21 -0
- package/dist/detectors/addressee-title-edge.d.ts.map +1 -0
- package/dist/detectors/addressee-title-edge.js +22 -0
- package/dist/detectors/addressee-title-edge.js.map +1 -0
- package/dist/detectors/announced-count.d.ts.map +1 -1
- package/dist/detectors/announced-count.js +1 -0
- package/dist/detectors/announced-count.js.map +1 -1
- package/dist/detectors/bare-comparative.d.ts +4 -0
- package/dist/detectors/bare-comparative.d.ts.map +1 -1
- package/dist/detectors/bare-comparative.js +28 -3
- package/dist/detectors/bare-comparative.js.map +1 -1
- package/dist/detectors/blank-structure.d.ts +7 -1
- package/dist/detectors/blank-structure.d.ts.map +1 -1
- package/dist/detectors/blank-structure.js +13 -8
- package/dist/detectors/blank-structure.js.map +1 -1
- package/dist/detectors/bracket-specified.d.ts +6 -0
- package/dist/detectors/bracket-specified.d.ts.map +1 -0
- package/dist/detectors/bracket-specified.js +23 -0
- package/dist/detectors/bracket-specified.js.map +1 -0
- package/dist/detectors/broken-link.d.ts +6 -0
- package/dist/detectors/broken-link.d.ts.map +1 -1
- package/dist/detectors/broken-link.js +23 -2
- package/dist/detectors/broken-link.js.map +1 -1
- package/dist/detectors/capitalised-term.d.ts +4 -0
- package/dist/detectors/capitalised-term.d.ts.map +1 -1
- package/dist/detectors/capitalised-term.js +18 -1
- package/dist/detectors/capitalised-term.js.map +1 -1
- package/dist/detectors/caps-caption.d.ts +17 -6
- package/dist/detectors/caps-caption.d.ts.map +1 -1
- package/dist/detectors/caps-caption.js +65 -0
- package/dist/detectors/caps-caption.js.map +1 -1
- package/dist/detectors/caps-phrase.d.ts +6 -0
- package/dist/detectors/caps-phrase.d.ts.map +1 -0
- package/dist/detectors/caps-phrase.js +16 -0
- package/dist/detectors/caps-phrase.js.map +1 -0
- package/dist/detectors/char-shape.d.ts +1 -0
- package/dist/detectors/char-shape.d.ts.map +1 -1
- package/dist/detectors/char-shape.js +56 -20
- package/dist/detectors/char-shape.js.map +1 -1
- package/dist/detectors/citation-sentence.d.ts +8 -0
- package/dist/detectors/citation-sentence.d.ts.map +1 -0
- package/dist/detectors/citation-sentence.js +40 -0
- package/dist/detectors/citation-sentence.js.map +1 -0
- package/dist/detectors/cited-title.d.ts +3 -2
- package/dist/detectors/cited-title.d.ts.map +1 -1
- package/dist/detectors/cited-title.js +14 -3
- package/dist/detectors/cited-title.js.map +1 -1
- package/dist/detectors/contraction-mention.d.ts +3 -0
- package/dist/detectors/contraction-mention.d.ts.map +1 -0
- package/dist/detectors/contraction-mention.js +22 -0
- package/dist/detectors/contraction-mention.js.map +1 -0
- package/dist/detectors/counter-edge.d.ts +2 -1
- package/dist/detectors/counter-edge.d.ts.map +1 -1
- package/dist/detectors/counter-edge.js +17 -2
- package/dist/detectors/counter-edge.js.map +1 -1
- package/dist/detectors/dash-break.d.ts +7 -0
- package/dist/detectors/dash-break.d.ts.map +1 -0
- package/dist/detectors/dash-break.js +30 -0
- package/dist/detectors/dash-break.js.map +1 -0
- package/dist/detectors/date-any-year.d.ts +7 -3
- package/dist/detectors/date-any-year.d.ts.map +1 -1
- package/dist/detectors/date-any-year.js +30 -8
- package/dist/detectors/date-any-year.js.map +1 -1
- package/dist/detectors/date-format.d.ts.map +1 -1
- package/dist/detectors/date-format.js +2 -1
- package/dist/detectors/date-format.js.map +1 -1
- package/dist/detectors/date-year.d.ts +9 -3
- package/dist/detectors/date-year.d.ts.map +1 -1
- package/dist/detectors/date-year.js +45 -9
- package/dist/detectors/date-year.js.map +1 -1
- package/dist/detectors/deadline-unit.d.ts +20 -0
- package/dist/detectors/deadline-unit.d.ts.map +1 -0
- package/dist/detectors/deadline-unit.js +19 -0
- package/dist/detectors/deadline-unit.js.map +1 -0
- package/dist/detectors/defined-term-form.d.ts.map +1 -1
- package/dist/detectors/defined-term-form.js +33 -7
- package/dist/detectors/defined-term-form.js.map +1 -1
- package/dist/detectors/definition-use.d.ts.map +1 -1
- package/dist/detectors/definition-use.js +14 -6
- package/dist/detectors/definition-use.js.map +1 -1
- package/dist/detectors/derived-numbers.d.ts.map +1 -1
- package/dist/detectors/derived-numbers.js +17 -4
- package/dist/detectors/derived-numbers.js.map +1 -1
- package/dist/detectors/document-shape.d.ts +5 -0
- package/dist/detectors/document-shape.d.ts.map +1 -1
- package/dist/detectors/document-shape.js +15 -1
- package/dist/detectors/document-shape.js.map +1 -1
- package/dist/detectors/doubled-across-aside.d.ts +9 -0
- package/dist/detectors/doubled-across-aside.d.ts.map +1 -0
- package/dist/detectors/doubled-across-aside.js +27 -0
- package/dist/detectors/doubled-across-aside.js.map +1 -0
- package/dist/detectors/doubled-punctuation.d.ts +3 -3
- package/dist/detectors/doubled-punctuation.d.ts.map +1 -1
- package/dist/detectors/doubled-punctuation.js +23 -4
- package/dist/detectors/doubled-punctuation.js.map +1 -1
- package/dist/detectors/doubled-word.d.ts.map +1 -1
- package/dist/detectors/doubled-word.js +2 -1
- package/dist/detectors/doubled-word.js.map +1 -1
- package/dist/detectors/duplicate-heading.d.ts +1 -0
- package/dist/detectors/duplicate-heading.d.ts.map +1 -1
- package/dist/detectors/duplicate-heading.js +25 -3
- package/dist/detectors/duplicate-heading.js.map +1 -1
- package/dist/detectors/ellipsis.d.ts.map +1 -1
- package/dist/detectors/ellipsis.js +13 -1
- package/dist/detectors/ellipsis.js.map +1 -1
- package/dist/detectors/email-letter.d.ts +40 -3
- package/dist/detectors/email-letter.d.ts.map +1 -1
- package/dist/detectors/email-letter.js +110 -17
- package/dist/detectors/email-letter.js.map +1 -1
- package/dist/detectors/field-label.d.ts +7 -0
- package/dist/detectors/field-label.d.ts.map +1 -0
- package/dist/detectors/field-label.js +23 -0
- package/dist/detectors/field-label.js.map +1 -0
- package/dist/detectors/footnote-mismatch.d.ts +6 -1
- package/dist/detectors/footnote-mismatch.d.ts.map +1 -1
- package/dist/detectors/footnote-mismatch.js +28 -7
- package/dist/detectors/footnote-mismatch.js.map +1 -1
- package/dist/detectors/fullwidth-alnum.d.ts.map +1 -1
- package/dist/detectors/fullwidth-alnum.js +7 -1
- package/dist/detectors/fullwidth-alnum.js.map +1 -1
- package/dist/detectors/graded-step.d.ts +20 -0
- package/dist/detectors/graded-step.d.ts.map +1 -0
- package/dist/detectors/graded-step.js +33 -0
- package/dist/detectors/graded-step.js.map +1 -0
- package/dist/detectors/gram-openers.d.ts +9 -0
- package/dist/detectors/gram-openers.d.ts.map +1 -0
- package/dist/detectors/gram-openers.js +40 -0
- package/dist/detectors/gram-openers.js.map +1 -0
- package/dist/detectors/gram-place.d.ts +3 -1
- package/dist/detectors/gram-place.d.ts.map +1 -1
- package/dist/detectors/gram-place.js +8 -0
- package/dist/detectors/gram-place.js.map +1 -1
- package/dist/detectors/gram-predicate.d.ts.map +1 -1
- package/dist/detectors/gram-predicate.js +37 -3
- package/dist/detectors/gram-predicate.js.map +1 -1
- package/dist/detectors/heading-echo.d.ts.map +1 -1
- package/dist/detectors/heading-echo.js +28 -2
- package/dist/detectors/heading-echo.js.map +1 -1
- package/dist/detectors/heading-record-rhythm.d.ts +9 -0
- package/dist/detectors/heading-record-rhythm.d.ts.map +1 -0
- package/dist/detectors/heading-record-rhythm.js +57 -0
- package/dist/detectors/heading-record-rhythm.js.map +1 -0
- package/dist/detectors/ime-residue.d.ts +1 -1
- package/dist/detectors/ime-residue.d.ts.map +1 -1
- package/dist/detectors/ime-residue.js +4 -3
- package/dist/detectors/ime-residue.js.map +1 -1
- package/dist/detectors/kanji-compound-slip.d.ts +3 -0
- package/dist/detectors/kanji-compound-slip.d.ts.map +1 -0
- package/dist/detectors/kanji-compound-slip.js +50 -0
- package/dist/detectors/kanji-compound-slip.js.map +1 -0
- package/dist/detectors/kutoten-consistency.d.ts +10 -2
- package/dist/detectors/kutoten-consistency.d.ts.map +1 -1
- package/dist/detectors/kutoten-consistency.js +83 -12
- package/dist/detectors/kutoten-consistency.js.map +1 -1
- package/dist/detectors/lexicon.d.ts.map +1 -1
- package/dist/detectors/lexicon.js +13 -4
- package/dist/detectors/lexicon.js.map +1 -1
- package/dist/detectors/link-shape.d.ts.map +1 -1
- package/dist/detectors/link-shape.js +9 -3
- package/dist/detectors/link-shape.js.map +1 -1
- package/dist/detectors/list-item-ending.d.ts +18 -0
- package/dist/detectors/list-item-ending.d.ts.map +1 -0
- package/dist/detectors/list-item-ending.js +35 -0
- package/dist/detectors/list-item-ending.js.map +1 -0
- package/dist/detectors/list-parallel.d.ts +18 -5
- package/dist/detectors/list-parallel.d.ts.map +1 -1
- package/dist/detectors/list-parallel.js +116 -36
- package/dist/detectors/list-parallel.js.map +1 -1
- package/dist/detectors/list-sentence.d.ts +4 -0
- package/dist/detectors/list-sentence.d.ts.map +1 -1
- package/dist/detectors/list-sentence.js +1 -1
- package/dist/detectors/list-sentence.js.map +1 -1
- package/dist/detectors/mark-shape.d.ts +13 -4
- package/dist/detectors/mark-shape.d.ts.map +1 -1
- package/dist/detectors/mark-shape.js +73 -10
- package/dist/detectors/mark-shape.js.map +1 -1
- package/dist/detectors/mentioned-phrase.d.ts +9 -0
- package/dist/detectors/mentioned-phrase.d.ts.map +1 -0
- package/dist/detectors/mentioned-phrase.js +25 -0
- package/dist/detectors/mentioned-phrase.js.map +1 -0
- package/dist/detectors/middle-dot.d.ts +2 -2
- package/dist/detectors/middle-dot.d.ts.map +1 -1
- package/dist/detectors/middle-dot.js +4 -2
- package/dist/detectors/middle-dot.js.map +1 -1
- package/dist/detectors/modal-conflict.d.ts.map +1 -1
- package/dist/detectors/modal-conflict.js +5 -2
- package/dist/detectors/modal-conflict.js.map +1 -1
- package/dist/detectors/name-variant.d.ts.map +1 -1
- package/dist/detectors/name-variant.js +6 -0
- package/dist/detectors/name-variant.js.map +1 -1
- package/dist/detectors/notice-paragraph.d.ts +9 -0
- package/dist/detectors/notice-paragraph.d.ts.map +1 -0
- package/dist/detectors/notice-paragraph.js +21 -0
- package/dist/detectors/notice-paragraph.js.map +1 -0
- package/dist/detectors/number-style.d.ts.map +1 -1
- package/dist/detectors/number-style.js +15 -2
- package/dist/detectors/number-style.js.map +1 -1
- package/dist/detectors/number-unit.d.ts.map +1 -1
- package/dist/detectors/number-unit.js +24 -1
- package/dist/detectors/number-unit.js.map +1 -1
- package/dist/detectors/numeral-opener.d.ts +6 -0
- package/dist/detectors/numeral-opener.d.ts.map +1 -1
- package/dist/detectors/numeral-opener.js +24 -1
- package/dist/detectors/numeral-opener.js.map +1 -1
- package/dist/detectors/obligation-without-deadline.d.ts +5 -1
- package/dist/detectors/obligation-without-deadline.d.ts.map +1 -1
- package/dist/detectors/obligation-without-deadline.js +44 -23
- package/dist/detectors/obligation-without-deadline.js.map +1 -1
- package/dist/detectors/open-end-class.d.ts +16 -0
- package/dist/detectors/open-end-class.d.ts.map +1 -0
- package/dist/detectors/open-end-class.js +65 -0
- package/dist/detectors/open-end-class.js.map +1 -0
- package/dist/detectors/open-end-condition.d.ts +7 -0
- package/dist/detectors/open-end-condition.d.ts.map +1 -0
- package/dist/detectors/open-end-condition.js +35 -0
- package/dist/detectors/open-end-condition.js.map +1 -0
- package/dist/detectors/open-end-names.d.ts +9 -3
- package/dist/detectors/open-end-names.d.ts.map +1 -1
- package/dist/detectors/open-end-names.js +5 -2
- package/dist/detectors/open-end-names.js.map +1 -1
- package/dist/detectors/open-end-question.d.ts +15 -0
- package/dist/detectors/open-end-question.d.ts.map +1 -0
- package/dist/detectors/open-end-question.js +37 -0
- package/dist/detectors/open-end-question.js.map +1 -0
- package/dist/detectors/open-end-scope.d.ts +16 -0
- package/dist/detectors/open-end-scope.d.ts.map +1 -0
- package/dist/detectors/open-end-scope.js +47 -0
- package/dist/detectors/open-end-scope.js.map +1 -0
- package/dist/detectors/opening-date.d.ts +10 -0
- package/dist/detectors/opening-date.d.ts.map +1 -0
- package/dist/detectors/opening-date.js +33 -0
- package/dist/detectors/opening-date.js.map +1 -0
- package/dist/detectors/ordinary-phrase.d.ts +20 -0
- package/dist/detectors/ordinary-phrase.d.ts.map +1 -0
- package/dist/detectors/ordinary-phrase.js +54 -0
- package/dist/detectors/ordinary-phrase.js.map +1 -0
- package/dist/detectors/organisation-run.d.ts +5 -7
- package/dist/detectors/organisation-run.d.ts.map +1 -1
- package/dist/detectors/organisation-run.js +10 -0
- package/dist/detectors/organisation-run.js.map +1 -1
- package/dist/detectors/orthographic-variant.d.ts.map +1 -1
- package/dist/detectors/orthographic-variant.js +85 -20
- package/dist/detectors/orthographic-variant.js.map +1 -1
- package/dist/detectors/orthography.d.ts.map +1 -1
- package/dist/detectors/orthography.js +9 -2
- package/dist/detectors/orthography.js.map +1 -1
- package/dist/detectors/oxford-comma.d.ts.map +1 -1
- package/dist/detectors/oxford-comma.js +70 -3
- package/dist/detectors/oxford-comma.js.map +1 -1
- package/dist/detectors/person-consistency.d.ts +2 -1
- package/dist/detectors/person-consistency.d.ts.map +1 -1
- package/dist/detectors/person-consistency.js +5 -3
- package/dist/detectors/person-consistency.js.map +1 -1
- package/dist/detectors/phrase-match.d.ts +2 -0
- package/dist/detectors/phrase-match.d.ts.map +1 -1
- package/dist/detectors/phrase-match.js +11 -4
- package/dist/detectors/phrase-match.js.map +1 -1
- package/dist/detectors/placeholder-text.d.ts.map +1 -1
- package/dist/detectors/placeholder-text.js +18 -3
- package/dist/detectors/placeholder-text.js.map +1 -1
- package/dist/detectors/placeholder.d.ts +3 -1
- package/dist/detectors/placeholder.d.ts.map +1 -1
- package/dist/detectors/placeholder.js +8 -3
- package/dist/detectors/placeholder.js.map +1 -1
- package/dist/detectors/postcode-end.d.ts +3 -0
- package/dist/detectors/postcode-end.d.ts.map +1 -0
- package/dist/detectors/postcode-end.js +15 -0
- package/dist/detectors/postcode-end.js.map +1 -0
- package/dist/detectors/prose-total-words.d.ts +5 -0
- package/dist/detectors/prose-total-words.d.ts.map +1 -0
- package/dist/detectors/prose-total-words.js +14 -0
- package/dist/detectors/prose-total-words.js.map +1 -0
- package/dist/detectors/range-notation.d.ts +2 -2
- package/dist/detectors/range-notation.d.ts.map +1 -1
- package/dist/detectors/range-notation.js +18 -7
- package/dist/detectors/range-notation.js.map +1 -1
- package/dist/detectors/registry/kanji-compound-slip.d.ts +3 -0
- package/dist/detectors/registry/kanji-compound-slip.d.ts.map +1 -0
- package/dist/detectors/registry/kanji-compound-slip.js +3 -0
- package/dist/detectors/registry/kanji-compound-slip.js.map +1 -0
- package/dist/detectors/registry/phrase-in-use.d.ts +3 -0
- package/dist/detectors/registry/phrase-in-use.d.ts.map +1 -0
- package/dist/detectors/registry/phrase-in-use.js +3 -0
- package/dist/detectors/registry/phrase-in-use.js.map +1 -0
- package/dist/detectors/requirement-smell.d.ts.map +1 -1
- package/dist/detectors/requirement-smell.js +35 -7
- package/dist/detectors/requirement-smell.js.map +1 -1
- package/dist/detectors/scaled-figure-unit.d.ts +28 -0
- package/dist/detectors/scaled-figure-unit.d.ts.map +1 -0
- package/dist/detectors/scaled-figure-unit.js +78 -0
- package/dist/detectors/scaled-figure-unit.js.map +1 -0
- package/dist/detectors/sentence-counts.d.ts +12 -2
- package/dist/detectors/sentence-counts.d.ts.map +1 -1
- package/dist/detectors/sentence-counts.js +52 -11
- package/dist/detectors/sentence-counts.js.map +1 -1
- package/dist/detectors/sentence-ending.d.ts +2 -0
- package/dist/detectors/sentence-ending.d.ts.map +1 -1
- package/dist/detectors/sentence-ending.js +10 -3
- 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/sentence-load.d.ts +4 -1
- package/dist/detectors/sentence-load.d.ts.map +1 -1
- package/dist/detectors/sentence-load.js +9 -2
- package/dist/detectors/sentence-load.js.map +1 -1
- package/dist/detectors/signals.d.ts.map +1 -1
- package/dist/detectors/signals.js +44 -52
- package/dist/detectors/signals.js.map +1 -1
- package/dist/detectors/structure-tree.d.ts.map +1 -1
- package/dist/detectors/structure-tree.js +14 -13
- package/dist/detectors/structure-tree.js.map +1 -1
- package/dist/detectors/structure.d.ts.map +1 -1
- package/dist/detectors/structure.js +2 -1
- package/dist/detectors/structure.js.map +1 -1
- package/dist/detectors/subject-name-line.d.ts +8 -0
- package/dist/detectors/subject-name-line.d.ts.map +1 -0
- package/dist/detectors/subject-name-line.js +53 -0
- package/dist/detectors/subject-name-line.js.map +1 -0
- package/dist/detectors/superlative-name.d.ts +5 -0
- package/dist/detectors/superlative-name.d.ts.map +1 -1
- package/dist/detectors/superlative-name.js +9 -0
- package/dist/detectors/superlative-name.js.map +1 -1
- package/dist/detectors/table-header.d.ts.map +1 -1
- package/dist/detectors/table-header.js +13 -1
- package/dist/detectors/table-header.js.map +1 -1
- package/dist/detectors/technical-docs.d.ts.map +1 -1
- package/dist/detectors/technical-docs.js +4 -1
- package/dist/detectors/technical-docs.js.map +1 -1
- package/dist/detectors/term-mention-sentence.d.ts +4 -0
- package/dist/detectors/term-mention-sentence.d.ts.map +1 -0
- package/dist/detectors/term-mention-sentence.js +28 -0
- package/dist/detectors/term-mention-sentence.js.map +1 -0
- package/dist/detectors/titled-run.d.ts +2 -1
- package/dist/detectors/titled-run.d.ts.map +1 -1
- package/dist/detectors/titled-run.js +9 -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 +15 -5
- package/dist/detectors/token-shape.js.map +1 -1
- package/dist/detectors/undefined-term.d.ts.map +1 -1
- package/dist/detectors/undefined-term.js +5 -0
- package/dist/detectors/undefined-term.js.map +1 -1
- package/dist/detectors/unknown-word.d.ts +4 -1
- package/dist/detectors/unknown-word.d.ts.map +1 -1
- package/dist/detectors/unknown-word.js +1 -1
- package/dist/detectors/unknown-word.js.map +1 -1
- package/dist/detectors/vague-density.d.ts +5 -2
- package/dist/detectors/vague-density.d.ts.map +1 -1
- package/dist/detectors/vague-density.js +17 -4
- package/dist/detectors/vague-density.js.map +1 -1
- package/dist/document-paragraphs.d.ts +4 -0
- package/dist/document-paragraphs.d.ts.map +1 -0
- package/dist/document-paragraphs.js +24 -0
- package/dist/document-paragraphs.js.map +1 -0
- package/dist/document.d.ts.map +1 -1
- package/dist/document.js +2 -19
- package/dist/document.js.map +1 -1
- package/dist/figure-references.d.ts +3 -0
- package/dist/figure-references.d.ts.map +1 -1
- package/dist/figure-references.js +6 -2
- package/dist/figure-references.js.map +1 -1
- package/dist/format-template.d.ts +3 -0
- package/dist/format-template.d.ts.map +1 -0
- package/dist/format-template.js +13 -0
- package/dist/format-template.js.map +1 -0
- package/dist/formula-brackets.d.ts +7 -0
- package/dist/formula-brackets.d.ts.map +1 -0
- package/dist/formula-brackets.js +29 -0
- package/dist/formula-brackets.js.map +1 -0
- package/dist/html/html-markdown.d.ts.map +1 -1
- package/dist/html/html-markdown.js +2 -1
- package/dist/html/html-markdown.js.map +1 -1
- package/dist/html/html-site-chrome.d.ts +5 -0
- package/dist/html/html-site-chrome.d.ts.map +1 -0
- package/dist/html/html-site-chrome.js +56 -0
- package/dist/html/html-site-chrome.js.map +1 -0
- 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/kanji-compound-slip.d.ts +32 -0
- package/dist/kanji-compound-slip.d.ts.map +1 -0
- package/dist/kanji-compound-slip.js +63 -0
- package/dist/kanji-compound-slip.js.map +1 -0
- package/dist/latin-company-form.d.ts +6 -0
- package/dist/latin-company-form.d.ts.map +1 -0
- package/dist/latin-company-form.js +32 -0
- package/dist/latin-company-form.js.map +1 -0
- package/dist/latin-word-boundary.d.ts +20 -0
- package/dist/latin-word-boundary.d.ts.map +1 -0
- package/dist/latin-word-boundary.js +57 -0
- package/dist/latin-word-boundary.js.map +1 -0
- package/dist/leading-label.d.ts +4 -0
- package/dist/leading-label.d.ts.map +1 -0
- package/dist/leading-label.js +14 -0
- package/dist/leading-label.js.map +1 -0
- package/dist/lexicon-genres.d.ts +2 -0
- package/dist/lexicon-genres.d.ts.map +1 -1
- package/dist/lexicon-genres.js +1 -1
- package/dist/lexicon-genres.js.map +1 -1
- package/dist/link-shape.d.ts +6 -0
- package/dist/link-shape.d.ts.map +1 -1
- package/dist/link-shape.js +27 -0
- package/dist/link-shape.js.map +1 -1
- package/dist/link-title.d.ts +4 -0
- package/dist/link-title.d.ts.map +1 -0
- package/dist/link-title.js +33 -0
- package/dist/link-title.js.map +1 -0
- package/dist/list-item-paragraphs.d.ts +15 -0
- package/dist/list-item-paragraphs.d.ts.map +1 -0
- package/dist/list-item-paragraphs.js +19 -0
- package/dist/list-item-paragraphs.js.map +1 -0
- package/dist/literal-quote.d.ts +12 -0
- package/dist/literal-quote.d.ts.map +1 -0
- package/dist/literal-quote.js +43 -0
- package/dist/literal-quote.js.map +1 -0
- package/dist/nado-closed-list.d.ts.map +1 -1
- package/dist/nado-closed-list.js +39 -5
- package/dist/nado-closed-list.js.map +1 -1
- package/dist/name-misspelt-usual.d.ts +5 -0
- package/dist/name-misspelt-usual.d.ts.map +1 -0
- package/dist/name-misspelt-usual.js +19 -0
- package/dist/name-misspelt-usual.js.map +1 -0
- package/dist/name-separator.d.ts.map +1 -1
- package/dist/name-separator.js +25 -2
- package/dist/name-separator.js.map +1 -1
- package/dist/nominal-stem.d.ts +14 -1
- package/dist/nominal-stem.d.ts.map +1 -1
- package/dist/nominal-stem.js +42 -4
- package/dist/nominal-stem.js.map +1 -1
- package/dist/notice-header.d.ts +19 -0
- package/dist/notice-header.d.ts.map +1 -0
- package/dist/notice-header.js +31 -0
- package/dist/notice-header.js.map +1 -0
- package/dist/person-forms.d.ts +8 -0
- package/dist/person-forms.d.ts.map +1 -1
- package/dist/person-forms.js +12 -0
- package/dist/person-forms.js.map +1 -1
- package/dist/plugin.d.ts +5 -0
- package/dist/plugin.d.ts.map +1 -1
- package/dist/preamble-paragraphs.d.ts +3 -2
- package/dist/preamble-paragraphs.d.ts.map +1 -1
- package/dist/preamble-paragraphs.js +8 -2
- package/dist/preamble-paragraphs.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 +11 -3
- package/dist/sentence-load.js.map +1 -1
- package/dist/spacing-code.d.ts +1 -0
- package/dist/spacing-code.d.ts.map +1 -1
- package/dist/spacing-code.js +4 -1
- package/dist/spacing-code.js.map +1 -1
- package/dist/split-noun.d.ts +10 -0
- package/dist/split-noun.d.ts.map +1 -0
- package/dist/split-noun.js +50 -0
- package/dist/split-noun.js.map +1 -0
- package/dist/structure/attached-parts.d.ts +12 -0
- package/dist/structure/attached-parts.d.ts.map +1 -0
- package/dist/structure/attached-parts.js +44 -0
- package/dist/structure/attached-parts.js.map +1 -0
- package/dist/structure/build.d.ts.map +1 -1
- package/dist/structure/build.js +7 -4
- package/dist/structure/build.js.map +1 -1
- package/dist/structure/contents-lines.d.ts +7 -0
- package/dist/structure/contents-lines.d.ts.map +1 -0
- package/dist/structure/contents-lines.js +51 -0
- package/dist/structure/contents-lines.js.map +1 -0
- package/dist/structure/defining-names.d.ts +37 -0
- package/dist/structure/defining-names.d.ts.map +1 -0
- package/dist/structure/defining-names.js +122 -0
- package/dist/structure/defining-names.js.map +1 -0
- package/dist/structure/definition-use.d.ts +8 -4
- package/dist/structure/definition-use.d.ts.map +1 -1
- package/dist/structure/definition-use.js +123 -38
- package/dist/structure/definition-use.js.map +1 -1
- package/dist/structure/gerund-phrase.d.ts +8 -0
- package/dist/structure/gerund-phrase.d.ts.map +1 -0
- package/dist/structure/gerund-phrase.js +30 -0
- package/dist/structure/gerund-phrase.js.map +1 -0
- package/dist/structure/issues.d.ts +4 -1
- package/dist/structure/issues.d.ts.map +1 -1
- package/dist/structure/issues.js +5 -2
- package/dist/structure/issues.js.map +1 -1
- package/dist/structure/list-lead-in.d.ts +19 -0
- package/dist/structure/list-lead-in.d.ts.map +1 -0
- package/dist/structure/list-lead-in.js +85 -0
- package/dist/structure/list-lead-in.js.map +1 -0
- package/dist/structure/modal-conflict.d.ts +7 -2
- package/dist/structure/modal-conflict.d.ts.map +1 -1
- package/dist/structure/modal-conflict.js +36 -7
- package/dist/structure/modal-conflict.js.map +1 -1
- package/dist/structure/negated-act.d.ts +17 -0
- package/dist/structure/negated-act.d.ts.map +1 -0
- package/dist/structure/negated-act.js +32 -0
- package/dist/structure/negated-act.js.map +1 -0
- package/dist/structure/numbering.d.ts +3 -1
- package/dist/structure/numbering.d.ts.map +1 -1
- package/dist/structure/numbering.js +20 -8
- package/dist/structure/numbering.js.map +1 -1
- package/dist/structure/prose-total.d.ts +4 -0
- package/dist/structure/prose-total.d.ts.map +1 -1
- package/dist/structure/prose-total.js +16 -6
- package/dist/structure/prose-total.js.map +1 -1
- package/dist/structure/repeated-number.d.ts +24 -0
- package/dist/structure/repeated-number.d.ts.map +1 -0
- package/dist/structure/repeated-number.js +89 -0
- package/dist/structure/repeated-number.js.map +1 -0
- package/dist/structure/rounded-amount.d.ts +8 -0
- package/dist/structure/rounded-amount.d.ts.map +1 -0
- package/dist/structure/rounded-amount.js +48 -0
- package/dist/structure/rounded-amount.js.map +1 -0
- package/dist/structure/side-step.d.ts +8 -0
- package/dist/structure/side-step.d.ts.map +1 -0
- package/dist/structure/side-step.js +21 -0
- package/dist/structure/side-step.js.map +1 -0
- package/dist/structure/spanned-label-blank.d.ts +8 -0
- package/dist/structure/spanned-label-blank.d.ts.map +1 -0
- package/dist/structure/spanned-label-blank.js +37 -0
- package/dist/structure/spanned-label-blank.js.map +1 -0
- package/dist/structure/universal.d.ts +10 -4
- package/dist/structure/universal.d.ts.map +1 -1
- package/dist/structure/universal.js +26 -7
- package/dist/structure/universal.js.map +1 -1
- package/dist/structure/unspaced-heading.d.ts +10 -0
- package/dist/structure/unspaced-heading.d.ts.map +1 -0
- package/dist/structure/unspaced-heading.js +24 -0
- package/dist/structure/unspaced-heading.js.map +1 -0
- package/dist/structure/written-list-path.d.ts +10 -0
- package/dist/structure/written-list-path.d.ts.map +1 -0
- package/dist/structure/written-list-path.js +37 -0
- package/dist/structure/written-list-path.js.map +1 -0
- package/dist/structure/written-resolve.d.ts +1 -1
- package/dist/structure/written-resolve.d.ts.map +1 -1
- package/dist/structure/written-resolve.js +15 -9
- package/dist/structure/written-resolve.js.map +1 -1
- package/dist/title-line.d.ts +23 -0
- package/dist/title-line.d.ts.map +1 -0
- package/dist/title-line.js +28 -0
- package/dist/title-line.js.map +1 -0
- package/dist/topic-clause.d.ts +7 -0
- package/dist/topic-clause.d.ts.map +1 -0
- package/dist/topic-clause.js +87 -0
- package/dist/topic-clause.js.map +1 -0
- package/dist/uncounted-particles.d.ts +18 -0
- package/dist/uncounted-particles.d.ts.map +1 -0
- package/dist/uncounted-particles.js +47 -0
- package/dist/uncounted-particles.js.map +1 -0
- package/package.json +3 -3
- package/rules/adversative-ga-repeat.yaml +1 -0
- package/rules/all-caps-shouting.yaml +2 -2
- package/rules/announced-count-mismatch.yaml +2 -2
- package/rules/bare-url-mix.yaml +2 -2
- package/rules/bracket-nesting.yaml +2 -2
- package/rules/bracket-width-consistency.yaml +2 -2
- package/rules/broken-link.yaml +2 -2
- package/rules/cliche.yaml +4 -3
- package/rules/code-fence-language-mix.yaml +2 -2
- package/rules/comparative-without-baseline.yaml +2 -2
- package/rules/concrete-evidence-density.yaml +1 -0
- package/rules/contraction-consistency.yaml +2 -2
- package/rules/dangling-figure-reference.yaml +2 -2
- package/rules/date-without-year.yaml +10 -2
- package/rules/defined-term-form.yaml +2 -2
- package/rules/doubled-punctuation.yaml +4 -4
- package/rules/doubled-word.yaml +2 -2
- package/rules/duplicate-definition.yaml +2 -2
- package/rules/duplicate-heading.yaml +2 -2
- package/rules/duration-mismatch.yaml +2 -2
- package/rules/email-greeting-closing.yaml +2 -2
- package/rules/email-subject-length.yaml +2 -2
- package/rules/empty-table-cell.yaml +2 -2
- package/rules/footnote-mismatch.yaml +2 -2
- package/rules/fullwidth-alnum-consistency.yaml +2 -2
- package/rules/heading-echo.yaml +2 -2
- package/rules/ime-residue.yaml +2 -2
- package/rules/kanji-compound-slip.yaml +67 -0
- package/rules/kutoten-consistency.yaml +4 -4
- package/rules/latin-spacing.yaml +2 -2
- package/rules/list-item-form-mix.yaml +2 -2
- package/rules/max-kanji-continuous.yaml +6 -4
- package/rules/max-sentence-length.yaml +2 -2
- package/rules/modal-conflict.yaml +1 -0
- package/rules/nado-closed-list.yaml +2 -2
- package/rules/ngram-repetition.yaml +2 -2
- package/rules/no-doubled-joshi.yaml +2 -2
- package/rules/no-mixed-desumasu.yaml +3 -3
- package/rules/no-nakaguro-parallel.yaml +2 -0
- package/rules/number-without-unit.yaml +9 -4
- package/rules/numbering-gap.yaml +7 -2
- package/rules/numeral-sentence-start.yaml +2 -2
- package/rules/obligation-without-deadline.yaml +2 -2
- package/rules/orthographic-variant.yaml +2 -2
- package/rules/oxford-comma-consistency.yaml +3 -3
- package/rules/preamble-length.yaml +3 -2
- package/rules/range-notation-consistency.yaml +2 -2
- package/rules/requirement-smell.yaml +3 -3
- package/rules/table-header-variant.yaml +2 -2
- package/rules/teki-overuse.yaml +3 -2
- package/rules/title-length.yaml +2 -2
- package/rules/topic-predicate-distance.yaml +2 -2
- package/rules/total-mismatch.yaml +2 -2
- package/rules/translationese-density.yaml +2 -2
- package/rules/undefined-acronym.yaml +5 -2
- package/rules/undefined-term.yaml +2 -2
- package/rules/unfilled-placeholder.yaml +4 -4
- package/rules/unqualified-superlative.yaml +1 -1
- package/rules/unused-definition.yaml +2 -2
- package/rules/use-before-definition.yaml +2 -2
- package/rules/vague-word-density.yaml +2 -2
- package/skills/chaff/SKILL.md +7 -1
- package/src/announced-count.ts +35 -8
- package/src/chronology-rows.ts +86 -0
- package/src/company-name-run.ts +37 -0
- package/src/compound-head.ts +25 -0
- package/src/date-format.ts +43 -4
- package/src/derived/count-per-period.ts +28 -0
- package/src/detectors/acronym-context.ts +30 -1
- package/src/detectors/acronym-expansion.ts +54 -6
- package/src/detectors/acronym-known.ts +40 -0
- package/src/detectors/acronym-link.ts +75 -0
- package/src/detectors/acronym-mention.ts +44 -0
- package/src/detectors/acronym-name.ts +29 -6
- package/src/detectors/addressee-edge.ts +16 -0
- package/src/detectors/addressee-title-edge.ts +39 -0
- package/src/detectors/announced-count.ts +1 -0
- package/src/detectors/bare-comparative.ts +44 -3
- package/src/detectors/blank-structure.ts +21 -10
- package/src/detectors/bracket-specified.ts +25 -0
- package/src/detectors/broken-link.ts +26 -2
- package/src/detectors/capitalised-term.ts +26 -2
- package/src/detectors/caps-caption.ts +76 -0
- package/src/detectors/caps-phrase.ts +17 -0
- package/src/detectors/char-shape.ts +73 -14
- package/src/detectors/citation-sentence.ts +44 -0
- package/src/detectors/cited-title.ts +15 -3
- package/src/detectors/contraction-mention.ts +24 -0
- package/src/detectors/counter-edge.ts +17 -2
- package/src/detectors/dash-break.ts +45 -0
- package/src/detectors/date-any-year.ts +34 -9
- package/src/detectors/date-format.ts +2 -1
- package/src/detectors/date-year.ts +64 -16
- package/src/detectors/deadline-unit.ts +40 -0
- package/src/detectors/defined-term-form.ts +32 -12
- package/src/detectors/definition-use.ts +17 -9
- package/src/detectors/derived-numbers.ts +19 -4
- package/src/detectors/document-shape.ts +20 -1
- package/src/detectors/doubled-across-aside.ts +36 -0
- package/src/detectors/doubled-punctuation.ts +28 -7
- package/src/detectors/doubled-word.ts +2 -1
- package/src/detectors/duplicate-heading.ts +26 -3
- package/src/detectors/ellipsis.ts +16 -1
- package/src/detectors/email-letter.ts +142 -23
- package/src/detectors/field-label.ts +25 -0
- package/src/detectors/footnote-mismatch.ts +39 -7
- package/src/detectors/fullwidth-alnum.ts +9 -1
- package/src/detectors/graded-step.ts +52 -0
- package/src/detectors/gram-openers.ts +50 -0
- package/src/detectors/gram-place.ts +10 -1
- package/src/detectors/gram-predicate.ts +43 -3
- package/src/detectors/heading-echo.ts +31 -3
- package/src/detectors/heading-record-rhythm.ts +57 -0
- package/src/detectors/ime-residue.ts +4 -3
- package/src/detectors/kanji-compound-slip.ts +61 -0
- package/src/detectors/kutoten-consistency.ts +102 -14
- package/src/detectors/lexicon.ts +18 -5
- package/src/detectors/link-shape.ts +10 -3
- package/src/detectors/list-item-ending.ts +51 -0
- package/src/detectors/list-parallel.ts +158 -33
- package/src/detectors/list-sentence.ts +5 -1
- package/src/detectors/mark-shape.ts +89 -10
- package/src/detectors/mentioned-phrase.ts +38 -0
- package/src/detectors/middle-dot.ts +7 -2
- package/src/detectors/modal-conflict.ts +5 -2
- package/src/detectors/name-variant.ts +6 -0
- package/src/detectors/notice-paragraph.ts +33 -0
- package/src/detectors/number-style.ts +14 -2
- package/src/detectors/number-unit.ts +28 -1
- package/src/detectors/numeral-opener.ts +27 -1
- package/src/detectors/obligation-without-deadline.ts +29 -4
- package/src/detectors/open-end-class.ts +78 -0
- package/src/detectors/open-end-condition.ts +40 -0
- package/src/detectors/open-end-names.ts +9 -3
- package/src/detectors/open-end-question.ts +50 -0
- package/src/detectors/open-end-scope.ts +62 -0
- package/src/detectors/opening-date.ts +47 -0
- package/src/detectors/ordinary-phrase.ts +62 -0
- package/src/detectors/organisation-run.ts +18 -2
- package/src/detectors/orthographic-variant.ts +124 -25
- package/src/detectors/orthography.ts +15 -2
- package/src/detectors/oxford-comma.ts +74 -3
- package/src/detectors/person-consistency.ts +5 -3
- package/src/detectors/phrase-match.ts +16 -5
- package/src/detectors/placeholder-text.ts +18 -3
- package/src/detectors/placeholder.ts +10 -3
- package/src/detectors/postcode-end.ts +16 -0
- package/src/detectors/prose-total-words.ts +18 -0
- package/src/detectors/range-notation.ts +26 -6
- package/src/detectors/registry/kanji-compound-slip.ts +4 -0
- package/src/detectors/registry/phrase-in-use.ts +4 -0
- package/src/detectors/requirement-smell.ts +45 -8
- package/src/detectors/scaled-figure-unit.ts +103 -0
- package/src/detectors/sentence-counts.ts +64 -12
- package/src/detectors/sentence-ending.ts +12 -3
- package/src/detectors/sentence-length.ts +17 -4
- package/src/detectors/sentence-load.ts +9 -2
- package/src/detectors/signals.ts +50 -53
- package/src/detectors/structure-tree.ts +14 -14
- package/src/detectors/structure.ts +2 -1
- package/src/detectors/subject-name-line.ts +66 -0
- package/src/detectors/superlative-name.ts +10 -0
- package/src/detectors/table-header.ts +15 -1
- package/src/detectors/technical-docs.ts +5 -1
- package/src/detectors/term-mention-sentence.ts +31 -0
- package/src/detectors/titled-run.ts +9 -4
- package/src/detectors/token-shape.ts +16 -5
- package/src/detectors/undefined-term.ts +8 -0
- package/src/detectors/unknown-word.ts +1 -1
- package/src/detectors/vague-density.ts +20 -4
- package/src/document-paragraphs.ts +27 -0
- package/src/document.ts +3 -23
- package/src/figure-references.ts +7 -2
- package/src/format-template.ts +15 -0
- package/src/formula-brackets.ts +36 -0
- package/src/html/html-markdown.ts +2 -1
- package/src/html/html-site-chrome.ts +104 -0
- package/src/joined-view.ts +1 -0
- package/src/kanji-compound-slip.ts +98 -0
- package/src/latin-company-form.ts +38 -0
- package/src/latin-word-boundary.ts +64 -0
- package/src/leading-label.ts +15 -0
- package/src/lexicon-genres.ts +1 -1
- package/src/link-shape.ts +31 -0
- package/src/link-title.ts +38 -0
- package/src/list-item-paragraphs.ts +22 -0
- package/src/literal-quote.ts +55 -0
- package/src/nado-closed-list.ts +48 -5
- package/src/name-misspelt-usual.ts +25 -0
- package/src/name-separator.ts +27 -2
- package/src/nominal-stem.ts +62 -5
- package/src/notice-header.ts +57 -0
- package/src/person-forms.ts +15 -0
- package/src/plugin.ts +5 -0
- package/src/preamble-paragraphs.ts +13 -3
- package/src/sentence-load.ts +14 -3
- package/src/spacing-code.ts +5 -1
- package/src/split-noun.ts +63 -0
- package/src/structure/attached-parts.ts +47 -0
- package/src/structure/build.ts +7 -4
- package/src/structure/contents-lines.ts +63 -0
- package/src/structure/defining-names.ts +155 -0
- package/src/structure/definition-use.ts +149 -32
- package/src/structure/gerund-phrase.ts +31 -0
- package/src/structure/issues.ts +7 -3
- package/src/structure/list-lead-in.ts +94 -0
- package/src/structure/modal-conflict.ts +42 -7
- package/src/structure/negated-act.ts +49 -0
- package/src/structure/numbering.ts +24 -9
- package/src/structure/prose-total.ts +20 -6
- package/src/structure/repeated-number.ts +110 -0
- package/src/structure/rounded-amount.ts +55 -0
- package/src/structure/side-step.ts +21 -0
- package/src/structure/spanned-label-blank.ts +39 -0
- package/src/structure/universal.ts +33 -9
- package/src/structure/unspaced-heading.ts +27 -0
- package/src/structure/written-list-path.ts +46 -0
- package/src/structure/written-resolve.ts +16 -9
- package/src/title-line.ts +53 -0
- package/src/topic-clause.ts +109 -0
- package/src/uncounted-particles.ts +72 -0
|
@@ -46,8 +46,8 @@ example:
|
|
|
46
46
|
申込は2024年4月10日までです。説明会は2024年4月3日と2024年4月5日に開きます。
|
|
47
47
|
|
|
48
48
|
not_flagged:
|
|
49
|
-
ja: 鉤括弧で引いたもの、項目と注の番号(「1.」「(1)」「※1」)、箇条書きの頭の番号、版の番号の続き(TLS1.2 の 2)、注や URL
|
|
50
|
-
en: Quotations in brackets, item and note numbers (1., (1), ※1), a number at the head of a list item, the rest of a version number (the 2 of TLS1.2), and notes or sentences with a URL are not counted. Single letters, words, single digits and longer numbers are compared separately, so "one digit full-width, more digits half-width" counts as consistent. Neither way is called right.
|
|
49
|
+
ja: 鉤括弧で引いたもの、項目と注の番号(「1.」「(1)」「※1」)、箇条書きの頭の番号、版の番号の続き(TLS1.2 の 2)、注や URL を含む文は数えません。小文字を含む半角の英語の語(AI for Science の for と Science)は、英字の書き方の票には入れますが、少ないほうとしては指摘しません。英語の語は、略語を全角で書く文書でも半角で書くためです。英字一字・英字の語・数字一字・数字の並びは別々に比べるので、「1桁は全角、2桁以上は半角」はそろっていると見ます。どちらの書き方が正しいかは決めません。
|
|
50
|
+
en: Quotations in brackets, item and note numbers (1., (1), ※1), a number at the head of a list item, the rest of a version number (the 2 of TLS1.2), and notes or sentences with a URL are not counted. A half-width English word with lower case (the for and Science of AI for Science) counts toward the document's way of writing letters but is never reported itself, since English words stay half-width even where acronyms are full-width. Single letters, words, single digits and longer numbers are compared separately, so "one digit full-width, more digits half-width" counts as consistent. Neither way is called right.
|
|
51
51
|
level_meaning:
|
|
52
52
|
ja: 少ないほうが組の {limit}% 以下のとき指摘
|
|
53
53
|
en: reported when the minority form is {limit}% of its group or less
|
package/rules/heading-echo.yaml
CHANGED
|
@@ -60,8 +60,8 @@ example:
|
|
|
60
60
|
Attach the receipt and submit it by the end of the month.
|
|
61
61
|
|
|
62
62
|
not_flagged:
|
|
63
|
-
ja: 短い見出し(言葉が少なく、重なりを測れないもの)は見ません。見出しの頭の番号の札(例 3:、Step 3:、1.、第2章)は重なりに数えません。中身の置き場所(リンク、URL、コードで書いたファイルのパス)へ読者を渡す文(詳しくは `docs/api.md`
|
|
64
|
-
en: Headings too short to measure an overlap are not checked. A number label at the head of a heading (Step 3:, Example 4:, 1., Chapter 2:) is not counted in the overlap. A sentence that sends the reader to where the content lives (a link, a web address, a file path in code, as in The full reference is in `docs/api.md`.) is not an echo. A name alone (a letterhead) or a field and its value (a contact name after its label) right under the heading is the top of a form, not an echo.
|
|
63
|
+
ja: 短い見出し(言葉が少なく、重なりを測れないもの)は見ません。見出しの頭の番号の札(例 3:、Step 3:、1.、第2章)は重なりに数えません。中身の置き場所(リンク、URL、コードで書いたファイルのパス)へ読者を渡す文(詳しくは `docs/api.md` にあります。)は繰り返しではありません。見出しの直後が名前だけの行(レターヘッド)や項目と値の行(担当者:山田)なら、書式の頭で、繰り返しではありません。見出しが扱うものの名前だけの行(「実施要綱について」の下の「実施要綱」、「ご意見をお聞かせください」一覧)は、リンクや添付の札で、繰り返しではありません。行頭の項目名(「## Project Status」の下の「Current project status:Ongoing」)は報告の書式の札なので、重なりは値の側だけで測ります。
|
|
64
|
+
en: Headings too short to measure an overlap are not checked. A number label at the head of a heading (Step 3:, Example 4:, 1., Chapter 2:) is not counted in the overlap. A sentence that sends the reader to where the content lives (a link, a web address, a file path in code, as in The full reference is in `docs/api.md`.) is not an echo. A name alone (a letterhead) or a field and its value (a contact name after its label) right under the heading is the top of a form, not an echo. A line that only names what the heading is about (Annual maintenance schedule under About the annual maintenance schedule, or a list titled with the quoted heading) is the label of a link or an attachment, not an echo. A field label opening the line (the Current project status field under Project Status) belongs to a report template, so only the value is measured against the heading.
|
|
65
65
|
level_meaning:
|
|
66
66
|
ja: 見出しと直後の文の重なりが {limit}% 以上なら指摘
|
|
67
67
|
en: reported when the first sentence overlaps the heading by {limit}% or more
|
package/rules/ime-residue.yaml
CHANGED
|
@@ -37,8 +37,8 @@ example:
|
|
|
37
37
|
この資料はとてもおもしろいです。
|
|
38
38
|
|
|
39
39
|
not_flagged:
|
|
40
|
-
ja: 大文字(A 社、B さん)、二字以上の英字(while 文、note)、コードの中は指しません。後ろに助詞が続く一字(変数 x が、まず x を、を x で)は変数の名と読み、一字の後ろが漢字のもの(の x 座標)も指しません。片仮名の後ろの一字(サイズ m、プラン b)は記号と読み、パスの中(/docs
|
|
41
|
-
en: Capitals (A社, Bさん), runs of two or more letters (while文, note) and code are not reported. A letter followed by a particle (変数xが, まずxを, をxで) is read as the name of a variable, and a letter followed by a kanji (のx座標) is not reported either. A letter after katakana (サイズm, プランb) is read as a label, and paths (/docs/…) are not read.
|
|
40
|
+
ja: 大文字(A 社、B さん)、二字以上の英字(while 文、note)、コードの中は指しません。後ろに助詞が続く一字(変数 x が、まず x を、を x で)は変数の名と読み、一字の後ろが漢字のもの(の x 座標)も指しません。片仮名の後ろの一字(サイズ m、プラン b)は記号と読み、パスの中(/docs/…)も見ません。母音の一字(e ラーニング、i モード)は、ローマ字入力ならすぐ仮名になるので残りではなく、語の一部と読みます。
|
|
41
|
+
en: Capitals (A社, Bさん), runs of two or more letters (while文, note) and code are not reported. A letter followed by a particle (変数xが, まずxを, をxで) is read as the name of a variable, and a letter followed by a kanji (のx座標) is not reported either. A letter after katakana (サイズm, プランb) is read as a label, and paths (/docs/…) are not read. A lone vowel (eラーニング, iモード) is part of the word, since romaji input turns a vowel into kana at once and never leaves it behind.
|
|
42
42
|
sources: [textlint-ja-presets]
|
|
43
43
|
rewrite:
|
|
44
44
|
depth: light
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
id: kanji-compound-slip
|
|
2
|
+
layer: L3
|
|
3
|
+
status: stable
|
|
4
|
+
how_to_find: kanji-compound-slip
|
|
5
|
+
word_list: compound-slip-ignored
|
|
6
|
+
requires: [pos]
|
|
7
|
+
languages: [ja]
|
|
8
|
+
severity: warning
|
|
9
|
+
|
|
10
|
+
name:
|
|
11
|
+
ja: 長い漢字の語の一字違い
|
|
12
|
+
en: One kanji off in a long compound
|
|
13
|
+
|
|
14
|
+
why:
|
|
15
|
+
ja: 「就職氷河期世代」と何度も書いた文書に、一度だけ「就職永河期世代」とあるのは打ち違いです。字の形が似ていると、書き手も読み手も見落とします。chaff は文書の中で 3 回以上書いた 4 字以上の漢字の語と、同じ長さで一字だけ違い、一、二度しか出てこない語を比べます。違う字のところで解析器が語を読めず(永・河・期 とばらばらになる)、いつもの形ではそこが一つの語(氷河期)であるときだけ指します。どちらも普通の語の書き分け(第一条と第二条、前年度と今年度、関係会社と関連会社)や、語の頭と終わりの一字(資本金等、取締役会又は)は指しません。
|
|
16
|
+
en: A document that writes 就職氷河期世代 ("the employment ice-age generation") several times and 就職永河期世代 once has a slip of the pen, and a kanji that looks like another is easy to miss. chaff compares each kanji compound of four or more characters written at least three times with compounds of the same length written once or twice that differ in one kanji. It reports one only where the morphological analyser cannot read the changed word (永 / 河 / 期 come apart) while the usual form holds that kanji inside one word (氷河期). Two real words told apart on purpose (第一条 and 第二条, 前年度 and 今年度, 関係会社 and 関連会社) and the first or last kanji of a run (資本金等, 取締役会又は) are not reported.
|
|
17
|
+
|
|
18
|
+
message:
|
|
19
|
+
ja: 「{written}」と書いています(この文書は「{usual}」を {count} 回書いています)
|
|
20
|
+
en: '"{written}" here, where the document writes "{usual}" {count} times'
|
|
21
|
+
|
|
22
|
+
how_to_fix:
|
|
23
|
+
ja: 打ち違いなら、文書のほかの所の書き方に直してください。別の語として書いているなら、そのままにします。
|
|
24
|
+
en: If it is a slip, write it the way the rest of the document does. If it is another word on purpose, leave it.
|
|
25
|
+
|
|
26
|
+
placeholders:
|
|
27
|
+
written:
|
|
28
|
+
ja: この箇所の語
|
|
29
|
+
en: the compound here
|
|
30
|
+
usual:
|
|
31
|
+
ja: 文書がいつも書く語
|
|
32
|
+
en: the compound the document usually writes
|
|
33
|
+
count:
|
|
34
|
+
ja: いつもの語の数
|
|
35
|
+
en: how often the usual compound appears
|
|
36
|
+
|
|
37
|
+
levels: { strict: warning, normal: warning, relaxed: info }
|
|
38
|
+
|
|
39
|
+
use_for: [business, technical, blog, legal, docs, academic, literature, speech]
|
|
40
|
+
|
|
41
|
+
group: slips
|
|
42
|
+
summary:
|
|
43
|
+
ja: 何度も書いた長い漢字の語を、一か所だけ一字違えて書いた所
|
|
44
|
+
en: A long kanji compound written once with one kanji changed
|
|
45
|
+
example:
|
|
46
|
+
ja:
|
|
47
|
+
before: |
|
|
48
|
+
就職氷河期世代の方を対象に、選考を行います。就職氷河期世代の方の応募をお待ちしています。就職氷河期世代の採用は三年間続けます。就職永河期世代の方の説明会も開きます。
|
|
49
|
+
after: |
|
|
50
|
+
就職氷河期世代の方を対象に、選考を行います。就職氷河期世代の方の応募をお待ちしています。就職氷河期世代の採用は三年間続けます。就職氷河期世代の方の説明会も開きます。
|
|
51
|
+
|
|
52
|
+
not_flagged:
|
|
53
|
+
ja: どちらの形も解析器が語として読めるとき(関係会社と関連会社、休憩時間と休息時間)、違う語を文書がほかの所でも書いているとき(当該質権者の横に質権の設定)、違う字が数・順・番地・期間の字のとき(第一条と第二条、前年度と今年度、同条と同項、五日以内と五年以内)、違う字が漢字の続きの頭か終わりのとき(資本金等と資本金及び)、いつもの形が 3 回未満か、違う形の倍より少ないとき、違う形が 3 回以上あるときは指しません。
|
|
54
|
+
en: Not reported when the analyser reads both forms as words (関係会社 and 関連会社), when the document writes the changed word elsewhere (質権 beside 当該質権者), when the differing kanji is a number, an order, a part of an address in a statute or a unit of time (第一条 and 第二条, 前年度 and 今年度, 同条 and 同項, 五日以内 and 五年以内), when it is the first or last kanji of the run (資本金等 beside 資本金及), when the usual form appears fewer than three times or not more than twice as often, or when the other form appears three times or more.
|
|
55
|
+
rewrite:
|
|
56
|
+
depth: light
|
|
57
|
+
ja:
|
|
58
|
+
direction: 一字違いの語を、文書がいつも書く形に直してください。直すのはその一字だけです。
|
|
59
|
+
pairs:
|
|
60
|
+
- before: 就職永河期世代の方の説明会も開きます。
|
|
61
|
+
after: 就職氷河期世代の方の説明会も開きます。
|
|
62
|
+
- before: 地域包活支援センターの職員が相談を受けます。
|
|
63
|
+
after: 地域包括支援センターの職員が相談を受けます。
|
|
64
|
+
keep:
|
|
65
|
+
- 文の中のほかの語
|
|
66
|
+
avoid:
|
|
67
|
+
- 別の語として書き分けた語まで、いつもの形に替える
|
|
@@ -10,8 +10,8 @@ name:
|
|
|
10
10
|
en: Japanese commas and periods are mixed
|
|
11
11
|
|
|
12
12
|
why:
|
|
13
|
-
ja: 読点を「、」と「,」、句点を「。」と「.」のどちらで書くかは、どちらでも読めます(横書きの論文や公用文には「,」があります)。困るのは一つの文書の中で混ざることで、貼り付けた文や別の人が書いた段落が、そこだけ違って見えます。chaff
|
|
14
|
-
en: Whether Japanese text uses 、 or , for its commas and 。 or . for its periods is a choice either way (, is common in horizontal academic and official writing). What reads badly is mixing both in one document, which makes a pasted sentence or another writer's paragraph stand out. chaff does not decide which is right; for commas and for periods separately, it points at whichever the document uses less. Marks inside a number (1,000, 3.5), after a list number (1.はじめに,
|
|
13
|
+
ja: 読点を「、」と「,」、句点を「。」と「.」のどちらで書くかは、どちらでも読めます(横書きの論文や公用文には「,」があります)。困るのは一つの文書の中で混ざることで、貼り付けた文や別の人が書いた段落が、そこだけ違って見えます。chaff はどちらが正しいかを決めず、読点と句点のそれぞれで、文書の中で少ないほうを指摘します。数の中の「,」「.」(1,000、3.5)、番号の印の点(1.はじめに、2.確認、(注)1.、イ.ロ.)、一、二文字の英字の印の後ろの点(Q.)、英字の会社の名前の形(CO.,LTD.)、鉤括弧で引いたものの中と、注の番号で始まる行や URL を含む文(文献や出典の書き方に従う)は数えません。
|
|
14
|
+
en: Whether Japanese text uses 、 or , for its commas and 。 or . for its periods is a choice either way (, is common in horizontal academic and official writing). What reads badly is mixing both in one document, which makes a pasted sentence or another writer's paragraph stand out. chaff does not decide which is right; for commas and for periods separately, it points at whichever the document uses less. Marks inside a number (1,000, 3.5), after a list number or label (1.はじめに, 2.確認, (注)1., イ.ロ.), after a one- or two-letter label (Q.), in a company form written in Latin letters (CO.,LTD.), inside a 「」 quotation, and in a sentence that starts with a note number or holds a URL (a citation follows its own style) are not counted.
|
|
15
15
|
|
|
16
16
|
message:
|
|
17
17
|
ja: 「{mark}」と書いています(この文書はふつう「{usual}」。{of} 箇所のうち {count} 箇所が違う)
|
|
@@ -46,8 +46,8 @@ example:
|
|
|
46
46
|
申込書は、窓口で受け付けます。書類は、担当者が確認します。結果は、翌日に知らせます。
|
|
47
47
|
|
|
48
48
|
not_flagged:
|
|
49
|
-
ja:
|
|
50
|
-
en: Marks inside numbers (1,000, 3.5), after a list number (
|
|
49
|
+
ja: 数の中の「,」「.」(1,000、3.5)、番号の印の点(1.、(注)1.、イ.)、番号を指す点(3.から5.まで、(1)4.の改正)、「Q.」のような英字の印、英字の会社の名前の形(CO.,LTD.)、「」の中、注の番号で始まる行と URL を含む文は数えません。どちらの書き方が正しいかは決めません。
|
|
50
|
+
en: Marks inside numbers (1,000, 3.5), after a list number or label (1., (注)1., イ.), after a number that is referred to (3.から5.まで, (1)4.の改正), in a letter label (Q.), in a company form (CO.,LTD.), inside 「」, and in a note or a sentence with a URL are not counted. Neither way is called right.
|
|
51
51
|
level_meaning:
|
|
52
52
|
ja: 少ないほうの書き方が {limit} 箇所あれば指摘
|
|
53
53
|
en: reported once {limit} places go against the document's habit
|
package/rules/latin-spacing.yaml
CHANGED
|
@@ -70,8 +70,8 @@ example:
|
|
|
70
70
|
表は Excel で作り、Word に貼ります。図は PowerPoint で描きます。最後に PDF にします。
|
|
71
71
|
|
|
72
72
|
not_flagged:
|
|
73
|
-
ja: 電話番号や日付のような番号、版番号(1.0.0)、予約番号や型番(MN-48215)の前後、単位つきの日付や時刻(9月、10時5
|
|
74
|
-
en: Codes such as phone numbers, dates and version numbers (1.0.0), the spaces beside a booking or model number (MN-48215), dates and times with units (9月, 10時5分), the space before a floor or room number after the name of a building (本社 5階), the space between names on a line of names alone (経営企画部 IR担当), the spaces beside a code of six digits or more or a number plate, the space between the parts of a value after a label and a colon (所属:経済学科 1年), heading numbers, the space after an item number at the head of a line (一 JIS…), quotations and the text of links are not counted. Neither way is called right. When the less common way is more than a fifth of the places (and at least five), or both ways are used equally at two places or more each, it is reported once, as a document written two ways, rather than place by place. A one-to-one tie is not reported.
|
|
73
|
+
ja: 電話番号や日付のような番号、版番号(1.0.0)、予約番号や型番(MN-48215)の前後、単位つきの日付や時刻(9月、10時5分)、AM・PM を付けた時刻(9:30AM)の後ろ、建物の名前の後ろに空白で区切った階や部屋の番号(本社 5階)の前、名前だけを並べた行の名前と名前のあいだ(経営企画部 IR担当)、6 桁以上の番号やナンバープレートの前後、項目名とコロンの後ろの値の組のあいだ(所属:経済学科 1年)、項目名と値のあいだ(Bronzeプラン 10万円 (税込))、日本語の句をつなぐ英語の語の前後(名前 or メッセージ)、英字の語に付けた接尾の語(PDF版、IT化)の前、チャンネルや宛先の名前(#pj_oss-team、@sato)の後ろ、見出しの番号、行の頭の項目の番号(「一 JIS…」の一、イ)の後ろ、「」の中、リンクの文字の中は数えません。どちらの空け方が正しいかは決めません。少ないほうが全体の 2 割を超えるほど多ければ(5 箇所以上)、また二通りが 2 箇所以上ずつの同数なら、1 箇所ずつではなく、書き方が二通りあることを 1 件で言います。1 対 1 の同数は言いません。
|
|
74
|
+
en: Codes such as phone numbers, dates and version numbers (1.0.0), the spaces beside a booking or model number (MN-48215), dates and times with units (9月, 10時5分), the space after a time with AM or PM (9:30AM), the space before a floor or room number after the name of a building (本社 5階), the space between names on a line of names alone (経営企画部 IR担当), the spaces beside a code of six digits or more or a number plate, the space between the parts of a value after a label and a colon (所属:経済学科 1年), the space between a label and its value (Bronzeプラン 10万円 (税込)), the spaces around an English word joining Japanese phrases (名前 or メッセージ), the boundary before a suffix bound to a Latin word (PDF版, IT化), the boundary after a channel or handle name (#pj_oss-team, @sato), heading numbers, the space after an item number at the head of a line (一 JIS…), quotations and the text of links are not counted. Neither way is called right. When the less common way is more than a fifth of the places (and at least five), or both ways are used equally at two places or more each, it is reported once, as a document written two ways, rather than place by place. A one-to-one tie is not reported.
|
|
75
75
|
level_meaning:
|
|
76
76
|
ja: 少ないほうの空け方が {limit} 箇所あれば指摘
|
|
77
77
|
en: reported once {limit} places go against the document's habit
|
|
@@ -81,8 +81,8 @@ example:
|
|
|
81
81
|
- Put the configuration file in your home folder
|
|
82
82
|
|
|
83
83
|
not_flagged:
|
|
84
|
-
ja: 項目が三つに満たない箇条書き、少ないほうが三分の一を超える箇条書き(使い分けと見る)、一語だけの項目、「札:説明」の形の項目、コードやリンクを含む項目、読点や「;」で終わって一つの文を分けて並べた箇条書き、引用の中の箇条書きは見ません。項目の最後の括弧書き(「健康診断書(3
|
|
85
|
-
en: 'Lists of fewer than three items, lists where the less common form is more than a third (used on purpose), one-word items, "Label: value" items, items holding code or a link, lists whose items end in a comma, a semicolon or "and" (one sentence split into items), and quoted lists are not checked. A capitalised name (Cover Letter), a word that is also a verb (Design documents), an adjective before a preposition (Free of charge, Clean up)
|
|
84
|
+
ja: 項目が三つに満たない箇条書き、少ないほうが三分の一を超える箇条書き(使い分けと見る)、一語だけの項目、「札:説明」の形の項目、コードやリンクを含む項目、読点や「;」で終わって一つの文を分けて並べた箇条書き、引用の中の箇条書きは見ません。項目の最後の括弧書き(「健康診断書(3か月以内のもの)」)は外して形を見ます。英語の項目では、名前(Cover Letter)、動詞にもなる語(Design documents)、-ing や -ed の語(Reviewing the code、Improved access)、名詞の前の Secure や Open は、最初の語で形を決めません。the や your が続く語(Open the app)と、動詞を含む並び(Scope, estimate and describe)は動詞で始まると見て、「you're …」は「you love …」と同じく主語で始まると見ます。コロンで終わる項目(「ほかの種類:」)は後ろへの導入なので、終わり方を見ません。項目の後ろの記号(!!)と脚注の印([^1])は外して形を見て、名詞のすぐ後ろの「あり」「なし」(翻訳あり)は名詞で止めた形と見ます。法務・文学・話し言葉・議事録のジャンルでは見ません。
|
|
85
|
+
en: 'Lists of fewer than three items, lists where the less common form is more than a third (used on purpose), one-word items, "Label: value" items, items holding code or a link, lists whose items end in a comma, a semicolon or "and" (one sentence split into items), and quoted lists are not checked. A capitalised name (Cover Letter), a word that is also a verb (Design documents), an adjective before a preposition (Free of charge, Clean up), an -ing or -ed word (Reviewing the code, Improved access) and Secure or Open before a bare noun (Secure configuration) are not judged by their first word. A word followed by "the", "a" or "your" (Open the app) and a series holding a verb (Scope, estimate and describe) open with a verb; "youre …" opens with its subject, as "you love …" does. An item ending in a colon (Other kinds:) leads into what follows, so its ending is not judged. Marks after an item (!!) and a footnote reference ([^1]) are set aside, and Japanese あり or なし right after a noun (翻訳あり) is read as a noun ending. Legal, literary, speech and meeting-notes genres do not run this rule.'
|
|
86
86
|
level_meaning:
|
|
87
87
|
ja: 少ないほうの形が、箇条書きの項目の {limit}% 以下のとき指摘
|
|
88
88
|
en: reported when the less common form is {limit}% of the list's items or less
|
|
@@ -6,9 +6,11 @@ how_to_find: kanji-run
|
|
|
6
6
|
uses: [pos]
|
|
7
7
|
# chaff.yaml の names に並べた名前は連なりを切る。鉤括弧の中身がまるごと 1 つの連なりなら数えない(書き手が 1 つの名前と示している)。
|
|
8
8
|
# 住所の先頭にしか来ない単位(都道府県)。地名の後ろに付けば、割られた町名ではなく地名の並び。
|
|
9
|
-
# 組織の名前(organisation-form で始まるか地名・固有名詞で始まり organisation-unit
|
|
9
|
+
# 組織の名前(organisation-form で始まるか地名・固有名詞で始まり organisation-unit で閉じる、organisation-unit で閉じる区切りが続く、
|
|
10
|
+
# または固有名詞か地名を含み、名前の後ろに立つ法人格で閉じる)は数えない。
|
|
10
11
|
# 題の名前(title-ending で閉じ、括弧を閉じるか補いの括弧が続くか一行だけか見出しにあるもの: 〜実施要綱、〜選考試験)は数えない。
|
|
11
|
-
|
|
12
|
+
# 日付の単位(4月の「月」)は、数に付いた助数詞として連なりの頭から外す。
|
|
13
|
+
extra_word_lists: [prefecture-unit, organisation-form, organisation-unit, title-ending, calendar-unit, addressee-prefix, addressee-title]
|
|
12
14
|
languages: [ja]
|
|
13
15
|
severity: info
|
|
14
16
|
|
|
@@ -51,8 +53,8 @@ example:
|
|
|
51
53
|
after: 来週、新しい顧客を増やす施策を話し合う会議を開きます。
|
|
52
54
|
|
|
53
55
|
not_flagged:
|
|
54
|
-
ja:
|
|
55
|
-
en: Official organisation names (a legal form or a place name followed by a name that ends in a unit such as 研究所 or 協会, or a chain of units such as
|
|
56
|
+
ja: 組織の正式名称(国立研究開発法人産業技術総合研究所、経済産業省製造産業局自動車課、東日本青葉自動車販売株式会社)、題の名前(要綱・試験・事業・法令などで終わり、一行だけで書くか括弧でくくるか見出しにあるもの。大阪市鶴見区役所公募型比較見積実施要綱など)、chaff.yaml の names に書いた組織名や製品名、法令の条番号(第二十二条第二項)は数えません。
|
|
57
|
+
en: Official organisation names (a legal form or a place name followed by a name that ends in a unit such as 研究所 or 協会, or a chain of units such as 省・局・課, or a name with a proper noun closed by a legal form such as 株式会社), titles of named things (a run ending in 要綱, 試験, 事業, 法 and the like that stands on a line of its own, closes a bracket, is followed by a bracketed note, or appears in a heading), names listed under names in chaff.yaml, and provision numbers in statutes (第二十二条第二項) are not counted.
|
|
56
58
|
level_meaning:
|
|
57
59
|
ja: 漢字の連続 {limit} 字まで
|
|
58
60
|
en: up to {limit} kanji in a row
|
|
@@ -101,8 +101,8 @@ example:
|
|
|
101
101
|
The new pricing will be trialled from next month. We have not yet decided how to explain it to existing customers, or when to change the billing system. We will agree on a plan this week.
|
|
102
102
|
|
|
103
103
|
not_flagged:
|
|
104
|
-
ja: 見出し、表のセル、コードは数えません。印刷版を文字にした文書が文の途中に残すページの印(「( printed page 52044)」「- 12
|
|
105
|
-
en: Headings, table cells and code are not counted, nor are the page markers a converted print edition leaves inside a sentence ("( printed page 52044)", "[[Page 52044]]"). Genres where long sentences are normal (statutes, papers) raise the limit.
|
|
104
|
+
ja: 見出し、表のセル、コードは数えません。印刷版を文字にした文書が文の途中に残すページの印(「( printed page 52044)」「- 12 -」)も数えません。脚注の文献の記載(著者 (2025), "題," 出版者)は、その前に書き手が置いた言葉(For example, see …)だけを数えます。法令や論文のように長い一文が普通の種類では、ジャンルが上限を長くします。
|
|
105
|
+
en: Headings, table cells and code are not counted, nor are the page markers a converted print edition leaves inside a sentence ("( printed page 52044)", "[[Page 52044]]"). A footnote that is a bibliographic citation (authors (2025), "Title," publisher) counts only the words the writer puts before it ("For example, see …"). Genres where long sentences are normal (statutes, papers) raise the limit.
|
|
106
106
|
level_meaning:
|
|
107
107
|
ja: 一文 {limit} 字まで
|
|
108
108
|
en: up to {limit} words in a sentence
|
|
@@ -49,8 +49,8 @@ example:
|
|
|
49
49
|
Collection covers furniture, bedding and bicycles only.
|
|
50
50
|
|
|
51
51
|
not_flagged:
|
|
52
|
-
ja: 「等」「など」「等々」のすぐ後ろ(読点や閉じ括弧を挟んでもよい)に「に限り」「に限る」「に限定」「のみ」「だけ」が来た所だけを見ます。「に限らず」「のみならず」「だけでなく」のように限らない言い方、「同等」「平等」のように「等」が語の一部のもの、「1
|
|
53
|
-
en: 'Only "etc.", "and so on" and "and the like" right before "only", or at the end of a comma-separated list that "only", "limited to", "restricted to", "solely" or "exclusively" governs. A list with a verb between the limit and the open word ("Only members may use the gym, the pool, etc.": only governs members) is not reported, nor is "not only", "not limited to" or "including but not limited to".'
|
|
52
|
+
ja: 「等」「など」「等々」のすぐ後ろ(読点や閉じ括弧を挟んでもよい)に「に限り」「に限る」「に限定」「のみ」「だけ」が来た所だけを見ます。「に限らず」「のみならず」「だけでなく」のように限らない言い方、「同等」「平等」のように「等」が語の一部のもの、「1等」のような等級は指しません。括弧の中の例の一覧で、限る語が括弧の前の語に係るもの(従業員(エンジニア、デザイナー等)のみ)と、同じ文で先に書いた一覧を指し直すもの(個別の指示等が……当該指示等に限り)も指しません。
|
|
53
|
+
en: 'Only "etc.", "and so on" and "and the like" right before "only", or at the end of a comma-separated list that "only", "limited to", "restricted to", "solely" or "exclusively" governs. A list with a verb between the limit and the open word ("Only members may use the gym, the pool, etc.": only governs members) is not reported, nor is "not only", "not limited to" or "including but not limited to". Nor is a list of examples in brackets after a word, when the limit stands after the bracket and governs that word ("staff (engineers, designers, etc.) only"). In Japanese, 等 that repeats a list the same sentence named before (指示等が … 当該指示等に限り) is not reported either.'
|
|
54
54
|
rewrite:
|
|
55
55
|
depth: light
|
|
56
56
|
ja:
|
|
@@ -52,8 +52,8 @@ example:
|
|
|
52
52
|
We listen to our customers. Regulars try every prototype, and store staff ask shoppers what they thought.
|
|
53
53
|
|
|
54
54
|
not_flagged:
|
|
55
|
-
ja:
|
|
56
|
-
en: Tags, link text and symbols that a listing repeats on every entry, and the words around a repeated name, are not counted. The answers in a FAQ are counted one question at a time. Short documents are not measured.
|
|
55
|
+
ja: 一覧の飾り(各項目に付くタグやリンクの文字)と、名前にかかる語句は数えません。英語の、名詞と形容詞だけが並ぶ用語(the federal funds rate)は言い回しではないので数えません。よくある質問の答えは、問いの見出しごとに別々に数えます。どの出現も節の最初の文にある言い回し(節ごとのひな形の書き出し)と、どの出現も番号を振った項目の見出し((1)…に係る規定に関する改正)にある言い回しは数えません。短い文書は測りません。
|
|
56
|
+
en: Tags, link text and symbols that a listing repeats on every entry, and the words around a repeated name, are not counted. A term made only of nouns and adjectives ("the federal funds rate") is not a phrasing and is not counted. The answers in a FAQ are counted one question at a time. A phrase found only in the first sentence of sections (each section's template opening) is not counted, nor one found only in numbered item titles that a paragraph follows ((1) ... amendment of the provision on ...). Short documents are not measured.
|
|
57
57
|
level_meaning:
|
|
58
58
|
ja: 同じ言い回し {limit} 回まで
|
|
59
59
|
en: up to {limit} uses of the same phrase
|
|
@@ -42,8 +42,8 @@ example:
|
|
|
42
42
|
after: 本社営業部にある第二課の方針を確認しました。
|
|
43
43
|
|
|
44
44
|
not_flagged:
|
|
45
|
-
ja:
|
|
46
|
-
en: Items separated by commas,
|
|
45
|
+
ja: 読点で区切った並び、=・:・→ で区切った句、「」や『』の中の題名や引用、行の頭のリンクで引いた外のページの題名は数えません。
|
|
46
|
+
en: Items separated by commas, phrases separated by =, a colon or an arrow, titles or quotations inside 「」 or 『』, and the title of an outside page quoted by a link at a line's head are not counted.
|
|
47
47
|
level_meaning:
|
|
48
48
|
ja: 同じ助詞の連続 {limit} 回まで
|
|
49
49
|
en: up to {limit} of the same particle in a row
|
|
@@ -3,7 +3,7 @@ layer: L3
|
|
|
3
3
|
status: stable
|
|
4
4
|
how_to_find: sentence-ending
|
|
5
5
|
word_list: polite-ending
|
|
6
|
-
extra_word_lists: [neutral-ending]
|
|
6
|
+
extra_word_lists: [neutral-ending, notice-phrase]
|
|
7
7
|
requires: [pos]
|
|
8
8
|
languages: [ja]
|
|
9
9
|
severity: info
|
|
@@ -51,8 +51,8 @@ example:
|
|
|
51
51
|
新しい料金は来月から始まります。請求書の形式も変わります。支払いの期限は月末です。古い料金は三月で終わります。
|
|
52
52
|
|
|
53
53
|
not_flagged:
|
|
54
|
-
ja: どちらの調子が正しいかは決めません。多いほうに揃っていない、少ないほうの文だけを指します。本文と箇条書きは別々に数えます。箇条書きの中の少ないほうが文書全体では多いほうなら、その文は指しません。項目や段落の頭の太字の札(「- **速く書ける。**
|
|
55
|
-
en: Neither register is called right; only the sentences in the minority are pointed at. The body and each list are counted apart, and a sentence in a list's minority is left alone when its register is the document's majority. A bold label that opens an item or a paragraph and is followed by more text on its line is a heading, not a sentence.
|
|
54
|
+
ja: どちらの調子が正しいかは決めません。多いほうに揃っていない、少ないほうの文だけを指します。本文と箇条書きは別々に数えます。箇条書きの中の少ないほうが文書全体では多いほうなら、その文は指しません。項目や段落の頭の太字の札(「- **速く書ける。** 説明です。」の「速く書ける。」)は見出しと同じく文に数えません。免責や変更の予告を書いた段落(「…ご了承ください。」)が、2 文以上すべて文書の多いほうと違う同じ調子でそろっているときも、本文とは別の決まり文句として数えません。
|
|
55
|
+
en: Neither register is called right; only the sentences in the minority are pointed at. The body and each list are counted apart, and a sentence in a list's minority is left alone when its register is the document's majority. A bold label that opens an item or a paragraph and is followed by more text on its line is a heading, not a sentence. A paragraph of disclaimer or notice wording (…ご了承ください。) whose two or more sentences all share the register the rest of the document does not use is boilerplate in its own voice and is not counted.
|
|
56
56
|
level_meaning:
|
|
57
57
|
ja: 少ないほうの調子の文が {limit} 文以下のとき、それを指摘
|
|
58
58
|
en: reported when the minority register has {limit} sentences or fewer
|
|
@@ -9,13 +9,18 @@ name:
|
|
|
9
9
|
en: Number without its unit
|
|
10
10
|
|
|
11
11
|
why:
|
|
12
|
-
ja:
|
|
13
|
-
en: Every other value in the same table column, or under the same label ("Budget:"), carries a unit, and this one is a bare number. The reader has to guess whether it is dollars or thousands, minutes or hours.
|
|
12
|
+
ja: 表の同じ列や、同じ見出しの語(「予算:」)のほかの値には単位があるのに、一つだけ数しか書いていない所です。円なのか千円なのか、分なのか時間なのかを、読み手が推し量ることになります。本文でも、「83,494百万円」のように桁の語(百万、千、億)に単位を付けて何度も書く文書で、一つだけ「83,494百万」と単位を落とした数を指します。
|
|
13
|
+
en: Every other value in the same table column, or under the same label ("Budget:"), carries a unit, and this one is a bare number. The reader has to guess whether it is dollars or thousands, minutes or hours. In prose too, when a document writes a word of scale (million, thousand, billion) with a unit many times ("$83 million"), the one number written with that word and no unit ("83 million") is pointed out.
|
|
14
14
|
|
|
15
15
|
message:
|
|
16
16
|
ja: 「{value}」に単位がありません(「{name}」のほかの値には「{unit}」が付いています)
|
|
17
17
|
en: '"{value}" has no unit (the other "{name}" values carry "{unit}")'
|
|
18
18
|
|
|
19
|
+
messages:
|
|
20
|
+
scale:
|
|
21
|
+
ja: 「{value}」に単位がありません(この文書は「{name}」の付いたほかの数に「{unit}」を付けています)
|
|
22
|
+
en: '"{value}" has no unit (the document gives its other "{name}" figures "{unit}")'
|
|
23
|
+
|
|
19
24
|
how_to_fix:
|
|
20
25
|
ja: 単位を書いてください。列のすべての値が同じ単位なら、見出しに書いて(「金額(円)」)値から外す書き方もあります。
|
|
21
26
|
en: Write the unit. If every value in a column shares it, you can move it to the header ("Amount ($)") and drop it from the values.
|
|
@@ -65,8 +70,8 @@ example:
|
|
|
65
70
|
| Taxi | $100 |
|
|
66
71
|
|
|
67
72
|
not_flagged:
|
|
68
|
-
ja: ほかの値に二つ以上、同じ一つの単位が付いているときだけ指します。単位の無い値のほうが多い列、単位が混ざる列(分と時間)、数でない値(未定)は見ません。表の見出しの単位(「金額(円)」)は読みません。数量の列で、ほかの値が借りる期間(4日、2泊)のとき、単位の無い整数(チャイルドシート 1
|
|
69
|
-
en: Reported only when at least two other values carry one and the same unit. A column where bare numbers are the majority, one that mixes units (minutes and hours), and values that are not numbers (TBD) are not checked. A unit written in the header ("Amount ($)") is not read. In a Quantity column whose other values are a hired period (4 days, 2 nights), a bare whole number (Child seat | 1) is a count of pieces and is not reported.
|
|
73
|
+
ja: ほかの値に二つ以上、同じ一つの単位が付いているときだけ指します。単位の無い値のほうが多い列、単位が混ざる列(分と時間)、数でない値(未定)は見ません。表の見出しの単位(「金額(円)」)は読みません。数量の列で、ほかの値が借りる期間(4日、2泊)のとき、単位の無い整数(チャイルドシート 1)は個数なので指しません。本文の桁の語は、同じ桁の語に同じ一つの単位を5回以上付けていて、単位の無い数がほかに一つも無いときだけ指します。「(単位:百万円)」と書いて本文でも「百万」だけで書く文書、百万円と百万株のように単位が二つある文書、「100百万〜200百万円」のように後ろの数の単位を前の数にも使う書き方は言いません。万は単位を付けずに書くことが多いので見ません。
|
|
74
|
+
en: Reported only when at least two other values carry one and the same unit. A column where bare numbers are the majority, one that mixes units (minutes and hours), and values that are not numbers (TBD) are not checked. A unit written in the header ("Amount ($)") is not read. In a Quantity column whose other values are a hired period (4 days, 2 nights), a bare whole number (Child seat | 1) is a count of pieces and is not reported. In prose, a word of scale is checked only when the document gives it one and the same unit at least five times and has no other bare number with it. A document that states "(in millions of dollars)" and writes "million" alone throughout, one with two units for the word ("$5 million" and "5 million shares"), and one unit serving two numbers ("from $1.1 million to 1.3 million") are not reported.
|
|
70
75
|
rewrite:
|
|
71
76
|
depth: light
|
|
72
77
|
ja:
|
package/rules/numbering-gap.yaml
CHANGED
|
@@ -17,6 +17,11 @@ message:
|
|
|
17
17
|
ja: 「{previous}」の次が「{label}」です({expected} 番目のはず)
|
|
18
18
|
en: '"{label}" follows "{previous}" (expected number {expected})'
|
|
19
19
|
|
|
20
|
+
messages:
|
|
21
|
+
repeated:
|
|
22
|
+
ja: 「{label}」が二度あり、次の番号が飛んでいます(二つ目は「{probably}」のはず)
|
|
23
|
+
en: '"{label}" appears twice and the next number skips; the second is probably "{probably}"'
|
|
24
|
+
|
|
20
25
|
how_to_fix:
|
|
21
26
|
ja: 番号を振り直してください。削った条を欠番として残すなら、「第4条(削除)」のように番号だけを残すと読み手に伝わります。
|
|
22
27
|
en: Renumber. If a provision was removed on purpose, keep its number with a note such as "Section 4 [Deleted]".
|
|
@@ -74,5 +79,5 @@ example:
|
|
|
74
79
|
Working hours are from nine to six.
|
|
75
80
|
|
|
76
81
|
not_flagged:
|
|
77
|
-
ja: 同じ親の下で隣り合う番号だけを比べます。別の章の番号どうしは比べません。括弧で囲んだ番号((1))と囲まない番号(2)は、別の並びとして比べます。どの項目にも同じ番号(「1.」)を書いた箇条書きと、引用の中の箇条書きは見ません。箇条書きの番号は、同じ字下げの番号どうしで比べます(字下げの深いものは入れ子の並び)。Markdown の HTML ブロック(`<br/>`
|
|
78
|
-
en: Only numbers side by side under the same parent are compared. Bracketed numbers ("(1)") and bare ones ("2") are compared as separate runs. A list that writes the same number on every item ("1." on each) and a list inside a quotation are not checked. A list's numbers are compared with those at the same indentation (deeper ones are a nested run). Text inside a Markdown HTML block (from a line holding only `<br/>` to the next blank line) is not read, so a gap across one is not reported. A schedule's numbers (Week N, Session N) are compared when they lead table rows, list items or lines; a run shorter than three, one whose heading or header row says it shows only some ("Selected weeks", "Highlights"), and one where most numbers skip (a table of chosen weeks) are not compared.
|
|
82
|
+
ja: 同じ親の下で隣り合う番号だけを比べます。別の章の番号どうしは比べません。括弧で囲んだ番号((1))と囲まない番号(2)は、別の並びとして比べます。どの項目にも同じ番号(「1.」)を書いた箇条書きと、引用の中の箇条書きは見ません。箇条書きの番号は、同じ字下げの番号どうしで比べます(字下げの深いものは入れ子の並び)。Markdown の HTML ブロック(`<br/>` だけの行から次の空行まで)の中の文字は読めないので、そこを挟んだ抜けは言いません。手順の番号の代わりに「and」と書いた見出し(前の手順と並べて行う手順)は番号を一つ使ったものと読み、その分の飛びは言いません。日程の番号(第N週、Week N)は、表の最初の欄、箇条書きの頭、行の頭に並べば比べます。三つに満たない並び、見出しか表の見出し行が「抜粋」「主な」のように一部だけと言うもの、番号の多くが飛ぶもの(選んだ週だけの表)を比べません。年まで書いた日付で始まる見出し(8 December 2022)の日は番号ではありません。
|
|
83
|
+
en: Only numbers side by side under the same parent are compared. Bracketed numbers ("(1)") and bare ones ("2") are compared as separate runs. A list that writes the same number on every item ("1." on each) and a list inside a quotation are not checked. A list's numbers are compared with those at the same indentation (deeper ones are a nested run). Text inside a Markdown HTML block (from a line holding only `<br/>` to the next blank line) is not read, so a gap across one is not reported. A step headed "and" in place of its number (done alongside the step before) is read as taking a number, so the skip it leaves is not reported. A schedule's numbers (Week N, Session N) are compared when they lead table rows, list items or lines; a run shorter than three, one whose heading or header row says it shows only some ("Selected weeks", "Highlights"), and one where most numbers skip (a table of chosen weeks) are not compared. The day that opens a heading dated with its year (8 December 2022) is not a number in a sequence.
|
|
@@ -38,8 +38,8 @@ example:
|
|
|
38
38
|
after: The meeting ran long. Twenty people stayed for the vote.
|
|
39
39
|
|
|
40
40
|
not_flagged:
|
|
41
|
-
ja: 年(2026 was a good year.)、数字の後ろが大文字の語や記号のもの(1 Introduction、9:00 Opening remarks)、箇条書きの項目、見出しと表、言い終えていない行は指しません。前の文が句点で終わっていない数(Lane の行の次の「2 contains」)、番号に付ける略した語の後ろの数(vol. 28、H.R. 5376
|
|
42
|
-
en: 'A year ("2026 was a good year."), a numeral followed by a capitalised word or a mark ("1 Introduction", "9:00 Opening remarks"), list items, headings and tables, and lines that do not end as a sentence are not reported. Nor is a number after text with no full stop ("Lane" on the line before "2 contains"), after a label written with a full stop ("vol. 28", "H.R. 5376"), since chaff cannot tell that a sentence starts there. Only English sentences are read.'
|
|
41
|
+
ja: 年(2026 was a good year.)、数字の後ろが大文字の語や記号のもの(1 Introduction、9:00 Opening remarks)、箇条書きの項目、見出しと表、言い終えていない行は指しません。前の文が句点で終わっていない数(Lane の行の次の「2 contains」)、番号に付ける略した語の後ろの数(vol. 28、H.R. 5376)も、文の頭と決められないので指しません。番号を付けた段落の頭の条の番号(2.1 the term starts on signing.)は、隣の番号(2.0 か 2.2)も行の頭にあれば数ではないので指しません。英語の文だけを読みます。
|
|
42
|
+
en: 'A year ("2026 was a good year."), a numeral followed by a capitalised word or a mark ("1 Introduction", "9:00 Opening remarks"), list items, headings and tables, and lines that do not end as a sentence are not reported. Nor is a number after text with no full stop ("Lane" on the line before "2 contains"), after a label written with a full stop ("vol. 28", "H.R. 5376"), since chaff cannot tell that a sentence starts there. A clause number that opens a numbered paragraph ("2.1 the term starts on signing.") is not a figure and is not reported when the clause next to it (2.0 or 2.2) opens a line too. Only English sentences are read.'
|
|
43
43
|
|
|
44
44
|
rewrite:
|
|
45
45
|
depth: light
|
|
@@ -67,8 +67,8 @@ example:
|
|
|
67
67
|
3. On termination, the Supplier shall return all Confidential Information to the Customer within ten days.
|
|
68
68
|
|
|
69
69
|
not_flagged:
|
|
70
|
-
ja: 期限を書いた文が、期限の無い義務の文より多くない文書では、書き手がそう書くと決めたとみなして指しません。同じ文に期限(7
|
|
71
|
-
en: 'A document where sentences stating a limit are not more than those holding a duty with none is taken to write its duties that way on purpose, and is not reported. A sentence that states a limit (within seven days, by the fifth business day, immediately) is not reported; one with "promptly" alone is vague-deadline''s. A sentence that grants a right (may) or states an amount (shall pay a monthly fee of $9,000, which sets the price; another clause says when) is not read. "by email" says how, not when, and is not a limit. Statutes, court decisions and patents are not read; the contract genre runs this rule.'
|
|
70
|
+
ja: 期限を書いた文が、期限の無い義務の文より多くない文書では、書き手がそう書くと決めたとみなして指しません。同じ文に期限(7日以内、毎月末日までに、直ちに、事前に)があれば指しません。「速やかに」「遅滞なく」だけの期限は vague-deadline が見ます。権利を定める文(「返還を請求することができる」)と、金額を書いた文(「月額150,000円を支払う」は値段を決める文で、いつ払うかは別の条が決めます)は見ません。義務は文の終わりの述語で読み、条件の中の語(「通知したときは」)は見ません。法令・判決・特許は見ません。契約書・規約のジャンルで見ます。義務と同じ条(条が無ければ同じ箇条書きか段落)が、その行いの日付を名指す期限(支払う義務なら支払期日、納入なら納期)を書いていれば、その日が義務の時なので指しません。
|
|
71
|
+
en: 'A document where sentences stating a limit are not more than those holding a duty with none is taken to write its duties that way on purpose, and is not reported. A sentence that states a limit (within seven days, by the fifth business day, immediately) is not reported; one with "promptly" alone is vague-deadline''s. A sentence that grants a right (may) or states an amount (shall pay a monthly fee of $9,000, which sets the price; another clause says when) is not read. "by email" says how, not when, and is not a limit. Statutes, court decisions and patents are not read; the contract genre runs this rule. A duty whose article (else its list or paragraph) names the dated deadline of its act (the Due Date for a duty to pay, the Delivery Date for one to deliver) is timed by it, and is not reported.'
|
|
72
72
|
rewrite:
|
|
73
73
|
depth: light
|
|
74
74
|
ja:
|
|
@@ -56,8 +56,8 @@ example:
|
|
|
56
56
|
Send the form by email. We answer every email within a day. Attach the receipt to the email.
|
|
57
57
|
|
|
58
58
|
not_flagged:
|
|
59
|
-
ja: 読みが同じでも漢字の違う語(書く・描く)、補助動詞・形式名詞と本来の使い方の書き分け(見て下さい・資料を下さい)、書き分けが意味の違いになる語(成る・なる、言う・いう。法務のジャンルでは、法令の書き方で書き分ける 時・とき、物・もの、在る・ある も)、名詞と動詞(払込み・払い込む、申出・申し出る。辞書が名詞を動詞と読んでも)、語末の「ー」だけの違い(katakana-long-vowel
|
|
60
|
-
en: The case of a word's first letter (Email, email; Long-Term, long-term) is not a spelling, nor is a word in capitals only (emphasis or an acronym), nor a name in capitals with an ending (SENDs, OPENed), nor the letters of an acronym picked out beside it (CLImatology next to CLIPER), nor a word inside a passage written in capitals (eGAIN in a disclaimer), nor a name coined from capitalised pieces that are not words (Medi-Cal beside medical). A name spelled with capitals (HBase) is still compared. In Japanese, words whose kanji and kana forms mean different things (成る and なる) are not compared, and in the legal genres neither are 時 and とき, 物 and もの or 在る and ある, which legal drafting writes apart. A noun and a verb (払込み and 払い込む) are different words, even where the analyser reads the noun as the verb. Hyphenated words that are another word (re-sign, resign), part of an address (github.com), anything in quotation marks, a Japanese reading in brackets right after a word (HTTP(えいちてぃーてぃーぴー)) and the team's names are not compared. Nothing is reported when the minority is more than a third. The literature preset turns it off, since old spelling belongs to its time.
|
|
59
|
+
ja: 読みが同じでも漢字の違う語(書く・描く)、補助動詞・形式名詞と本来の使い方の書き分け(見て下さい・資料を下さい)、書き分けが意味の違いになる語(成る・なる、言う・いう。法務のジャンルでは、法令の書き方で書き分ける 時・とき、物・もの、在る・ある も)、名詞と動詞(払込み・払い込む、申出・申し出る。辞書が名詞を動詞と読んでも)、語末の「ー」だけの違い(katakana-long-vowel が見ます)、鉤括弧や引用符の中、行の頭のリンクで引いた外のページの題名、語の直後のふりがなの括弧の中(HTTP(えいちてぃーてぃーぴー))、会社の名前(青葉硝子㈱、株式会社の前後の名前)、chaff.yaml の names に書いた名前は見ません。「方」と「ほう」は「が」「で」の前(早いほうが)だけで比べ、人の「方」の多い所(担当の方に)は比べません。文の頭の丸括弧の印(問答の(答))も比べません。名詞に続けて書いたかなの名詞(全員ぶん)と慣用句の動詞(気をつける)、見立ての「みる」(〜とみられる、増加がみられる)は、同じ読みの語(文、名札を付ける、資料を見る)と別に比べます。英字は、頭の字の大文字小文字(Email と email)と、大文字だけの語(強調や略語)、大文字の名前に語尾が付いた語(関数名の SENDs)、同じ文の略語の字を示した語(CLIPER と並ぶ CLImatology)、大文字で書いた一節の中の語(免責の段落の eGAIN)、大文字で始まる語でないかけらをハイフンでつないだ名前(medical と並ぶ Medi-Cal)を書き方の違いにしません(HBase のような名前の大文字は比べます)。少ないほうが三分の一を超えるときも言いません。文学のジャンルでは既定で止めています(その時代の書き方のため)。
|
|
60
|
+
en: The case of a word's first letter (Email, email; Long-Term, long-term) is not a spelling, nor is a word in capitals only (emphasis or an acronym), nor a name in capitals with an ending (SENDs, OPENed), nor the letters of an acronym picked out beside it (CLImatology next to CLIPER), nor a word inside a passage written in capitals (eGAIN in a disclaimer), nor a name coined from capitalised pieces that are not words (Medi-Cal beside medical). A name spelled with capitals (HBase) is still compared. In Japanese, words whose kanji and kana forms mean different things (成る and なる) are not compared, 方 and ほう are compared only before が or で (早いほうが), since elsewhere 方 is mostly the person (担当の方に), nor a label opening a sentence (the (答) of a Q&A); the judging みる (〜とみられる) is compared apart from looking (資料を見る), and in the legal genres neither are 時 and とき, 物 and もの or 在る and ある, which legal drafting writes apart. A noun and a verb (払込み and 払い込む) are different words, even where the analyser reads the noun as the verb. Hyphenated words that are another word (re-sign, resign), part of an address (github.com), anything in quotation marks, the title of an outside page quoted by a link at a line's head, a Japanese reading in brackets right after a word (HTTP(えいちてぃーてぃーぴー)), a Japanese company name written with its form (青葉硝子㈱) and the team's names are not compared. Nothing is reported when the minority is more than a third. The literature preset turns it off, since old spelling belongs to its time.
|
|
61
61
|
level_meaning:
|
|
62
62
|
ja: 少ないほうが語の {limit}% 以下のとき指摘
|
|
63
63
|
en: reported when the minority spelling is {limit}% of the word's uses or less
|
|
@@ -5,7 +5,7 @@ how_to_find: oxford-comma
|
|
|
5
5
|
languages: [en]
|
|
6
6
|
# The list, its items and its conjunction are read on tokens; without them there is nothing to judge.
|
|
7
7
|
requires: [pos]
|
|
8
|
-
extra_word_lists: [participle-word, example-marker, pair-opener]
|
|
8
|
+
extra_word_lists: [participle-word, example-marker, pair-opener, sequence-opener]
|
|
9
9
|
severity: info
|
|
10
10
|
|
|
11
11
|
name:
|
|
@@ -40,8 +40,8 @@ example:
|
|
|
40
40
|
We sell apples, pears, and plums. We ship to homes, offices, and schools. We accept cash, cards, and vouchers.
|
|
41
41
|
|
|
42
42
|
not_flagged:
|
|
43
|
-
ja:
|
|
44
|
-
en: Whether to use the comma is not decided. A document split evenly has no minority and is not reported.
|
|
43
|
+
ja: カンマを打つかどうかは決めません。半々に分かれた文書では、どちらが少ないとも言えないので指しません。郵便番号で終わる住所のあとの and / or(Leeds LS1 4AB, or email)は、住所の読点のあとなので並びとして数えません。最後の読点のあとに前後を空けたダッシュがある and / or(Washington, DC – The Cybersecurity and Infrastructure Security Agency)も、読点はダッシュの前の日付行のものなので数えません。読点のあとの否定(more correct, not cleaner or more elegant)と、順番の語で始まる導入(First, outside a block, …)も並びではありません。主語と述語のあいだに読点で挟んだ例の句(X, such as Y, are excluded and are not…)も並びの項目に数えません。
|
|
44
|
+
en: Whether to use the comma is not decided. A document split evenly has no minority and is not reported. An and / or right after a postal address closed by its postcode ("Leeds LS1 4AB, or email us") follows the address's commas and is not counted as a list, and neither is one after a spaced dash that follows the last comma (a dateline such as "Washington, DC – The Cybersecurity and Infrastructure Security Agency"). Nor is a contrast after a comma ("more correct, not cleaner or more elegant") or an introduction opened by a sequence word ("First, outside a block, …"), and an example phrase set off by commas between a subject and its predicate ("X, such as Y, are excluded and are not…") is not counted as an item.
|
|
45
45
|
level_meaning:
|
|
46
46
|
ja: 少ないほうの打ち方が {limit} 箇所以下のとき指摘
|
|
47
47
|
en: reported when the minority style appears {limit} times or fewer
|
|
@@ -30,6 +30,7 @@ off_for:
|
|
|
30
30
|
academic: "Science writes in the passive, hedges its claims on purpose (may, suggest) and cites numbers as its evidence."
|
|
31
31
|
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."
|
|
32
32
|
speech: "A speech opens with greetings and closes with thanks: that is its form, not padding."
|
|
33
|
+
business/email: "A letter or an email is its body before any heading; a heading in one marks a reply or acceptance block at the end, not the start of the body."
|
|
33
34
|
|
|
34
35
|
group: structure
|
|
35
36
|
summary:
|
|
@@ -80,8 +81,8 @@ example:
|
|
|
80
81
|
The number of stores has doubled in ten years, but suburban stores have struggled to grow.
|
|
81
82
|
|
|
82
83
|
not_flagged:
|
|
83
|
-
ja:
|
|
84
|
-
en: A document with no heading below its title is not measured. Legal and blog genres do not run this rule.
|
|
84
|
+
ja: 表題より下の見出しが一つもない文書は測りません。法務やブログのジャンルと、手紙・メールでは見ません。本文の語に付けた注(※1 …)の段落は、前置きではなく注なので数えません。
|
|
85
|
+
en: A document with no heading below its title is not measured. Legal and blog genres, and letters and emails, do not run this rule. A note attached to a word of the text (a paragraph opened by a note mark of the note-mark lexicon, as in Japanese ※1) is a note, not preamble, and is not counted.
|
|
85
86
|
level_meaning:
|
|
86
87
|
ja: 最初の見出しまで {limit} 段落まで
|
|
87
88
|
en: up to {limit} paragraphs before the first heading
|
|
@@ -42,8 +42,8 @@ example:
|
|
|
42
42
|
Groups of 10–20 meet for 30–40 minutes, at 5–8 dollars each. Children aged 6–12 are welcome.
|
|
43
43
|
|
|
44
44
|
not_flagged:
|
|
45
|
-
ja: 前後にさらに数の続く並び(日付の 2026-10-02、電話番号、時刻の 10:00〜12:00、版)と、終わりが始まりより小さいもの(郵便番号の 100-0001、試合の 3-2
|
|
46
|
-
en: Runs with more numbers around them (the date 2026-10-02, phone numbers, times such as 10:00–12:00, versions) and pairs whose end is smaller than the start (a score of 3-2, a postcode such as 100-0001) are not read as ranges. Words ("10 to 20") are not compared. When the less common mark is over a third of the ranges, or the two are equally common, the document is read as using both on purpose. Code is not read.
|
|
45
|
+
ja: 前後にさらに数の続く並び(日付の 2026-10-02、電話番号、時刻の 10:00〜12:00、版)と、終わりが始まりより小さいもの(郵便番号の 100-0001、試合の 3-2)、漢字の語に詰めて書いた文書の番号(直資4-5ほか)は範囲と読みません。「10から20」のような言葉の範囲は比べません。少ないほうが範囲の三分の一を超える文書と、二つの記号が同じ数の文書は、使い分けと読んで言いません。コードの中は読みません。
|
|
46
|
+
en: Runs with more numbers around them (the date 2026-10-02, phone numbers, times such as 10:00–12:00, versions) and pairs whose end is smaller than the start (a score of 3-2, a postcode such as 100-0001), and Japanese document numbers written against a kanji word (直資4-5ほか) are not read as ranges. Words ("10 to 20") are not compared. When the less common mark is over a third of the ranges, or the two are equally common, the document is read as using both on purpose. Code is not read.
|
|
47
47
|
level_meaning:
|
|
48
48
|
ja: 少ないほうの記号が、範囲の {limit}% 以下のとき指摘
|
|
49
49
|
en: reported when the less common mark is {limit}% of the ranges or less
|
|
@@ -4,7 +4,7 @@ status: stable
|
|
|
4
4
|
how_to_find: requirement-smell
|
|
5
5
|
# 要求の文の目印と、三つの見つけ方の語。語はすべて言語ごとの語彙表にある。
|
|
6
6
|
word_list: requirement-marker
|
|
7
|
-
extra_word_lists: [requirement-loophole, requirement-open-end, requirement-either, definition-statement]
|
|
7
|
+
extra_word_lists: [requirement-loophole, requirement-open-end, requirement-either, definition-statement, requirement-open-question, requirement-open-condition]
|
|
8
8
|
uses: [pos]
|
|
9
9
|
severity: info
|
|
10
10
|
|
|
@@ -74,5 +74,5 @@ example:
|
|
|
74
74
|
config: { genre: technical/spec }
|
|
75
75
|
|
|
76
76
|
not_flagged:
|
|
77
|
-
ja:
|
|
78
|
-
en: Sentences that state no requirement (background, explanation), statutes, and blogs and business documents are not checked. Phrases not on chaff's lists are not reported. An open-ended word inside a name the document defines (a quoted term, or one defined in the brackets after it) is not reported. "As soon as possible" followed in the same sentence by a limit in numbers ("but in any event no later than two days after") is bounded, and not reported.
|
|
77
|
+
ja: 要求の文でない文(説明や背景)、法令、ブログやビジネス文書は見ません。語彙表にない言い方は指しません。文書が定めた名前の「等」(以下「委託先等」という、銀行等(…をいう。)、定義の号の頭の語)と、監査等委員会のように後ろへ語が続く「等」は、列挙を閉じているので指しません。すぐ後ろで種類を名指す「等」(印刷等、二次的に利用される場合/印刷等の二次的利用)も、一覧がその種類の例なので指しません。条件(訂正等を行った際に)、与える権利(消去等できるものとします)、禁止や免責(転載等をしてはならない、責任を負わないものとします)の中の「等」も、わざと広く取った一覧なので指しません。条件の語のすぐ後ろの括弧の中の「等」(不要な場合(一つの表だけを読むとき等)も付けること)は、いつ当てはまるかの例なので指しません。英語の as soon as possible は、同じ文に日数の期限(no later than two days after)があれば、期限が決まっているので指しません。英語の but not limited to(including, but not limited to)は、契約書では例の一覧で範囲を狭めないための決まった言い方なので、契約書では指しません。
|
|
78
|
+
en: Sentences that state no requirement (background, explanation), statutes, and blogs and business documents are not checked. Phrases not on chaff's lists are not reported. An open-ended word inside a name the document defines (a quoted term, or one defined in the brackets after it) is not reported. "As soon as possible" followed in the same sentence by a limit in numbers ("but in any event no later than two days after") is bounded, and not reported. In a contract, "including, but not limited to" is a term of art that keeps the listed examples from narrowing the class, and is not reported. In Japanese, 等 right before the words that name the kind it gives examples of (印刷等、二次的に利用, "secondary use, such as printing") is not reported either. Nor is a Japanese 等 in a condition (訂正等を行った際に), a right the writer grants (できるものとする) or a prohibition or disclaimer (てはならない, ないものとする), because such a list is kept wide on purpose, or an open list in brackets right after a condition word (場合(…等), "in cases (…, etc.)"), which gives examples of when the requirement applies.
|
|
@@ -70,8 +70,8 @@ example:
|
|
|
70
70
|
| Check | Lee |
|
|
71
71
|
|
|
72
72
|
not_flagged:
|
|
73
|
-
ja:
|
|
74
|
-
en: Headers without letters (numbers or symbols only), tables inside a code sample, and headers that differ in meaning (Date and Time) are not compared. The left cell is collected only in two-column tables.
|
|
73
|
+
ja: 文字の無い見出し(数や記号だけ)、コードの例の中の表、見出しの違いが名前を変える場合(「日付」と「日時」)は見ません。見出しの中の HTML のタグ(<div style="…">)とその内側の空白は、見える文字でないので比べません。二列の表でなければ、左の欄は見出しとして集めません。
|
|
74
|
+
en: Headers without letters (numbers or symbols only), tables inside a code sample, and headers that differ in meaning (Date and Time) are not compared. Inline HTML tags in a header (<div style="…">) and the spaces inside them are not seen by the reader and are not compared. The left cell is collected only in two-column tables.
|
|
75
75
|
level_meaning:
|
|
76
76
|
ja: 少ないほうの書き方が、その見出しの {limit}% 以下のとき指摘
|
|
77
77
|
en: reported when the less common spelling is {limit}% of the header's uses or less
|
package/rules/teki-overuse.yaml
CHANGED
|
@@ -3,6 +3,7 @@ layer: L3
|
|
|
3
3
|
status: stable
|
|
4
4
|
how_to_find: sentence-word-count
|
|
5
5
|
word_list: teki-suffix
|
|
6
|
+
extra_word_lists: [teki-fixed-term]
|
|
6
7
|
requires: [pos]
|
|
7
8
|
languages: [ja]
|
|
8
9
|
severity: info
|
|
@@ -39,8 +40,8 @@ example:
|
|
|
39
40
|
問い合わせを半分に減らす施策を、四月から全店で始めます。
|
|
40
41
|
|
|
41
42
|
not_flagged:
|
|
42
|
-
ja:
|
|
43
|
-
en: Only the suffix 的 is counted; words such as 目的 and 的確, and anything in
|
|
43
|
+
ja: 接尾の「的」だけを数えます。「目的」「的確」「標的」のように一語になったもの、法令が定めた語(電磁的方法、反社会的勢力)、鉤括弧で引いたものの中は数えません。
|
|
44
|
+
en: Only the suffix 的 is counted; words such as 目的 and 的確, terms the law defines (電磁的方法, 反社会的勢力), and anything in 「」 are not.
|
|
44
45
|
level_meaning:
|
|
45
46
|
ja: 一文の「〜的」{limit} 個まで
|
|
46
47
|
en: up to {limit} 〜的 words in a sentence
|
package/rules/title-length.yaml
CHANGED
|
@@ -79,8 +79,8 @@ example:
|
|
|
79
79
|
What every store does during the move in the 2025 financial year.
|
|
80
80
|
|
|
81
81
|
not_flagged:
|
|
82
|
-
ja: 見出しの頭の番号(「第2章」「1
|
|
83
|
-
en: A number label at the head of a heading (Chapter 2, 1.) is not counted. Reports, press releases, minutes, specifications and papers have a higher limit; legal, literary and speech genres, and FAQs (whose headings are questions), do not run this rule. In any genre, a heading that ends with a question mark is not counted, since its length is the reader's question.
|
|
82
|
+
ja: "見出しの頭の番号(「第2章」「1.」)は数えません。末尾の括弧の中の番号付きの通し名(「(490: Employee travel)」)も数えず、ほかの文書の題をかぎ括弧で引いた所(「「…の取扱いについて」等の一部改正」)は一つの名前と数えます。英字の語は一語を二文字と数えます。報告書・プレスリリース・議事録・仕様書・論文は上限が高く、法務・文学・話し言葉のジャンルと、見出しが質問の文になる FAQ では見ません。ほかのジャンルでも、?で終わる質問の見出しは、長さが読み手の問いそのものなので見ません。"
|
|
83
|
+
en: "A number label at the head of a heading (Chapter 2, 1.) is not counted. Nor is a numbered series label in brackets at its end (“(490: Employee travel)”), and another document's title quoted in 「」 counts as one name. Reports, press releases, minutes, specifications and papers have a higher limit; legal, literary and speech genres, and FAQs (whose headings are questions), do not run this rule. In any genre, a heading that ends with a question mark is not counted, since its length is the reader's question."
|
|
84
84
|
level_meaning:
|
|
85
85
|
ja: 題や見出しが {limit} 文字を超えたら指摘
|
|
86
86
|
en: reported when a title or heading runs past {limit} words
|
|
@@ -42,8 +42,8 @@ example:
|
|
|
42
42
|
来週は、新しい担当者の紹介、先月から続く予算の見直し、春の本社移転の準備、秋の採用計画の確認、年末の懇親会の段取りを話し合います。そのため定例会議は二時間に延長します。
|
|
43
43
|
|
|
44
44
|
not_flagged:
|
|
45
|
-
ja:
|
|
46
|
-
en: Sentences with no topic (noun + は), quotations in 「」, and distances up to the limit are not counted. Not used on English documents.
|
|
45
|
+
ja: 主題(名詞+は)の無い文、鉤括弧で引いたものの中、上限までの距離は見ません。主題の述語が先の節で閉じる文(「この計画は簡単ではありませんが、…」「〜であって、…」、後ろの節に別の主語がある「〜ではなく、」「〜であるため、」「〜であるならば、」「〜にあるところ、」「〜ており、」、受け身で伝える引用「〜だと言われているが」)は、その節の終わりまでを数えます。英語の文書には使いません。
|
|
46
|
+
en: Sentences with no topic (noun + は), quotations in 「」, and distances up to the limit are not counted. When the topic gets its own predicate in an earlier clause (〜ではありませんが, 〜であって; 〜ではなく, 〜であるため, 〜であるならば, 〜にあるところ or 〜ており followed by a clause with its own subject; a passive report 〜だと言われているが), the count stops at that clause's end. Not used on English documents.
|
|
47
47
|
level_meaning:
|
|
48
48
|
ja: 主題から述語まで {limit} 字まで
|
|
49
49
|
en: up to {limit} characters between the topic and the predicate
|