chaffjs 0.34.0 → 0.36.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/capitals-passage.d.ts +3 -0
- package/dist/capitals-passage.d.ts.map +1 -0
- package/dist/capitals-passage.js +26 -0
- package/dist/capitals-passage.js.map +1 -0
- 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/coined-hyphen-name.d.ts +13 -0
- package/dist/coined-hyphen-name.d.ts.map +1 -0
- package/dist/coined-hyphen-name.js +21 -0
- package/dist/coined-hyphen-name.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/company-names.d.ts +6 -1
- package/dist/company-names.d.ts.map +1 -1
- package/dist/company-names.js +22 -3
- package/dist/company-names.js.map +1 -1
- 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 +5 -1
- package/dist/detectors/acronym-context.d.ts.map +1 -1
- package/dist/detectors/acronym-context.js +32 -4
- package/dist/detectors/acronym-context.js.map +1 -1
- package/dist/detectors/acronym-definition.d.ts +13 -0
- package/dist/detectors/acronym-definition.d.ts.map +1 -0
- package/dist/detectors/acronym-definition.js +90 -0
- package/dist/detectors/acronym-definition.js.map +1 -0
- 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 +35 -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 +14 -0
- package/dist/detectors/acronym-link.d.ts.map +1 -0
- package/dist/detectors/acronym-link.js +32 -0
- package/dist/detectors/acronym-link.js.map +1 -0
- package/dist/detectors/acronym-lone.d.ts +13 -0
- package/dist/detectors/acronym-lone.d.ts.map +1 -0
- package/dist/detectors/acronym-lone.js +22 -0
- package/dist/detectors/acronym-lone.js.map +1 -0
- package/dist/detectors/acronym-name.d.ts +62 -0
- package/dist/detectors/acronym-name.d.ts.map +1 -0
- package/dist/detectors/acronym-name.js +94 -0
- package/dist/detectors/acronym-name.js.map +1 -0
- 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/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 +14 -2
- package/dist/detectors/capitalised-term.d.ts.map +1 -1
- package/dist/detectors/capitalised-term.js +115 -4
- package/dist/detectors/capitalised-term.js.map +1 -1
- package/dist/detectors/caps-caption.d.ts +12 -0
- package/dist/detectors/caps-caption.d.ts.map +1 -0
- package/dist/detectors/caps-caption.js +89 -0
- package/dist/detectors/caps-caption.js.map +1 -0
- 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 +72 -30
- package/dist/detectors/char-shape.js.map +1 -1
- 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/clause-shape.d.ts +1 -1
- package/dist/detectors/clause-shape.d.ts.map +1 -1
- package/dist/detectors/clause-shape.js +9 -4
- package/dist/detectors/clause-shape.js.map +1 -1
- package/dist/detectors/concrete-evidence.d.ts +13 -1
- package/dist/detectors/concrete-evidence.d.ts.map +1 -1
- package/dist/detectors/concrete-evidence.js +59 -0
- package/dist/detectors/concrete-evidence.js.map +1 -1
- package/dist/detectors/contraction-minority.d.ts +11 -0
- package/dist/detectors/contraction-minority.d.ts.map +1 -0
- package/dist/detectors/contraction-minority.js +10 -0
- package/dist/detectors/contraction-minority.js.map +1 -0
- package/dist/detectors/counter-edge.d.ts +7 -1
- package/dist/detectors/counter-edge.d.ts.map +1 -1
- package/dist/detectors/counter-edge.js +40 -2
- package/dist/detectors/counter-edge.js.map +1 -1
- package/dist/detectors/date-any-year.d.ts +12 -5
- package/dist/detectors/date-any-year.d.ts.map +1 -1
- package/dist/detectors/date-any-year.js +69 -12
- 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-heading-year.d.ts +18 -0
- package/dist/detectors/date-heading-year.d.ts.map +1 -0
- package/dist/detectors/date-heading-year.js +38 -0
- package/dist/detectors/date-heading-year.js.map +1 -0
- package/dist/detectors/date-year.d.ts +19 -3
- package/dist/detectors/date-year.d.ts.map +1 -1
- package/dist/detectors/date-year.js +69 -8
- 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 +59 -12
- 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 +6 -3
- 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/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/due-date.d.ts.map +1 -1
- package/dist/detectors/due-date.js +6 -0
- package/dist/detectors/due-date.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 +31 -1
- package/dist/detectors/email-letter.d.ts.map +1 -1
- package/dist/detectors/email-letter.js +76 -14
- package/dist/detectors/email-letter.js.map +1 -1
- package/dist/detectors/en-shape.d.ts.map +1 -1
- package/dist/detectors/en-shape.js +5 -1
- package/dist/detectors/en-shape.js.map +1 -1
- package/dist/detectors/fact-consistency.d.ts.map +1 -1
- package/dist/detectors/fact-consistency.js +3 -2
- package/dist/detectors/fact-consistency.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/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 +8 -0
- package/dist/detectors/gram-openers.d.ts.map +1 -0
- package/dist/detectors/gram-openers.js +16 -0
- package/dist/detectors/gram-openers.js.map +1 -0
- package/dist/detectors/gram-passages.d.ts +11 -0
- package/dist/detectors/gram-passages.d.ts.map +1 -0
- package/dist/detectors/gram-passages.js +26 -0
- package/dist/detectors/gram-passages.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-end-mark.d.ts +8 -3
- package/dist/detectors/heading-end-mark.d.ts.map +1 -1
- package/dist/detectors/heading-end-mark.js +18 -8
- package/dist/detectors/heading-end-mark.js.map +1 -1
- package/dist/detectors/heading-names.d.ts +7 -0
- package/dist/detectors/heading-names.d.ts.map +1 -0
- package/dist/detectors/heading-names.js +24 -0
- package/dist/detectors/heading-names.js.map +1 -0
- package/dist/detectors/heading-numbering.d.ts.map +1 -1
- package/dist/detectors/heading-numbering.js +7 -2
- package/dist/detectors/heading-numbering.js.map +1 -1
- 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/inch-mark.d.ts +10 -0
- package/dist/detectors/inch-mark.d.ts.map +1 -0
- package/dist/detectors/inch-mark.js +48 -0
- package/dist/detectors/inch-mark.js.map +1 -0
- 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 +76 -12
- package/dist/detectors/kutoten-consistency.js.map +1 -1
- package/dist/detectors/lexicon.d.ts +0 -1
- package/dist/detectors/lexicon.d.ts.map +1 -1
- package/dist/detectors/lexicon.js +37 -25
- 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 +15 -5
- package/dist/detectors/mark-shape.d.ts.map +1 -1
- package/dist/detectors/mark-shape.js +64 -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-apart.d.ts +27 -0
- package/dist/detectors/name-variant-apart.d.ts.map +1 -0
- package/dist/detectors/name-variant-apart.js +51 -0
- package/dist/detectors/name-variant-apart.js.map +1 -0
- package/dist/detectors/name-variant.d.ts.map +1 -1
- package/dist/detectors/name-variant.js +18 -11
- 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/numeral-word.d.ts +15 -0
- package/dist/detectors/numeral-word.d.ts.map +1 -0
- package/dist/detectors/numeral-word.js +26 -0
- package/dist/detectors/numeral-word.js.map +1 -0
- 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 +18 -0
- package/dist/detectors/organisation-run.d.ts.map +1 -0
- package/dist/detectors/organisation-run.js +80 -0
- package/dist/detectors/organisation-run.js.map +1 -0
- package/dist/detectors/orthographic-variant.d.ts.map +1 -1
- package/dist/detectors/orthographic-variant.js +65 -21
- package/dist/detectors/orthographic-variant.js.map +1 -1
- package/dist/detectors/orthography.d.ts.map +1 -1
- package/dist/detectors/orthography.js +6 -1
- package/dist/detectors/orthography.js.map +1 -1
- package/dist/detectors/outline-label.d.ts +14 -0
- package/dist/detectors/outline-label.d.ts.map +1 -0
- package/dist/detectors/outline-label.js +32 -0
- package/dist/detectors/outline-label.js.map +1 -0
- package/dist/detectors/oxford-comma.d.ts.map +1 -1
- package/dist/detectors/oxford-comma.js +38 -1
- package/dist/detectors/oxford-comma.js.map +1 -1
- package/dist/detectors/page-marker.d.ts +6 -0
- package/dist/detectors/page-marker.d.ts.map +1 -0
- package/dist/detectors/page-marker.js +19 -0
- package/dist/detectors/page-marker.js.map +1 -0
- package/dist/detectors/parallel-definition.d.ts +16 -0
- package/dist/detectors/parallel-definition.d.ts.map +1 -0
- package/dist/detectors/parallel-definition.js +51 -0
- package/dist/detectors/parallel-definition.js.map +1 -0
- 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/reference-text.d.ts.map +1 -1
- package/dist/detectors/reference-text.js +1 -0
- package/dist/detectors/reference-text.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/registry/unfilled-placeholder.d.ts.map +1 -1
- package/dist/detectors/registry/unfilled-placeholder.js +2 -2
- package/dist/detectors/registry/unfilled-placeholder.js.map +1 -1
- package/dist/detectors/registry/vague-density.js +1 -1
- package/dist/detectors/registry/vague-density.js.map +1 -1
- package/dist/detectors/request-owner.d.ts +6 -2
- package/dist/detectors/request-owner.d.ts.map +1 -1
- package/dist/detectors/request-owner.js +57 -7
- package/dist/detectors/request-owner.js.map +1 -1
- package/dist/detectors/requirement-smell.d.ts.map +1 -1
- package/dist/detectors/requirement-smell.js +39 -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 +2 -0
- package/dist/detectors/sentence-counts.d.ts.map +1 -1
- package/dist/detectors/sentence-counts.js +18 -7
- 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 +24 -16
- 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/sentence-rhythm.d.ts.map +1 -1
- package/dist/detectors/sentence-rhythm.js +6 -3
- package/dist/detectors/sentence-rhythm.js.map +1 -1
- package/dist/detectors/series-label.d.ts +2 -1
- package/dist/detectors/series-label.d.ts.map +1 -1
- package/dist/detectors/series-label.js +10 -4
- package/dist/detectors/series-label.js.map +1 -1
- package/dist/detectors/signals.d.ts +4 -0
- package/dist/detectors/signals.d.ts.map +1 -1
- package/dist/detectors/signals.js +91 -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 +21 -19
- 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/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/template-sections.d.ts +14 -0
- package/dist/detectors/template-sections.d.ts.map +1 -0
- package/dist/detectors/template-sections.js +25 -0
- package/dist/detectors/template-sections.js.map +1 -0
- 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 +23 -0
- package/dist/detectors/titled-run.d.ts.map +1 -0
- package/dist/detectors/titled-run.js +39 -0
- package/dist/detectors/titled-run.js.map +1 -0
- package/dist/detectors/token-shape.d.ts.map +1 -1
- package/dist/detectors/token-shape.js +13 -5
- package/dist/detectors/token-shape.js.map +1 -1
- package/dist/detectors/unbalanced-bracket.d.ts.map +1 -1
- package/dist/detectors/unbalanced-bracket.js +4 -0
- package/dist/detectors/unbalanced-bracket.js.map +1 -1
- package/dist/detectors/undefined-term.d.ts.map +1 -1
- package/dist/detectors/undefined-term.js +8 -0
- package/dist/detectors/undefined-term.js.map +1 -1
- package/dist/detectors/unfilled-placeholder.d.ts +4 -0
- package/dist/detectors/unfilled-placeholder.d.ts.map +1 -0
- package/dist/detectors/unfilled-placeholder.js +9 -0
- package/dist/detectors/unfilled-placeholder.js.map +1 -0
- package/dist/detectors/vague-density.d.ts +8 -0
- package/dist/detectors/vague-density.d.ts.map +1 -0
- package/dist/detectors/vague-density.js +65 -0
- package/dist/detectors/vague-density.js.map +1 -0
- 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/facts/fact-scope.d.ts +10 -1
- package/dist/facts/fact-scope.d.ts.map +1 -1
- package/dist/facts/fact-scope.js +34 -3
- package/dist/facts/fact-scope.js.map +1 -1
- package/dist/facts/table-facts.d.ts +12 -2
- package/dist/facts/table-facts.d.ts.map +1 -1
- package/dist/facts/table-facts.js +22 -4
- package/dist/facts/table-facts.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/grade-api.d.ts +9 -2
- package/dist/grade-api.d.ts.map +1 -1
- package/dist/grade-api.js +31 -15
- package/dist/grade-api.js.map +1 -1
- package/dist/heading-numbering.d.ts +5 -2
- package/dist/heading-numbering.d.ts.map +1 -1
- package/dist/heading-numbering.js +27 -6
- package/dist/heading-numbering.js.map +1 -1
- 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 +33 -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 +15 -0
- package/dist/latin-word-boundary.d.ts.map +1 -0
- package/dist/latin-word-boundary.js +40 -0
- package/dist/latin-word-boundary.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 +5 -0
- package/dist/link-shape.d.ts.map +1 -1
- package/dist/link-shape.js +18 -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-end-letter.d.ts +5 -0
- package/dist/name-end-letter.d.ts.map +1 -1
- package/dist/name-end-letter.js +8 -0
- package/dist/name-end-letter.js.map +1 -1
- package/dist/name-given-before.d.ts +15 -0
- package/dist/name-given-before.d.ts.map +1 -0
- package/dist/name-given-before.js +30 -0
- package/dist/name-given-before.js.map +1 -0
- package/dist/name-separator.d.ts +2 -2
- package/dist/name-separator.d.ts.map +1 -1
- package/dist/name-separator.js +79 -5
- package/dist/name-separator.js.map +1 -1
- package/dist/name-variants.d.ts +3 -1
- package/dist/name-variants.d.ts.map +1 -1
- package/dist/name-variants.js +8 -7
- package/dist/name-variants.js.map +1 -1
- package/dist/name-word-order.d.ts +9 -5
- package/dist/name-word-order.d.ts.map +1 -1
- package/dist/name-word-order.js +47 -15
- package/dist/name-word-order.js.map +1 -1
- package/dist/nominal-stem.d.ts +26 -0
- package/dist/nominal-stem.d.ts.map +1 -0
- package/dist/nominal-stem.js +70 -0
- package/dist/nominal-stem.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 +6 -2
- 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 +11 -0
- package/dist/structure/attached-parts.d.ts.map +1 -0
- package/dist/structure/attached-parts.js +31 -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/cited-document-section.d.ts +7 -0
- package/dist/structure/cited-document-section.d.ts.map +1 -0
- package/dist/structure/cited-document-section.js +33 -0
- package/dist/structure/cited-document-section.js.map +1 -0
- 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 +3 -2
- package/dist/structure/definition-use.d.ts.map +1 -1
- package/dist/structure/definition-use.js +99 -31
- package/dist/structure/definition-use.js.map +1 -1
- package/dist/structure/html-text-blocks.d.ts +8 -0
- package/dist/structure/html-text-blocks.d.ts.map +1 -0
- package/dist/structure/html-text-blocks.js +47 -0
- package/dist/structure/html-text-blocks.js.map +1 -0
- package/dist/structure/issues.d.ts +5 -2
- package/dist/structure/issues.d.ts.map +1 -1
- package/dist/structure/issues.js +24 -6
- package/dist/structure/issues.js.map +1 -1
- package/dist/structure/labelled-date-order.d.ts +4 -1
- package/dist/structure/labelled-date-order.d.ts.map +1 -1
- package/dist/structure/labelled-date-order.js +2 -2
- package/dist/structure/labelled-date-order.js.map +1 -1
- package/dist/structure/labelled-order.d.ts +3 -0
- package/dist/structure/labelled-order.d.ts.map +1 -1
- package/dist/structure/labelled-order.js +8 -3
- package/dist/structure/labelled-order.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/list-numbering.d.ts +20 -4
- package/dist/structure/list-numbering.d.ts.map +1 -1
- package/dist/structure/list-numbering.js +65 -9
- package/dist/structure/list-numbering.js.map +1 -1
- package/dist/structure/listed-paragraph.d.ts +16 -0
- package/dist/structure/listed-paragraph.d.ts.map +1 -0
- package/dist/structure/listed-paragraph.js +37 -0
- package/dist/structure/listed-paragraph.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 +5 -2
- package/dist/structure/numbering.d.ts.map +1 -1
- package/dist/structure/numbering.js +49 -12
- 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/reference-text.d.ts +9 -1
- package/dist/structure/reference-text.d.ts.map +1 -1
- package/dist/structure/reference-text.js +21 -3
- package/dist/structure/reference-text.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/section-names.d.ts +12 -0
- package/dist/structure/section-names.d.ts.map +1 -0
- package/dist/structure/section-names.js +26 -0
- package/dist/structure/section-names.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 +3 -1
- package/dist/structure/universal.d.ts.map +1 -1
- package/dist/structure/universal.js +9 -2
- 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/versioned-label.d.ts +16 -0
- package/dist/structure/versioned-label.d.ts.map +1 -0
- package/dist/structure/versioned-label.js +48 -0
- package/dist/structure/versioned-label.js.map +1 -0
- package/dist/structure/written-headings.d.ts +31 -0
- package/dist/structure/written-headings.d.ts.map +1 -0
- package/dist/structure/written-headings.js +119 -0
- package/dist/structure/written-headings.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 +12 -0
- package/dist/structure/written-resolve.d.ts.map +1 -0
- package/dist/structure/written-resolve.js +55 -0
- package/dist/structure/written-resolve.js.map +1 -0
- package/dist/title-line.d.ts +21 -0
- package/dist/title-line.d.ts.map +1 -0
- package/dist/title-line.js +27 -0
- package/dist/title-line.js.map +1 -0
- package/package.json +3 -3
- 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 +2 -2
- package/rules/contraction-consistency.yaml +13 -13
- package/rules/dangling-figure-reference.yaml +2 -2
- package/rules/dangling-reference.yaml +2 -2
- package/rules/date-without-year.yaml +10 -2
- package/rules/defined-name-repeated.yaml +2 -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/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/fact-conflict.yaml +2 -2
- package/rules/footnote-mismatch.yaml +2 -2
- package/rules/heading-echo.yaml +2 -2
- package/rules/heading-end-punctuation-mix.yaml +2 -2
- package/rules/heading-numbering-mix.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 +4 -4
- package/rules/list-item-form-mix.yaml +2 -2
- package/rules/max-kanji-continuous.yaml +7 -3
- package/rules/max-sentence-length.yaml +3 -2
- package/rules/modal-conflict.yaml +1 -0
- package/rules/nado-closed-list.yaml +2 -2
- package/rules/name-variant.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 +2 -2
- package/rules/reference-title-mismatch.yaml +2 -2
- package/rules/repeated-sentence-ending.yaml +3 -2
- package/rules/request-without-deadline.yaml +2 -2
- package/rules/requirement-smell.yaml +3 -3
- package/rules/sentence-rhythm.yaml +2 -2
- package/rules/table-header-variant.yaml +2 -2
- package/rules/teki-overuse.yaml +3 -2
- package/rules/title-case-consistency.yaml +2 -2
- package/rules/total-mismatch.yaml +2 -2
- package/rules/translationese-density.yaml +2 -2
- package/rules/unbalanced-bracket.yaml +2 -2
- package/rules/undefined-acronym.yaml +15 -4
- package/rules/undefined-term.yaml +2 -2
- package/rules/unfilled-placeholder.yaml +4 -4
- 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/capitals-passage.ts +31 -0
- package/src/chronology-rows.ts +86 -0
- package/src/coined-hyphen-name.ts +27 -0
- package/src/company-name-run.ts +37 -0
- package/src/company-names.ts +24 -3
- 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 +34 -6
- package/src/detectors/acronym-definition.ts +123 -0
- package/src/detectors/acronym-expansion.ts +47 -6
- package/src/detectors/acronym-known.ts +40 -0
- package/src/detectors/acronym-link.ts +37 -0
- package/src/detectors/acronym-lone.ts +26 -0
- package/src/detectors/acronym-name.ts +140 -0
- package/src/detectors/addressee-edge.ts +16 -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 +154 -4
- package/src/detectors/caps-caption.ts +103 -0
- package/src/detectors/caps-phrase.ts +17 -0
- package/src/detectors/char-shape.ts +99 -26
- package/src/detectors/cited-title.ts +15 -3
- package/src/detectors/clause-shape.ts +14 -4
- package/src/detectors/concrete-evidence.ts +77 -1
- package/src/detectors/contraction-minority.ts +11 -0
- package/src/detectors/counter-edge.ts +40 -2
- package/src/detectors/date-any-year.ts +79 -12
- package/src/detectors/date-format.ts +2 -1
- package/src/detectors/date-heading-year.ts +55 -0
- package/src/detectors/date-year.ts +107 -14
- package/src/detectors/deadline-unit.ts +40 -0
- package/src/detectors/defined-term-form.ts +58 -17
- package/src/detectors/definition-use.ts +7 -3
- package/src/detectors/derived-numbers.ts +19 -4
- 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/due-date.ts +10 -1
- package/src/detectors/ellipsis.ts +16 -1
- package/src/detectors/email-letter.ts +97 -21
- package/src/detectors/en-shape.ts +5 -1
- package/src/detectors/fact-consistency.ts +3 -2
- package/src/detectors/field-label.ts +25 -0
- package/src/detectors/footnote-mismatch.ts +39 -7
- package/src/detectors/graded-step.ts +52 -0
- package/src/detectors/gram-openers.ts +21 -0
- package/src/detectors/gram-passages.ts +36 -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-end-mark.ts +23 -10
- package/src/detectors/heading-names.ts +31 -0
- package/src/detectors/heading-numbering.ts +7 -2
- package/src/detectors/ime-residue.ts +4 -3
- package/src/detectors/inch-mark.ts +49 -0
- package/src/detectors/kanji-compound-slip.ts +61 -0
- package/src/detectors/kutoten-consistency.ts +93 -14
- package/src/detectors/lexicon.ts +44 -24
- 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 +70 -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-apart.ts +63 -0
- package/src/detectors/name-variant.ts +30 -12
- 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/numeral-word.ts +33 -0
- 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 +97 -0
- package/src/detectors/orthographic-variant.ts +103 -27
- package/src/detectors/orthography.ts +10 -1
- package/src/detectors/outline-label.ts +48 -0
- package/src/detectors/oxford-comma.ts +40 -1
- package/src/detectors/page-marker.ts +26 -0
- package/src/detectors/parallel-definition.ts +64 -0
- 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/reference-text.ts +1 -0
- package/src/detectors/registry/kanji-compound-slip.ts +4 -0
- package/src/detectors/registry/phrase-in-use.ts +4 -0
- package/src/detectors/registry/unfilled-placeholder.ts +2 -2
- package/src/detectors/registry/vague-density.ts +1 -1
- package/src/detectors/request-owner.ts +71 -8
- package/src/detectors/requirement-smell.ts +53 -7
- package/src/detectors/scaled-figure-unit.ts +103 -0
- package/src/detectors/sentence-counts.ts +24 -8
- package/src/detectors/sentence-ending.ts +12 -3
- package/src/detectors/sentence-length.ts +14 -6
- package/src/detectors/sentence-load.ts +9 -2
- package/src/detectors/sentence-rhythm.ts +8 -4
- package/src/detectors/series-label.ts +13 -4
- package/src/detectors/signals.ts +105 -55
- package/src/detectors/structure-tree.ts +22 -20
- package/src/detectors/structure.ts +2 -1
- package/src/detectors/subject-name-line.ts +66 -0
- package/src/detectors/table-header.ts +15 -1
- package/src/detectors/technical-docs.ts +5 -1
- package/src/detectors/template-sections.ts +37 -0
- package/src/detectors/term-mention-sentence.ts +31 -0
- package/src/detectors/titled-run.ts +48 -0
- package/src/detectors/token-shape.ts +14 -5
- package/src/detectors/unbalanced-bracket.ts +3 -0
- package/src/detectors/undefined-term.ts +8 -0
- package/src/detectors/unfilled-placeholder.ts +10 -0
- package/src/detectors/vague-density.ts +84 -0
- package/src/document-paragraphs.ts +27 -0
- package/src/document.ts +3 -23
- package/src/facts/fact-scope.ts +53 -4
- package/src/facts/table-facts.ts +43 -6
- package/src/figure-references.ts +7 -2
- package/src/format-template.ts +15 -0
- package/src/formula-brackets.ts +36 -0
- package/src/grade-api.ts +38 -16
- package/src/heading-numbering.ts +35 -8
- package/src/html/html-markdown.ts +2 -1
- package/src/html/html-site-chrome.ts +47 -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 +46 -0
- package/src/lexicon-genres.ts +1 -1
- package/src/link-shape.ts +19 -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-end-letter.ts +9 -0
- package/src/name-given-before.ts +40 -0
- package/src/name-separator.ts +91 -5
- package/src/name-variants.ts +21 -11
- package/src/name-word-order.ts +62 -17
- package/src/nominal-stem.ts +93 -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 +7 -2
- package/src/spacing-code.ts +5 -1
- package/src/split-noun.ts +63 -0
- package/src/structure/attached-parts.ts +32 -0
- package/src/structure/build.ts +7 -4
- package/src/structure/cited-document-section.ts +42 -0
- package/src/structure/contents-lines.ts +63 -0
- package/src/structure/defining-names.ts +155 -0
- package/src/structure/definition-use.ts +116 -25
- package/src/structure/html-text-blocks.ts +45 -0
- package/src/structure/issues.ts +26 -7
- package/src/structure/labelled-date-order.ts +5 -2
- package/src/structure/labelled-order.ts +12 -3
- package/src/structure/list-lead-in.ts +94 -0
- package/src/structure/list-numbering.ts +100 -11
- package/src/structure/listed-paragraph.ts +45 -0
- package/src/structure/modal-conflict.ts +42 -7
- package/src/structure/negated-act.ts +49 -0
- package/src/structure/numbering.ts +70 -26
- package/src/structure/prose-total.ts +20 -6
- package/src/structure/reference-text.ts +25 -3
- package/src/structure/repeated-number.ts +110 -0
- package/src/structure/rounded-amount.ts +55 -0
- package/src/structure/section-names.ts +32 -0
- package/src/structure/side-step.ts +21 -0
- package/src/structure/spanned-label-blank.ts +39 -0
- package/src/structure/universal.ts +11 -2
- package/src/structure/unspaced-heading.ts +27 -0
- package/src/structure/versioned-label.ts +52 -0
- package/src/structure/written-headings.ts +137 -0
- package/src/structure/written-list-path.ts +46 -0
- package/src/structure/written-resolve.ts +64 -0
- package/src/title-line.ts +52 -0
|
@@ -29,6 +29,14 @@ how_to_fix:
|
|
|
29
29
|
|
|
30
30
|
levels: { strict: warning, normal: info, relaxed: info }
|
|
31
31
|
|
|
32
|
+
options:
|
|
33
|
+
dated_genres:
|
|
34
|
+
kind: words
|
|
35
|
+
default: [business/meeting-notes, business/email]
|
|
36
|
+
about:
|
|
37
|
+
ja: 頭の日付が、書かれたことの起きた日(会議の日、手紙の日)になっている genre。その日付から5か月以内の月日は、その年と読む。Web ページの頭の日付は載せた日で、月日はどの年のこともある
|
|
38
|
+
en: Genres whose date at the top is the day the text is about (the meeting, the letter). A day and month within five months of it is read as that year's. A web page's date at the top is the day it was posted, and its days and months may be any year's
|
|
39
|
+
|
|
32
40
|
use_for: [business, technical, blog, legal, docs, academic, literature, speech]
|
|
33
41
|
|
|
34
42
|
group: structure
|
|
@@ -64,8 +72,8 @@ example:
|
|
|
64
72
|
- October 28, 2026: results sent
|
|
65
73
|
|
|
66
74
|
not_flagged:
|
|
67
|
-
ja:
|
|
68
|
-
en: A document whose dated dates are all in one year is not reported, since the reader can tell the year. A document that writes the year once and the rest as month and day (more yearless dates than dated ones) is a style, and not reported either. In both, a date across the turn of a year is still reported. Nor is a date of no one year, such as a day that comes round every year ("every year on April 1", "each December 31", "April 1 to March 31 of the following year") and a date in a worked example ("for example, a request received on April 1", the dates after "e.g."). A document with no dated date, and month-only and year-only dates, are not checked.
|
|
75
|
+
ja: 年のある日付がみな同じ年の文書では、年の無い日付を指しません(どの年か読み手に分かるため)。年を一度だけ書いて、あとの日付は月と日だけで書く文書(年の無い日付のほうが多い文書)も、書き方の選び方として指しません。ただしどちらの場合も、年をまたぐ日付は指します。見出しが年を名指す節(「2026年度の予定」「令和8年の行事」「FY27」)の日付は、見出しから年が決まるので指しません。文書の日付を頭に書いた議事録や手紙(dated_genres の genre。題の下の「2024年1月17日」の行)では、その日付から5か月以内に収まる月日もその年と読めるので指しません。どの年のものでもない日付も指しません。毎年の日(毎年4月1日、決算日は12月31日、年末年始閉庁日(12月29日~1月3日)、4月1日から翌年3月31日まで、1月1日から12月31日までのような一年の期間)と、例の日付(例えば…4月1日に届いた場合、例:のあとの日付、例の項目に続く「もし…」の項目)です。年のある日付が一つも無い文書、月だけ・年だけの日付は見ません。
|
|
76
|
+
en: A document whose dated dates are all in one year is not reported, since the reader can tell the year. A document that writes the year once and the rest as month and day (more yearless dates than dated ones) is a style, and not reported either. In both, a date across the turn of a year is still reported. A date in a section whose heading names the year ("2026 events", "FY27-Q2") takes its year from the heading and is not reported. In minutes or a letter (the genres of the dated_genres option) that carry their own date at the top ("January 17, 2024" under the title), a day and month within five months of that date takes the year that puts it there, and is not reported. Nor is a date of no one year, such as a day that comes round every year ("every year on April 1", "each December 31", "the fiscal year end is March 31", "April 1 to March 31 of the following year", a whole year such as "January 1 to December 31") and a date in a worked example ("for example, a request received on April 1", the dates after "e.g.", a list item opening with "If" just after an example's item). A document with no dated date, and month-only and year-only dates, are not checked.
|
|
69
77
|
rewrite:
|
|
70
78
|
depth: light
|
|
71
79
|
ja:
|
|
@@ -65,8 +65,8 @@ example:
|
|
|
65
65
|
1. The Customer pays the Supplier within thirty days of each invoice.
|
|
66
66
|
|
|
67
67
|
not_flagged:
|
|
68
|
-
ja:
|
|
69
|
-
en: 'Uses before the short name is defined, uses on a line that also gives the short name, lines holding little more than the name (a signature block), names shorter than four characters, one-word English names, short names that contain the long one, names narrowed by the word before them ("the Beta Preview"), names that are defined terms themselves,
|
|
68
|
+
ja: 短い呼び名を定める前の使用、呼び名と同じ行にある使用、名前だけの行(署名欄)、四字に満たない名前(「法律」)、一語の英語の名前、小文字だけの英語の語や日付・金額(with respect thereto、January 26, 2015、$1.00)、呼び名が名前を含むもの(「本サービス」)、前の語が絞り込む名前(「妊娠中の女性従業員」「本利用規約」、Customer's Web site)、それ自体が定義した語である名前、長い語の一部(「株式会社みなと製作所大阪支店」)、それぞれや全体を呼ぶ括弧((each, a "Certificate")、(collectively, the "Plans"))は見ません。この括弧は前の節の頭の語を呼び、すぐ前の名前を呼ぶのではないからです。法務のジャンルで見ます。
|
|
69
|
+
en: 'Uses before the short name is defined, uses on a line that also gives the short name, lines holding little more than the name (a signature block), names shorter than four characters, one-word English names, lower-case words, dates and amounts (with respect thereto, January 26, 2015, $1.00), short names that contain the long one, names narrowed by the word before them ("the Beta Preview", "Customer''s Web site"), names that are defined terms themselves, a name inside a longer word, and a bracket that names each or all of several things ((each, a "Certificate"), (collectively, the "Plans")), which names the head of the clause before it rather than its last words, are not reported. The legal genres run this rule.'
|
|
70
70
|
rewrite:
|
|
71
71
|
depth: light
|
|
72
72
|
ja:
|
|
@@ -83,8 +83,8 @@ example:
|
|
|
83
83
|
3. You must not resell the Services.
|
|
84
84
|
|
|
85
85
|
not_flagged:
|
|
86
|
-
ja: 定義そのもの(以下「本サービス」という、「本サービス」とは)、定義より前の使用(use-before-definition が見ます)、文の頭の大文字、小文字の使用が {limit} 個を超えるか大文字の使用より多い語(ふつうの意味で使っているとみなす)は指しません。定義の文の中の使用(「顧客」とは、表紙に「顧客」と書いた者をいう)も見ません。法令・規程(statute の profile
|
|
87
|
-
en: 'The definitions themselves ("Services" means, (the "Services")), uses before the definition (use-before-definition reads those), capitals at the start of a sentence, and terms written in lower case more than {limit} times or more often than capitalised (taken as the ordinary word used on purpose) are not reported, nor is a use inside the defining sentence ("Customer" means the party named "Customer"). A statute or a regulation (a document read with the statute profile) quotes a term to talk about the term itself ("controller" has the same meaning as in Part 3), so a quoted term is not reported there. A lower-case phrase that starts with an adjective, or that an adjective or a
|
|
86
|
+
ja: 定義そのもの(以下「本サービス」という、「本サービス」とは)、定義より前の使用(use-before-definition が見ます)、文の頭の大文字、小文字の使用が {limit} 個を超えるか大文字の使用より多い語(ふつうの意味で使っているとみなす)は指しません。定義の文の中の使用(「顧客」とは、表紙に「顧客」と書いた者をいう)も見ません。法令・規程(statute の profile で読む文書)は、語そのものを指すために語をかぎ括弧に入れる(「株主」とあるのは、「個人情報」の定義)ので、かぎ括弧に入れ直した語は指しません。小文字の語句は、形容詞で始まるもの、形容詞や所有の語や名詞が前に付くもの(its own confidential information、additional terms of service、a common parent、a limited liability company)、of と冠詞の無い名詞が後ろに続くもの(certificates of deposit)、別の定義した語の一部であるもの(Certificate of Merger と定義した文書の certificate of merger)は普通の語句として見ません。ただし、the other party、such company のように指す語が前に付くものは指します。引用符に入れた語でも、前の語がその語を語として挙げているもの(the definition of "Material Adverse Effect"、the term "Affiliate")は見ません。「本」と「本件」を入れ替えた形は、その形も定義した語であるとき、長い語の一部(見本物品)のときは見ません。長くした語は、指す語(当該・前記・同・各)が前に付いただけのもの、二字以下の語(提供、登録)を長くしたもの、定義の文がその長い語を書いているもの(東京都(以下「都」という。))、その長い語も定義した語であるもの、複数形(Boxes)は見ません。
|
|
87
|
+
en: 'The definitions themselves ("Services" means, (the "Services")), uses before the definition (use-before-definition reads those), capitals at the start of a sentence, and terms written in lower case more than {limit} times or more often than capitalised (taken as the ordinary word used on purpose) are not reported, nor is a use inside the defining sentence ("Customer" means the party named "Customer"). A statute or a regulation (a document read with the statute profile) quotes a term to talk about the term itself ("controller" has the same meaning as in Part 3), so a quoted term is not reported there. A lower-case phrase that starts with an adjective, or that an adjective, a possessive or a noun comes before (its own confidential information, additional terms of service, a common parent, a limited liability company), one followed by "of" and a bare noun (certificates of deposit), and one inside another defined term (certificate of merger where Certificate of Merger is defined) is the ordinary phrase and is not reported; after a pointing word (the other party, such company) it is. Nor is a quoted term that the words before it name as a term (the definition of "Material Adverse Effect", the term "Affiliate"). A term with its other prefix (本件業務 for 本業務) is not reported when that form is defined too, or inside a longer word (見本物品). A longer word is not reported when only a pointing word comes before the term (当該管理責任者), when the term has two characters or fewer (提供, 登録), when the definition itself writes the longer word (東京都(以下「都」という。)), when the longer word is defined too, or when it is a plural (Boxes).'
|
|
88
88
|
level_meaning:
|
|
89
89
|
ja: 小文字の使用が {limit} 個以下で、大文字の使用より少ないとき指摘
|
|
90
90
|
en: lower-case uses reported when they are {limit} or fewer and fewer than the capitalised ones
|
|
@@ -9,8 +9,8 @@ name:
|
|
|
9
9
|
en: Doubled punctuation
|
|
10
10
|
|
|
11
11
|
why:
|
|
12
|
-
ja: 「。。」「、、」「、。」のように句読点が二つ並ぶのは、打ち直しや貼り付けで残った印です。読み手はそこで止まり、急いで書いた文書に見えます。同じ印を三つ以上並べたもの(「...」「。。。」)はわざと伸ばした書き方なので数えません。「e.g.,」「etc
|
|
13
|
-
en: Two punctuation marks side by side ("..", ",,", "i.e.,,") are left over from an edit or a paste. The reader stops there, and the document looks rushed. Three or more of the same mark ("...") are drawn out on purpose and are not counted, nor is the comma or semicolon after an abbreviation's period ("e.g.,", "etc.;"), a period that starts the next word (".NET"), a range or path ("1..10", "../"), code or a URL. "!!" and "??" are a matter of style and are not checked.
|
|
12
|
+
ja: 「。。」「、、」「、。」のように句読点が二つ並ぶのは、打ち直しや貼り付けで残った印です。読み手はそこで止まり、急いで書いた文書に見えます。同じ印を三つ以上並べたもの(「...」「。。。」)はわざと伸ばした書き方なので数えません。「e.g.,」「etc.;」のような略語の点の後ろの読点、英字の会社の名前の形の点と「,」(INC.、 CO.,LTD.)、「、.NET」のように次の語の頭の点、「1..10」「../」のような範囲や道のり、コードと URL も数えません。「!!」「??」は文体の選び方なので見ません。
|
|
13
|
+
en: Two punctuation marks side by side ("..", ",,", "i.e.,,") are left over from an edit or a paste. The reader stops there, and the document looks rushed. Three or more of the same mark ("...") are drawn out on purpose and are not counted, nor is the comma or semicolon after an abbreviation's period ("e.g.,", "etc.;"), the points and comma of a company form in a Japanese sentence ("INC.、", "CO.,LTD."), a period that starts the next word (".NET"), a range or path ("1..10", "../"), code or a URL. "!!" and "??" are a matter of style and are not checked.
|
|
14
14
|
|
|
15
15
|
message:
|
|
16
16
|
ja: 「{marks}」と句読点が重なっています
|
|
@@ -41,5 +41,5 @@ example:
|
|
|
41
41
|
We will send the file today, as agreed.
|
|
42
42
|
|
|
43
43
|
not_flagged:
|
|
44
|
-
ja: 「...」「。。。」のように三つ以上並べたものと、そのすぐ後ろの一つの印(「...。」「、、、。」)、「e.g.,」「etc
|
|
45
|
-
en: Three or more of one mark ("...", "。。。") and one mark right after them ("...。", "、、、。"), the mark after an abbreviation ("e.g.,", "etc.;"), ranges and paths ("1..10", "../"), "!!", "??" and colons are not reported.
|
|
44
|
+
ja: 「...」「。。。」のように三つ以上並べたものと、そのすぐ後ろの一つの印(「...。」「、、、。」)、「e.g.,」「etc.;」のような略語の後ろ、英字の会社の形(INC.、 CO.,LTD.)、「1..10」「../」のような範囲と道のり、「!!」「??」とコロンは指しません。
|
|
45
|
+
en: Three or more of one mark ("...", "。。。") and one mark right after them ("...。", "、、、。"), the mark after an abbreviation ("e.g.,", "etc.;") or a company form ("CO.,LTD."), ranges and paths ("1..10", "../"), "!!", "??" and colons are not reported.
|
package/rules/doubled-word.yaml
CHANGED
|
@@ -11,8 +11,8 @@ name:
|
|
|
11
11
|
en: Word written twice
|
|
12
12
|
|
|
13
13
|
why:
|
|
14
|
-
ja:
|
|
15
|
-
en: The same word twice in a row ("the the"), or two words where English takes one ("our the platform"), is left over from an edit. The reader stumbles, and the document looks rushed. Repeats that grammar allows ("had had", "that that", "is, is") and repeats for emphasis ("very very") are not counted.
|
|
14
|
+
ja: 「資料をを送ります」「確認確認します」のように同じ語が続くのは、消し忘れか、書き換えの途中で残った語です。読み手はつまずき、急いで書いた文書に見えます。括弧の注を挟んで同じ助詞が二度ある形(「本規約は(以下、規約)は」)も、注を書き足したときの消し忘れです。重ねて「それぞれの」を言う名詞(人・単位・時・場所。「個人個人」「一行一行」「毎年毎年」)、名詞や形容詞を重ねて強める形(「駄目駄目」「若い若い」)、擬音・擬態語(「ムクムク」「もちもち」)、笑い声(「ははは」)、決まった言い回し(「などなど」「あるある」)は、重ねるのが正しい書き方なので数えていません。
|
|
15
|
+
en: The same word twice in a row ("the the"), or two words where English takes one ("our the platform"), is left over from an edit. The reader stumbles, and the document looks rushed. In Japanese, the same particle on both sides of a parenthetical aside (本規約は(以下、規約)は) is left over the same way. Repeats that grammar allows ("had had", "that that", "is, is") and repeats for emphasis ("very very") are not counted.
|
|
16
16
|
|
|
17
17
|
message:
|
|
18
18
|
ja: 「{word}」で語が重なっています。どちらかが余分です
|
|
@@ -82,5 +82,5 @@ example:
|
|
|
82
82
|
Users may use the Service free of charge.
|
|
83
83
|
|
|
84
84
|
not_flagged:
|
|
85
|
-
ja: 二つの定義が食い違っているかは決めません。二つ目を指すだけです。語を名前にした見出しは定義に数えません。英語で、括弧に引用符だけで入れた語句のうち、名前らしく大文字で始めていない語を含むもの(("The key point is")
|
|
86
|
-
en: 'Whether the two definitions conflict is not decided; only the second is pointed at. A heading that names the term is not a definition. In English, a phrase quoted alone in brackets with a word a name would capitalise left in lower case ("The key point is") quotes an example, and is not a definition.'
|
|
85
|
+
ja: 二つの定義が食い違っているかは決めません。二つ目を指すだけです。語を名前にした見出しは定義に数えません。英語で、括弧に引用符だけで入れた語句のうち、名前らしく大文字で始めていない語を含むもの(("The key point is"))は、例を引いたものとして定義に数えません。添付した文書(前後を空行に挟まれた「Exhibit A to Merger Agreement」のような題の行から後ろ)は別の文書なので、その中の定義は、本文の定義とは比べず、添付した文書の中でだけ比べます。
|
|
86
|
+
en: 'Whether the two definitions conflict is not decided; only the second is pointed at. A heading that names the term is not a definition. In English, a phrase quoted alone in brackets with a word a name would capitalise left in lower case ("The key point is") quotes an example, and is not a definition. An attached instrument (from a title line such as "Exhibit A to Merger Agreement" between blank lines) is a separate document: its definitions are compared only with each other, not with those of the body.'
|
|
@@ -62,8 +62,8 @@ example:
|
|
|
62
62
|
The trial runs for 3 months from April 1, 2026 (until June 30, 2026).
|
|
63
63
|
|
|
64
64
|
not_flagged:
|
|
65
|
-
ja: 三通りの数え方(終わりを含める、含めない、初日を数えずに過ぎた日)のどれとも合わないときだけ指します。「約3か月」「3
|
|
66
|
-
en: Only an end that matches none of the three ways of counting is pointed out. A rough length ("about 3 months"), a sentence with three or more dates or two or more lengths, and a pair of one date with a year and one without are left alone. So are a rough number of nights ("up to 3 nights") and nights written without dates. Working hours are left alone without a stated total, with a break of no length ("breaks provided"), with two or more ranges of time on a line (a shift table only on rows that state their own hours), and across midnight without a next-day mark. In a timesheet, a table without a Break or an Hours column, a row with a cell that cannot be read exactly (no break, a bare number of break, a.m. or p.m. on only one time), and a row across midnight in a document that does not mention night work are left alone.
|
|
65
|
+
ja: 三通りの数え方(終わりを含める、含めない、初日を数えずに過ぎた日)のどれとも合わないときだけ指します。「約3か月」「3か月程度」のような目安の期間、「週3日」「月10日」のような期間あたりの日数と「週休2日制」「4週8休」の中の数、日付が三つ以上か期間が二つ以上ある文、年を書いた日付と書かない日付の組は見ません。「最大3泊」のような目安の泊数と、日付の無い泊数も見ません。勤務時間は、実働の書いていない所、長さの無い休憩(休憩あり)、一行に時間の範囲が二つ以上ある所(シフト表は行ごとに実働を書いた行だけ)、「翌」などの印の無い日をまたぐ範囲を見ません。勤務表は、休憩か実働の列の無い表、読めない升(休憩なし、単位の無い休憩の数、片方にだけ午前・午後を書いた時刻)のある行、夜勤などの印の無い文書で日をまたぐ行を見ません。
|
|
66
|
+
en: Only an end that matches none of the three ways of counting is pointed out. A rough length ("about 3 months"), a count in each period ("3 days a week"), a sentence with three or more dates or two or more lengths, and a pair of one date with a year and one without are left alone. So are a rough number of nights ("up to 3 nights") and nights written without dates. Working hours are left alone without a stated total, with a break of no length ("breaks provided"), with two or more ranges of time on a line (a shift table only on rows that state their own hours), and across midnight without a next-day mark. In a timesheet, a table without a Break or an Hours column, a row with a cell that cannot be read exactly (no break, a bare number of break, a.m. or p.m. on only one time), and a row across midnight in a document that does not mention night work are left alone.
|
|
67
67
|
rewrite:
|
|
68
68
|
depth: light
|
|
69
69
|
ja:
|
|
@@ -76,8 +76,8 @@ example:
|
|
|
76
76
|
Best regards,
|
|
77
77
|
Ichiro
|
|
78
78
|
not_flagged:
|
|
79
|
-
ja: 引用した返信(「>」の行)と、ヘッダーと署名(「--
|
|
80
|
-
en: 'Quoted replies (lines starting with ">"), the header and the signature after "-- " are not read. When a letter opens with lines that end no sentence (the date, the address block, the sender, a title), the greeting is looked for up to the first sentence after them. Which greeting or closing is used is not decided; any word in the lexicon will do. Only the email and letter genre runs this rule.'
|
|
79
|
+
ja: 引用した返信(「>」の行)と、ヘッダーと署名(「-- 」の後ろ)は見ません。手紙の頭(日付、「保護者各位」のような宛名、差出人、表題)のように文で終わらない行が続くときは、挨拶をその後ろの最初の文までに探します。最初の文より前に「発信者:」のようなメモの形の項目名があれば、メモとして挨拶も結びも求めません。挨拶と結びの言い方は決めず、語彙表のどれかがあれば足ります。メール・手紙のジャンルでだけ見ます。
|
|
80
|
+
en: 'Quoted replies (lines starting with ">"), the header and the signature after "-- " are not read. When a letter opens with lines that end no sentence (the date, the address block, the sender, a title), the greeting is looked for up to the first sentence after them. A memo, with a label such as "TO:" or "SUBJECT:" in capitals before the first sentence, is asked for neither a greeting nor a closing. Which greeting or closing is used is not decided; any word in the lexicon will do. Only the email and letter genre runs this rule.'
|
|
81
81
|
rewrite:
|
|
82
82
|
depth: light
|
|
83
83
|
ja:
|
|
@@ -77,8 +77,8 @@ example:
|
|
|
77
77
|
Best regards,
|
|
78
78
|
Ichiro
|
|
79
79
|
not_flagged:
|
|
80
|
-
ja:
|
|
81
|
-
en: 'An email or letter without a "Subject:" line, and subjects inside a quoted reply, are not checked. Only the email and letter genre runs this rule.'
|
|
80
|
+
ja: 「件名:」の行が無いメールや手紙、引用した返信の中の件名は見ません。「件名:」の後ろが空なら次の行を件名として読みます(項目名と値を二段に組んだ文書)。ただし次の行が挨拶、文、別の項目なら件名は空です。メール・手紙のジャンルでだけ見ます。
|
|
81
|
+
en: 'An email or letter without a "Subject:" line, and subjects inside a quoted reply, are not checked. When nothing follows the colon, the next line with text is read as the subject (a form that sets the label and the value in two columns), unless that line is a greeting, a sentence or another field. Only the email and letter genre runs this rule.'
|
|
82
82
|
level_meaning:
|
|
83
83
|
ja: 件名 {limit} 字まで
|
|
84
84
|
en: up to {limit} characters in the subject
|
|
@@ -58,8 +58,8 @@ example:
|
|
|
58
58
|
| Oct 28 | Takahashi | Set the briefing date |
|
|
59
59
|
|
|
60
60
|
not_flagged:
|
|
61
|
-
ja: 一番左の列は見ません(空欄で「上と同じ」を表す書き方があるため)。同じ列に空欄が二つ以上ある列、本文の行が三つより少ない表、「—」「なし」と書いたセルは指しません。合計・小計・税の行(「| 合計 | | | 48,400円
|
|
62
|
-
en: The first column is not checked, since a blank there often means "same as above". A column with two or more blanks, a table with fewer than three body rows, and a cell holding "—" or "none" are not reported. Nor are the quantity and unit-price blanks of a total, subtotal or tax row ("| Total | | | $612.00 |"), a period total ("Week total") or a computed amount ("Gross pay"); a blank in its amount column (the rightmost column every other row fills with a figure) still is. Markdown tables only.
|
|
61
|
+
ja: 一番左の列は見ません(空欄で「上と同じ」を表す書き方があるため)。同じ列に空欄が二つ以上ある列、本文の行が三つより少ない表、「—」「なし」と書いたセルは指しません。合計・小計・税の行(「| 合計 | | | 48,400円 |」)、期間の合計の行(週計)、差し引きで決まる金額の行(総支給額)の数量や単価の空欄も指しません。金額の列(ほかの行がどれも数字を書いている一番右の列)の空欄は指します。合計の語で始まるか終わる見出し、またはコロンで終わる見出しのすぐ後ろの空欄も、その後ろの升が埋まっていれば指しません(元の表で二つの列にまたがっていた見出しを Markdown に直すと、こう空くため。「| 得点合計 | | 8 |」)。Markdown の表でだけ動きます。
|
|
62
|
+
en: The first column is not checked, since a blank there often means "same as above". A column with two or more blanks, a table with fewer than three body rows, and a cell holding "—" or "none" are not reported. Nor are the quantity and unit-price blanks of a total, subtotal or tax row ("| Total | | | $612.00 |"), a period total ("Week total") or a computed amount ("Gross pay"); a blank in its amount column (the rightmost column every other row fills with a figure) still is. Nor is a blank right after a label that starts or ends with a total word or ends in a colon, when the cell after it is filled, since a label that spanned two columns in the source table leaves that blank once written as Markdown ("| Total score | | 8 |"). Markdown tables only.
|
|
63
63
|
rewrite:
|
|
64
64
|
depth: light
|
|
65
65
|
ja:
|
package/rules/fact-conflict.yaml
CHANGED
|
@@ -74,8 +74,8 @@ example:
|
|
|
74
74
|
- Deadline: May 3, 2026
|
|
75
75
|
|
|
76
76
|
not_flagged:
|
|
77
|
-
ja: 違う見出しの下、違う親の項目の下、太字だけの行や「第2回:」のような行の後ろの値は、別のものの値として比べません。値の後ろに条件が続くもの(「3,000円から」「10月5日に開催」)、何あたりの違う値(日額と月額)や、距離や時間あたりの値とそれを掛けた金額(「1kmあたり15円」と「1,650円」。1件につき のような件ごとの値は比べます)、読点のあとから始まる項目名(「大人は、参加費は」)、単位の違う値(単位の食い違いは別に見ます)も比べません。単価の列(単価、時給)の升は、金額の列(金額、小計)の同じ名前の升とは比べません(文の値とは比べます)。同じ項目に三通り以上の値があれば、一覧として何も言いません。保存期間は、別のもの(ログは90日、個人情報は1年)や、上限・下限・目安の長さ(最長、以上、約)とは比べません。文書全体の項目は、拠り所(表の升、項目の名前を見出しにした節)と文のあいだだけで比べます。表どうしや、拠り所の無い文どうし(雇用形態ごとの節)、拠り所が二通りの値を書いた項目、条件の句の後ろの値(「製品登録をされた場合、保証期間は24か月です」)、名前に条件を書いた値(正社員の試用期間)は比べません。文書全体の項目は、表の升と文のあいだだけで比べます。表どうしや文どうし(雇用形態ごとの節)、表が二通りの値を書いた項目、名前に条件を書いた値(正社員の試用期間)は比べません。表の行と主語の文の金額は、行か文に同じ通貨の金額が二つ以上あるとき(日額と上限)、主語が見出しより長いとき(入院給付金の上限は)、文に条件の語(場合、ただし)があるときは比べません。全体の数は、全体の印(合計、全部で)と数える語(枚、名)の両方が付いた数だけを読みます。一部の数(うち2枚は)、上限(合計4枚まで)、表の行の名前を書いた文(S席は合計2
|
|
78
|
-
en: Values under different headings, under different parent list items, or after a bold-only line or a line like "Session 2:" are taken as values of different things. A value followed by a condition ("$300 per person", "May 3 at noon"), values per different units (a day, a month), a value per a distance or a time against the amount it multiplies into ("$0.45 per mile" and "$165"; a fee "for each transfer" is compared), a name that starts after a comma ("For adults, the fee"), and values in different units are not compared. A cell under a unit price column (Unit price, Rate) is not compared with a cell of the same name under an amount column (Amount, Total); it is compared with a sentence. An item with three or more different values is read as a list and left alone. A retention period is not compared with that of another thing (logs 90 days, account data 1 year) or with a bound or an estimate (up to, at least, about). A whole-document item is compared only between its source (a table cell, or a section headed by its name) and a sentence; two tables, two sentences with no source (sections per type of employment), an item its sources give two values, a value after a condition ("If you register the product, the warranty runs for 24 months"), and a qualified name (part-time probation period) are left alone. A whole-document item is compared only between a table cell and a sentence; two tables or two sentences (sections per type of employment), an item the tables give two values, and a qualified name (part-time probation period) are left alone. A table row and a sentence naming it are not compared when either holds two amounts in the currency (a daily amount and a cap), when the subject is longer than the heading ("Hospital cash cover is"), or when the sentence puts a condition on its amount (if, unless). A whole count is read only with a whole mark (in total, a total of) and a counting word (tickets, attendees). A part ("2 of the tickets"), a limit ("up to a total of 4 tickets"), a sentence naming a table row ("Stalls are 2 tickets in total"), and a document with two columns counting the same thing are left alone. Rows counting people are not summed, because the same guest is on the admission row and the dinner row.
|
|
77
|
+
ja: 違う見出しの下、違う親の項目の下、太字だけの行や「第2回:」のような行の後ろの値は、別のものの値として比べません。値の後ろに条件が続くもの(「3,000円から」「10月5日に開催」)、何あたりの違う値(日額と月額)や、距離や時間あたりの値とそれを掛けた金額(「1kmあたり15円」と「1,650円」。1件につき のような件ごとの値は比べます)、読点のあとから始まる項目名(「大人は、参加費は」)、単位の違う値(単位の食い違いは別に見ます)も比べません。単価の列(単価、時給)の升は、金額の列(金額、小計)の同じ名前の升とは比べません(文の値とは比べます)。同じ項目に三通り以上の値があれば、一覧として何も言いません。保存期間は、別のもの(ログは90日、個人情報は1年)や、上限・下限・目安の長さ(最長、以上、約)とは比べません。文書全体の項目は、拠り所(表の升、項目の名前を見出しにした節)と文のあいだだけで比べます。表どうしや、拠り所の無い文どうし(雇用形態ごとの節)、拠り所が二通りの値を書いた項目、条件の句の後ろの値(「製品登録をされた場合、保証期間は24か月です」)、名前に条件を書いた値(正社員の試用期間)は比べません。文書全体の項目は、表の升と文のあいだだけで比べます。表どうしや文どうし(雇用形態ごとの節)、表が二通りの値を書いた項目、名前に条件を書いた値(正社員の試用期間)は比べません。表の行と主語の文の金額は、行か文に同じ通貨の金額が二つ以上あるとき(日額と上限)、主語が見出しより長いとき(入院給付金の上限は)、文に条件の語(場合、ただし)があるときは比べません。全体の数は、全体の印(合計、全部で)と数える語(枚、名)の両方が付いた数だけを読みます。一部の数(うち2枚は)、上限(合計4枚まで)、表の行の名前を書いた文(S席は合計2枚)、数える列が二つ以上ある文書は比べません。人の数は行を足しません(同じ人が参加と交流会の両方の行に載ります)。段落の頭の名前だけの行(「例」「Example」「明細1(標準税率の分)」)の後ろの値は、その例や場合の値として、ほかの例とは比べません。見出しを繰り返して横に並べた表(曜日 | 時間 | 曜日 | 時間 の、第1週と第2週)は、並びごとに別の表として読みます。
|
|
78
|
+
en: Values under different headings, under different parent list items, or after a bold-only line or a line like "Session 2:" are taken as values of different things. A value followed by a condition ("$300 per person", "May 3 at noon"), values per different units (a day, a month), a value per a distance or a time against the amount it multiplies into ("$0.45 per mile" and "$165"; a fee "for each transfer" is compared), a name that starts after a comma ("For adults, the fee"), and values in different units are not compared. A cell under a unit price column (Unit price, Rate) is not compared with a cell of the same name under an amount column (Amount, Total); it is compared with a sentence. An item with three or more different values is read as a list and left alone. A retention period is not compared with that of another thing (logs 90 days, account data 1 year) or with a bound or an estimate (up to, at least, about). A whole-document item is compared only between its source (a table cell, or a section headed by its name) and a sentence; two tables, two sentences with no source (sections per type of employment), an item its sources give two values, a value after a condition ("If you register the product, the warranty runs for 24 months"), and a qualified name (part-time probation period) are left alone. A whole-document item is compared only between a table cell and a sentence; two tables or two sentences (sections per type of employment), an item the tables give two values, and a qualified name (part-time probation period) are left alone. A table row and a sentence naming it are not compared when either holds two amounts in the currency (a daily amount and a cap), when the subject is longer than the heading ("Hospital cash cover is"), or when the sentence puts a condition on its amount (if, unless). A whole count is read only with a whole mark (in total, a total of) and a counting word (tickets, attendees). A part ("2 of the tickets"), a limit ("up to a total of 4 tickets"), a sentence naming a table row ("Stalls are 2 tickets in total"), and a document with two columns counting the same thing are left alone. Rows counting people are not summed, because the same guest is on the admission row and the dinner row. Values after a name-only line at the head of a paragraph ("Example", "Element 1 (standard rated portion)") belong to that example or case and are not compared with another example's. A table that repeats its headings side by side (Day | Hours | Day | Hours, week 1 and week 2) is read as one table per group of columns.
|
|
79
79
|
rewrite:
|
|
80
80
|
depth: light
|
|
81
81
|
ja:
|
|
@@ -59,8 +59,8 @@ example:
|
|
|
59
59
|
[^2]: During the trial period.
|
|
60
60
|
|
|
61
61
|
not_flagged:
|
|
62
|
-
ja: Markdown の脚注([^1] と行頭の [^1]:)と、※ に一桁か二桁の番号を付けた印(※1、(※2))を読みます。※ の注が文書に一つも無いときは、注を別の所(表や別紙)に置いた文書と読んで言いません。※ の後ろに数が続くもの(※2018
|
|
63
|
-
en: Markdown footnotes ([^1] and a line starting "[^1]:") and a ※ with a one- or two-digit number (※1, (※2)) are read. When a document has no ※ note at all, its notes are taken to be elsewhere (a table, an annex) and nothing is reported for ※. A ※ before a longer number ("※2018") is not a note mark. Code is not read.
|
|
62
|
+
ja: Markdown の脚注([^1] と行頭の [^1]:)と、※ に一桁か二桁の番号を付けた印(※1、(※2))を読みます。※ の注が文書に一つも無いときは、注を別の所(表や別紙)に置いた文書と読んで言いません。※ の後ろに数が続くもの(※2018年度)と英語の序数(※1st Party)は注の番号ではありません。引用(>)の中の印も注を指していると読みます。コードの中は読みません。
|
|
63
|
+
en: Markdown footnotes ([^1] and a line starting "[^1]:") and a ※ with a one- or two-digit number (※1, (※2)) are read. When a document has no ※ note at all, its notes are taken to be elsewhere (a table, an annex) and nothing is reported for ※. A ※ before a longer number ("※2018") or an English ordinal ("※1st Party") is not a note mark. A mark inside a quotation (">") still points to its note. Code is not read.
|
|
64
64
|
|
|
65
65
|
rewrite:
|
|
66
66
|
ja:
|
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
|
|
@@ -128,8 +128,8 @@ example:
|
|
|
128
128
|
Put everything back.
|
|
129
129
|
|
|
130
130
|
not_flagged:
|
|
131
|
-
ja: 文書の題(最初の一つだけの一番上の見出し)は比べません。同じ深さの見出しが四つ未満の所、記号で終わる見出しと終わらない見出しが同じくらいある文書(少ないほうが四分の一を超える)は指しません。疑問符・感嘆符で終わる見出しは、記号なしと数えます。「…」や「etc.」「Inc
|
|
132
|
-
en: The page title (a single top-level heading that opens the document) is not compared. Fewer than four headings at one depth, or where both ways are common (the smaller side above a quarter), is not reported. A heading ending with a question mark or an exclamation mark counts as bare. A heading ending with a full stop that is part of the words ("…", "etc.", "Inc.") is left out of the comparison; the abbreviations are in each language's lexicon.
|
|
131
|
+
ja: 文書の題(最初の一つだけの一番上の見出し)は比べません。同じ深さの見出しが四つ未満の所、記号で終わる見出しと終わらない見出しが同じくらいある文書(少ないほうが四分の一を超える)は指しません。疑問符・感嘆符で終わる見出しは、記号なしと数えます。「…」や「etc.」「Inc.」のように言葉の一部の点で終わる見出しは比べません(点で終わる略語は言語ごとの語彙表にあります)。英語の文書で大文字だけで書いた見出し(「AGENCY:」のような告示の見出し語)は、普通の書き方の見出しとは別に、大文字の見出しどうしで比べます。
|
|
132
|
+
en: The page title (a single top-level heading that opens the document) is not compared. Fewer than four headings at one depth, or where both ways are common (the smaller side above a quarter), is not reported. A heading ending with a question mark or an exclamation mark counts as bare. A heading ending with a full stop that is part of the words ("…", "etc.", "Inc.") is left out of the comparison; the abbreviations are in each language's lexicon. Headings set in capitals (a notice's captions, "AGENCY:") are compared with each other, apart from headings in ordinary case.
|
|
133
133
|
rewrite:
|
|
134
134
|
depth: light
|
|
135
135
|
ja:
|
|
@@ -111,8 +111,8 @@ example:
|
|
|
111
111
|
The summary.
|
|
112
112
|
|
|
113
113
|
not_flagged:
|
|
114
|
-
ja: 兄弟が三つ未満の所、少ないほうと多いほうが同じ数の所、深さや親の違う見出しどうし(「1.」の下の「1.1
|
|
115
|
-
en: Fewer than three siblings, a tie between the two sides, and headings at different depths or under different parents ("1." and "1.1") are not compared. Front and back matter (Contents, References, Appendix)
|
|
114
|
+
ja: 兄弟が三つ未満の所、少ないほうと多いほうが同じ数の所、深さや親の違う見出しどうし(「1.」の下の「1.1」)は比べません。前後の見出し(目次、参考文献、付録、末尾の「担当」「お問い合わせ先」)と、1 から始まる番号の前に置いた番号の無い見出し(文書の題、「はじめに」)は兄弟に数えません。見出しの頭の数でも、区切りの記号の無い数(「2026年の計画」「3つの理由」)は番号と読みません。期間や催しを名指す番号(「第1週」「1日目」「第3回」「Week 1」)も番号と読みません。
|
|
115
|
+
en: Fewer than three siblings, a tie between the two sides, and headings at different depths or under different parents ("1." and "1.1") are not compared. Front and back matter (Contents, References, Appendix, a closing Contact), and unnumbered headings placed before a numbering that starts at 1 (the page title, "Applies to England"), are not counted among the siblings. A number at the head of a heading without a separator ("2026 roadmap", "3 reasons") is not read as a heading number. Nor is a number that names a period or an event ("Week 1", "Day 2", "Phase 3", "第3回").
|
|
116
116
|
rewrite:
|
|
117
117
|
depth: light
|
|
118
118
|
ja:
|
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.、イ.)、「Q.」のような英字の印、英字の会社の名前の形(CO.,LTD.)、「」の中、注の番号で始まる行と URL を含む文は数えません。どちらの書き方が正しいかは決めません。
|
|
50
|
+
en: Marks inside numbers (1,000, 3.5), after a list number or label (1., (注)1., イ.), 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
|
@@ -31,8 +31,8 @@ name:
|
|
|
31
31
|
en: Spacing around Latin text is inconsistent
|
|
32
32
|
|
|
33
33
|
why:
|
|
34
|
-
ja: 日本語と英字・数字のあいだを空けるか詰めるかは、どちらでも読めます。困るのは一つの文書の中で混ざることで、読み手には違いに意味があるように見えます。chaff はどちらが正しいかを決めず、文書の中で少ないほうを指摘します。英字と、数字の前、数字の後ろは別々に数えます。「を 3回」のように、数字の前は空けて助数詞とは詰める書き方がふつうにあるからです。「3GBの」のように数字に続く単位は、英字ではなく数字の側として数えます。逆に「H30 等」「EC2 で」「Phase 1 は」のように英字で始まって数字で終わる名前は、英字の側として数えます。「073-489-5909」「2026-06-02」のような番号や、「1.0.0」のような版番号は数量ではないので数えません。日付・時刻(「9月」「2026年」「令和8年」「10月1日」「3時」「10時5分」)も、数と単位を詰めて書く決まりなので、その中の境目も、前の境目(「は 9月」「午後3時」)も数えません。コロンで書いた時刻(「13:30」「後の17:15から」)も同じです。メールアドレスや URL(「privacy@example.com で」)の前後の空白は、アドレスの終わりを示す区切りなので数えません。予約番号や型番のような番号(「予約番号 MN-48215 を」「型番 SB-210 と」)の前後の空白も、番号を文から区切るものなので数えません。長さ(「3ヶ月」「3 時間」「5日で」「3年」)は数量として数えます。題や注の番号として書かれた数(「3.1 リサーチの原則」の節番号、※1 の注番号、行の頭に続き番号で並べた注の番号、番号が増えていく箇条書きの頭の番号、「問3」「図2」のように語のすぐ後ろに書いた番号)、0 で始まる組を含む番号(102-0094)、〒の後ろの郵便番号(〒100-8916)、市・区・町まで下りた地名のすぐ後ろの番地(千代田区紀尾井町1-3)も、後ろの空白が番号と題・項目の区切りなので数えません。建物の名前の後ろに空白で区切って書いた階や部屋の番号(「本社 5階 第2会議室」「研究所 3階 セミナー室」)の前の空白も、所在の組の区切りなので数えません。名前だけを空白で並べた行(「株式会社あおば電子 経営企画部 IR担当」「東京本社 PR室」)で、空白の両側が部署・拠点・役目や会社の名前のときの空白も、名前と名前の区切りなので数えません。「第1節 AI の…」の「第1節」の後ろの空白も同じです。桁の区切りの無い 6 桁以上の番号(「口座番号 3056172 を」)、ナンバープレート(「ひばり野 330 ね 48-15」)の前後と中の空白、「所属:経済学部 経済学科 1年」「振込先:みなと銀行 普通 1234567
|
|
35
|
-
en: Whether to put a space between Japanese and Latin letters or digits is a choice either way. What reads badly is mixing both in one document, which suggests the difference means something. chaff does not decide which is right; it points at whichever the document uses less. Letters, the space before a digit and the space after one are counted separately, since spacing before a number but not before its counter is common. A unit after a number (3GB) counts with the number; a name that starts with a letter and ends in a digit (H30, EC2, Phase 1) counts with the letters. A code such as a phone number, a date or a version (073-489-5909, 2026-06-02, 1.0.0) is not a quantity and is not counted. Nor is a date or a time written with units (9月, 2026年, 令和8年, 10月1日, 3時, 10時5分), which is packed by convention; neither its inside nor the space before it (は 9月, 午後3時) counts. The same goes for a clock time written with a colon (13:30). Nor is the space beside an e-mail address or a URL (privacy@example.com で), which marks where the address ends, or beside a booking or model number (予約番号 MN-48215 を, 型番 SB-210 と), which sets the number off from the sentence. A length of time (3ヶ月, 3 時間, 5日で, 3年) is a quantity and counts. Neither is a number written as the label of a title or a note (a section number such as 3.1 before its title, a note number after ※, the numbers of notes listed one per line in sequence, numbers opening the items of a list that go up, a number written right after a word such as 問 or 図), a code with a part starting with 0 (102-0094), a postal code after 〒 (〒100-8916), or a hyphenated address number right after a city, ward or town (千代田区紀尾井町1-3), since the space after it separates the label from its title or the next item. Nor is the space before a floor or room number written after the name of a building (本社 5階 第2会議室), which separates the parts of a location. Nor is the space between names on a line of names alone (株式会社あおば電子 経営企画部 IR担当, 東京本社 PR室), when both sides are names of a department, an office, a role or a company, since it separates one name from the next. The same goes for the space after a division such as 第1節. Nor is the space beside a code of six digits or more written without separators (口座番号 3056172 を), around and inside a number plate (ひばり野 330 ね 48-15), or between the parts of a value after a label and a colon (所属:経済学部 経済学科 1年, 振込先:みなと銀行 普通 1234567), which separates the parts of the value. Nor is the spacing inside a title or a quotation in 「」 or 『』, or inside the text of a link, which is the source's, not the writer's. When both ways are used equally often there is no minority, so no place is singled out, and a one-to-one tie is not reported.
|
|
34
|
+
ja: 日本語と英字・数字のあいだを空けるか詰めるかは、どちらでも読めます。困るのは一つの文書の中で混ざることで、読み手には違いに意味があるように見えます。chaff はどちらが正しいかを決めず、文書の中で少ないほうを指摘します。英字と、数字の前、数字の後ろは別々に数えます。「を 3回」のように、数字の前は空けて助数詞とは詰める書き方がふつうにあるからです。「3GBの」のように数字に続く単位は、英字ではなく数字の側として数えます。逆に「H30 等」「EC2 で」「Phase 1 は」のように英字で始まって数字で終わる名前は、英字の側として数えます。「073-489-5909」「2026-06-02」のような番号や、「1.0.0」のような版番号は数量ではないので数えません。日付・時刻(「9月」「2026年」「令和8年」「10月1日」「3時」「10時5分」)も、数と単位を詰めて書く決まりなので、その中の境目も、前の境目(「は 9月」「午後3時」)も数えません。コロンで書いた時刻(「13:30」「後の17:15から」)も同じです。メールアドレスや URL(「privacy@example.com で」)の前後の空白は、アドレスの終わりを示す区切りなので数えません。予約番号や型番のような番号(「予約番号 MN-48215 を」「型番 SB-210 と」)の前後の空白も、番号を文から区切るものなので数えません。長さ(「3ヶ月」「3 時間」「5日で」「3年」)は数量として数えます。題や注の番号として書かれた数(「3.1 リサーチの原則」の節番号、※1 の注番号、行の頭に続き番号で並べた注の番号、番号が増えていく箇条書きの頭の番号、「問3」「図2」のように語のすぐ後ろに書いた番号)、0 で始まる組を含む番号(102-0094)、〒の後ろの郵便番号(〒100-8916)、市・区・町まで下りた地名のすぐ後ろの番地(千代田区紀尾井町1-3)も、後ろの空白が番号と題・項目の区切りなので数えません。建物の名前の後ろに空白で区切って書いた階や部屋の番号(「本社 5階 第2会議室」「研究所 3階 セミナー室」)の前の空白も、所在の組の区切りなので数えません。名前だけを空白で並べた行(「株式会社あおば電子 経営企画部 IR担当」「東京本社 PR室」)で、空白の両側が部署・拠点・役目や会社の名前のときの空白も、名前と名前の区切りなので数えません。「第1節 AI の…」の「第1節」の後ろの空白も同じです。桁の区切りの無い 6 桁以上の番号(「口座番号 3056172 を」)、ナンバープレート(「ひばり野 330 ね 48-15」)の前後と中の空白、「所属:経済学部 経済学科 1年」「振込先:みなと銀行 普通 1234567」のように項目名とコロンの後ろに値の組を並べた行で、組と組のあいだの空白も、値の区切りなので数えません。「最高速度 40km/h」「(内線 3839)」「- 定員 30名」のように、短い項目名と値を空白一つで並べただけの組の、名と値のあいだの空白も同じです(「定員 30名で行います」のように文の中にあれば数えます)。鉤括弧(「」『』)で引いた題名や発言の中も、リンクの文字の中も、空け方は引いた元のものなので数えません。空けた所と詰めた所が同じ数なら、少ないほうが無いので 1 箇所ずつは指さず、1 対 1 なら何も言いません。
|
|
35
|
+
en: Whether to put a space between Japanese and Latin letters or digits is a choice either way. What reads badly is mixing both in one document, which suggests the difference means something. chaff does not decide which is right; it points at whichever the document uses less. Letters, the space before a digit and the space after one are counted separately, since spacing before a number but not before its counter is common. A unit after a number (3GB) counts with the number; a name that starts with a letter and ends in a digit (H30, EC2, Phase 1) counts with the letters. A code such as a phone number, a date or a version (073-489-5909, 2026-06-02, 1.0.0) is not a quantity and is not counted. Nor is a date or a time written with units (9月, 2026年, 令和8年, 10月1日, 3時, 10時5分), which is packed by convention; neither its inside nor the space before it (は 9月, 午後3時) counts. The same goes for a clock time written with a colon (13:30). Nor is the space beside an e-mail address or a URL (privacy@example.com で), which marks where the address ends, or beside a booking or model number (予約番号 MN-48215 を, 型番 SB-210 と), which sets the number off from the sentence. A length of time (3ヶ月, 3 時間, 5日で, 3年) is a quantity and counts. Neither is a number written as the label of a title or a note (a section number such as 3.1 before its title, a note number after ※, the numbers of notes listed one per line in sequence, numbers opening the items of a list that go up, a number written right after a word such as 問 or 図), a code with a part starting with 0 (102-0094), a postal code after 〒 (〒100-8916), or a hyphenated address number right after a city, ward or town (千代田区紀尾井町1-3), since the space after it separates the label from its title or the next item. Nor is the space before a floor or room number written after the name of a building (本社 5階 第2会議室), which separates the parts of a location. Nor is the space between names on a line of names alone (株式会社あおば電子 経営企画部 IR担当, 東京本社 PR室), when both sides are names of a department, an office, a role or a company, since it separates one name from the next. The same goes for the space after a division such as 第1節. Nor is the space beside a code of six digits or more written without separators (口座番号 3056172 を), around and inside a number plate (ひばり野 330 ね 48-15), or between the parts of a value after a label and a colon (所属:経済学部 経済学科 1年, 振込先:みなと銀行 普通 1234567), which separates the parts of the value. The same goes for the space between a short label and its value written as a pair on their own (最高速度 40km/h, (内線 3839), - 定員 30名); in a sentence (定員 30名で行います) it counts. Nor is the spacing inside a title or a quotation in 「」 or 『』, or inside the text of a link, which is the source's, not the writer's. When both ways are used equally often there is no minority, so no place is singled out, and a one-to-one tie is not reported.
|
|
36
36
|
|
|
37
37
|
message:
|
|
38
38
|
ja: "日本語と{kind}のあいだを{style}(この文書はふつう{usual}。{of} 箇所のうち {count} 箇所が違う)"
|
|
@@ -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化)の前、見出しの番号、行の頭の項目の番号(「一 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化), 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,7 +6,11 @@ how_to_find: kanji-run
|
|
|
6
6
|
uses: [pos]
|
|
7
7
|
# chaff.yaml の names に並べた名前は連なりを切る。鉤括弧の中身がまるごと 1 つの連なりなら数えない(書き手が 1 つの名前と示している)。
|
|
8
8
|
# 住所の先頭にしか来ない単位(都道府県)。地名の後ろに付けば、割られた町名ではなく地名の並び。
|
|
9
|
-
|
|
9
|
+
# 組織の名前(organisation-form で始まるか地名・固有名詞で始まり organisation-unit で閉じる、organisation-unit で閉じる区切りが続く、
|
|
10
|
+
# または固有名詞か地名を含み、名前の後ろに立つ法人格で閉じる)は数えない。
|
|
11
|
+
# 題の名前(title-ending で閉じ、括弧を閉じるか補いの括弧が続くか一行だけか見出しにあるもの: 〜実施要綱、〜選考試験)は数えない。
|
|
12
|
+
# 日付の単位(4月の「月」)は、数に付いた助数詞として連なりの頭から外す。
|
|
13
|
+
extra_word_lists: [prefecture-unit, organisation-form, organisation-unit, title-ending, calendar-unit]
|
|
10
14
|
languages: [ja]
|
|
11
15
|
severity: info
|
|
12
16
|
|
|
@@ -49,8 +53,8 @@ example:
|
|
|
49
53
|
after: 来週、新しい顧客を増やす施策を話し合う会議を開きます。
|
|
50
54
|
|
|
51
55
|
not_flagged:
|
|
52
|
-
ja: chaff.yaml の names に書いた組織名や製品名、法令の条番号(第二十二条第二項)は数えません。
|
|
53
|
-
en:
|
|
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.
|
|
54
58
|
level_meaning:
|
|
55
59
|
ja: 漢字の連続 {limit} 字まで
|
|
56
60
|
en: up to {limit} kanji in a row
|
|
@@ -2,6 +2,7 @@ id: max-sentence-length
|
|
|
2
2
|
layer: L1
|
|
3
3
|
status: stable
|
|
4
4
|
how_to_find: sentence-length
|
|
5
|
+
word_list: page-marker
|
|
5
6
|
severity: info
|
|
6
7
|
|
|
7
8
|
name:
|
|
@@ -100,8 +101,8 @@ example:
|
|
|
100
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.
|
|
101
102
|
|
|
102
103
|
not_flagged:
|
|
103
|
-
ja:
|
|
104
|
-
en: Headings, table cells and code are not counted. Genres where long sentences are normal (statutes, papers) raise the limit.
|
|
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.
|
|
105
106
|
level_meaning:
|
|
106
107
|
ja: 一文 {limit} 字まで
|
|
107
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:
|