chaffjs 0.48.0 → 0.50.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 +1 -0
- package/README.md +1 -0
- package/dist/announced-count.d.ts.map +1 -1
- package/dist/announced-count.js +18 -1
- package/dist/announced-count.js.map +1 -1
- package/dist/announced-list.d.ts.map +1 -1
- package/dist/announced-list.js +6 -1
- package/dist/announced-list.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +4 -2
- package/dist/cli.js.map +1 -1
- package/dist/composite-signals.d.ts +3 -1
- package/dist/composite-signals.d.ts.map +1 -1
- package/dist/composite-signals.js +7 -0
- package/dist/composite-signals.js.map +1 -1
- package/dist/detectors/acronym-name.d.ts +2 -2
- package/dist/detectors/acronym-name.d.ts.map +1 -1
- package/dist/detectors/acronym-name.js +3 -3
- package/dist/detectors/acronym-name.js.map +1 -1
- package/dist/detectors/agentless-passive.d.ts.map +1 -1
- package/dist/detectors/agentless-passive.js +39 -4
- package/dist/detectors/agentless-passive.js.map +1 -1
- package/dist/detectors/agreement-slip.d.ts +2 -0
- package/dist/detectors/agreement-slip.d.ts.map +1 -1
- package/dist/detectors/agreement-slip.js +10 -3
- package/dist/detectors/agreement-slip.js.map +1 -1
- package/dist/detectors/amount-scale.js +2 -2
- package/dist/detectors/amount-scale.js.map +1 -1
- package/dist/detectors/char-shape.d.ts.map +1 -1
- package/dist/detectors/char-shape.js +11 -4
- package/dist/detectors/char-shape.js.map +1 -1
- package/dist/detectors/chat-citation.d.ts +2 -6
- package/dist/detectors/chat-citation.d.ts.map +1 -1
- package/dist/detectors/chat-citation.js +4 -2
- package/dist/detectors/chat-citation.js.map +1 -1
- package/dist/detectors/chat-mark-extent.d.ts +11 -0
- package/dist/detectors/chat-mark-extent.d.ts.map +1 -0
- package/dist/detectors/chat-mark-extent.js +53 -0
- package/dist/detectors/chat-mark-extent.js.map +1 -0
- package/dist/detectors/concrete-evidence-density.js +2 -2
- package/dist/detectors/concrete-evidence.d.ts +7 -0
- package/dist/detectors/concrete-evidence.d.ts.map +1 -1
- package/dist/detectors/concrete-evidence.js +20 -0
- package/dist/detectors/concrete-evidence.js.map +1 -1
- package/dist/detectors/conjugated-entry.d.ts +2 -2
- package/dist/detectors/conjugated-entry.d.ts.map +1 -1
- package/dist/detectors/conjugated-entry.js +3 -5
- package/dist/detectors/conjugated-entry.js.map +1 -1
- package/dist/detectors/contrast-frame.d.ts.map +1 -1
- package/dist/detectors/contrast-frame.js +34 -1
- package/dist/detectors/contrast-frame.js.map +1 -1
- package/dist/detectors/currency-notation.js +2 -2
- package/dist/detectors/currency-notation.js.map +1 -1
- package/dist/detectors/defined-term-form.d.ts.map +1 -1
- package/dist/detectors/defined-term-form.js +15 -3
- 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 +5 -1
- package/dist/detectors/definition-use.js.map +1 -1
- package/dist/detectors/ellipsis.js +2 -2
- package/dist/detectors/ellipsis.js.map +1 -1
- package/dist/detectors/email-letter.d.ts +2 -0
- package/dist/detectors/email-letter.d.ts.map +1 -1
- package/dist/detectors/email-letter.js +1 -1
- package/dist/detectors/email-letter.js.map +1 -1
- package/dist/detectors/en-shape.d.ts +1 -0
- package/dist/detectors/en-shape.d.ts.map +1 -1
- package/dist/detectors/en-shape.js +41 -9
- package/dist/detectors/en-shape.js.map +1 -1
- package/dist/detectors/gram-furniture.d.ts +1 -0
- package/dist/detectors/gram-furniture.d.ts.map +1 -1
- package/dist/detectors/gram-furniture.js +6 -0
- package/dist/detectors/gram-furniture.js.map +1 -1
- package/dist/detectors/gram-repetition.d.ts.map +1 -1
- package/dist/detectors/gram-repetition.js +8 -2
- package/dist/detectors/gram-repetition.js.map +1 -1
- package/dist/detectors/heading-case.d.ts +1 -0
- package/dist/detectors/heading-case.d.ts.map +1 -1
- package/dist/detectors/heading-case.js +10 -3
- package/dist/detectors/heading-case.js.map +1 -1
- package/dist/detectors/kanji-name-edge.d.ts +10 -0
- package/dist/detectors/kanji-name-edge.d.ts.map +1 -1
- package/dist/detectors/kanji-name-edge.js +23 -0
- package/dist/detectors/kanji-name-edge.js.map +1 -1
- package/dist/detectors/kutoten-consistency.d.ts.map +1 -1
- package/dist/detectors/kutoten-consistency.js +27 -6
- package/dist/detectors/kutoten-consistency.js.map +1 -1
- package/dist/detectors/lexicon-match.d.ts +2 -0
- package/dist/detectors/lexicon-match.d.ts.map +1 -1
- package/dist/detectors/lexicon-match.js +14 -3
- package/dist/detectors/lexicon-match.js.map +1 -1
- package/dist/detectors/lexicon.d.ts.map +1 -1
- package/dist/detectors/lexicon.js +8 -1
- package/dist/detectors/lexicon.js.map +1 -1
- package/dist/detectors/list-item-clause.d.ts +4 -0
- package/dist/detectors/list-item-clause.d.ts.map +1 -0
- package/dist/detectors/list-item-clause.js +8 -0
- package/dist/detectors/list-item-clause.js.map +1 -0
- package/dist/detectors/list-parallel.d.ts.map +1 -1
- package/dist/detectors/list-parallel.js +6 -2
- package/dist/detectors/list-parallel.js.map +1 -1
- package/dist/detectors/list-sentence.d.ts +2 -0
- package/dist/detectors/list-sentence.d.ts.map +1 -1
- package/dist/detectors/list-sentence.js.map +1 -1
- package/dist/detectors/mark-shape.d.ts.map +1 -1
- package/dist/detectors/mark-shape.js +28 -8
- package/dist/detectors/mark-shape.js.map +1 -1
- package/dist/detectors/missing-final-period.d.ts.map +1 -1
- package/dist/detectors/missing-final-period.js +10 -1
- package/dist/detectors/missing-final-period.js.map +1 -1
- package/dist/detectors/name-variant-two-things.d.ts +1 -1
- package/dist/detectors/name-variant-two-things.d.ts.map +1 -1
- package/dist/detectors/name-variant-two-things.js +16 -4
- package/dist/detectors/name-variant-two-things.js.map +1 -1
- package/dist/detectors/nominalization.d.ts.map +1 -1
- package/dist/detectors/nominalization.js +11 -4
- package/dist/detectors/nominalization.js.map +1 -1
- package/dist/detectors/ordinal-suffix.js +2 -2
- package/dist/detectors/ordinal-suffix.js.map +1 -1
- package/dist/detectors/orthographic-variant.d.ts.map +1 -1
- package/dist/detectors/orthographic-variant.js +30 -6
- package/dist/detectors/orthographic-variant.js.map +1 -1
- package/dist/detectors/orthography.d.ts.map +1 -1
- package/dist/detectors/orthography.js +13 -7
- package/dist/detectors/orthography.js.map +1 -1
- package/dist/detectors/oxford-comma.d.ts.map +1 -1
- package/dist/detectors/oxford-comma.js +15 -1
- package/dist/detectors/oxford-comma.js.map +1 -1
- package/dist/detectors/paragraph-run.js +2 -2
- package/dist/detectors/paragraph-run.js.map +1 -1
- package/dist/detectors/phone-number-variant.d.ts.map +1 -1
- package/dist/detectors/phone-number-variant.js +2 -1
- package/dist/detectors/phone-number-variant.js.map +1 -1
- package/dist/detectors/phrase-context.d.ts +6 -0
- package/dist/detectors/phrase-context.d.ts.map +1 -0
- package/dist/detectors/phrase-context.js +12 -0
- package/dist/detectors/phrase-context.js.map +1 -0
- package/dist/detectors/phrase-match-all.d.ts +3 -0
- package/dist/detectors/phrase-match-all.d.ts.map +1 -0
- package/dist/detectors/phrase-match-all.js +47 -0
- package/dist/detectors/phrase-match-all.js.map +1 -0
- package/dist/detectors/phrase-match.d.ts +2 -1
- package/dist/detectors/phrase-match.d.ts.map +1 -1
- package/dist/detectors/phrase-match.js +25 -6
- 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 +14 -2
- package/dist/detectors/placeholder-text.js.map +1 -1
- package/dist/detectors/proper-noun-density.d.ts.map +1 -1
- package/dist/detectors/proper-noun-density.js +10 -6
- package/dist/detectors/proper-noun-density.js.map +1 -1
- package/dist/detectors/quote-around.d.ts +3 -0
- package/dist/detectors/quote-around.d.ts.map +1 -1
- package/dist/detectors/quote-around.js +2 -0
- package/dist/detectors/quote-around.js.map +1 -1
- package/dist/detectors/range-notation.js +2 -2
- package/dist/detectors/range-notation.js.map +1 -1
- package/dist/detectors/reference-entry.d.ts.map +1 -1
- package/dist/detectors/reference-entry.js +35 -5
- package/dist/detectors/reference-entry.js.map +1 -1
- package/dist/detectors/register-set-apart.d.ts +1 -1
- package/dist/detectors/register-set-apart.js +4 -4
- package/dist/detectors/register-set-apart.js.map +1 -1
- package/dist/detectors/register-voice.d.ts +5 -0
- package/dist/detectors/register-voice.d.ts.map +1 -1
- package/dist/detectors/register-voice.js +17 -0
- package/dist/detectors/register-voice.js.map +1 -1
- package/dist/detectors/registry/phrase-match-all.d.ts +3 -0
- package/dist/detectors/registry/phrase-match-all.d.ts.map +1 -0
- package/dist/detectors/registry/phrase-match-all.js +3 -0
- package/dist/detectors/registry/phrase-match-all.js.map +1 -0
- package/dist/detectors/requirement-lists.d.ts.map +1 -1
- package/dist/detectors/requirement-lists.js +2 -0
- package/dist/detectors/requirement-lists.js.map +1 -1
- package/dist/detectors/sentence-counts.d.ts.map +1 -1
- package/dist/detectors/sentence-counts.js +7 -4
- package/dist/detectors/sentence-counts.js.map +1 -1
- package/dist/detectors/sentence-ending.d.ts +2 -2
- package/dist/detectors/sentence-ending.d.ts.map +1 -1
- package/dist/detectors/sentence-ending.js +3 -1
- 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 +12 -4
- package/dist/detectors/sentence-length.js.map +1 -1
- package/dist/detectors/sentence-parts.d.ts +6 -3
- package/dist/detectors/sentence-parts.d.ts.map +1 -1
- package/dist/detectors/sentence-parts.js +15 -7
- package/dist/detectors/sentence-parts.js.map +1 -1
- package/dist/detectors/signals.d.ts.map +1 -1
- package/dist/detectors/signals.js +6 -1
- package/dist/detectors/signals.js.map +1 -1
- package/dist/detectors/speaker-turns.d.ts +4 -0
- package/dist/detectors/speaker-turns.d.ts.map +1 -0
- package/dist/detectors/speaker-turns.js +28 -0
- package/dist/detectors/speaker-turns.js.map +1 -0
- package/dist/detectors/team.d.ts.map +1 -1
- package/dist/detectors/team.js +42 -9
- package/dist/detectors/team.js.map +1 -1
- package/dist/detectors/unit-spacing.js +2 -2
- package/dist/detectors/unit-spacing.js.map +1 -1
- package/dist/detectors/vague-deadline.d.ts.map +1 -1
- package/dist/detectors/vague-deadline.js +2 -1
- package/dist/detectors/vague-deadline.js.map +1 -1
- package/dist/levels.d.ts +14 -0
- package/dist/levels.d.ts.map +1 -1
- package/dist/levels.js +8 -3
- package/dist/levels.js.map +1 -1
- package/dist/name-variant-shapes.d.ts +10 -0
- package/dist/name-variant-shapes.d.ts.map +1 -1
- package/dist/name-variant-shapes.js +24 -0
- package/dist/name-variant-shapes.js.map +1 -1
- package/dist/phone-numbers.d.ts +5 -2
- package/dist/phone-numbers.d.ts.map +1 -1
- package/dist/phone-numbers.js +17 -3
- package/dist/phone-numbers.js.map +1 -1
- package/dist/plugin.d.ts +2 -0
- package/dist/plugin.d.ts.map +1 -1
- package/dist/render/explain.d.ts +2 -0
- package/dist/render/explain.d.ts.map +1 -1
- package/dist/render/explain.js +38 -14
- package/dist/render/explain.js.map +1 -1
- package/dist/render/options.d.ts.map +1 -1
- package/dist/render/options.js +11 -6
- package/dist/render/options.js.map +1 -1
- package/dist/render/text.d.ts.map +1 -1
- package/dist/render/text.js +14 -4
- package/dist/render/text.js.map +1 -1
- package/dist/run.d.ts +3 -0
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +20 -13
- package/dist/run.js.map +1 -1
- package/dist/set-phrase-particles.js +2 -2
- package/dist/set-phrase-particles.js.map +1 -1
- package/dist/structure/deadline-after-event.d.ts +1 -1
- package/dist/structure/deadline-after-event.d.ts.map +1 -1
- package/dist/structure/deadline-after-event.js +36 -9
- package/dist/structure/deadline-after-event.js.map +1 -1
- package/dist/structure/definition-use.d.ts +10 -1
- package/dist/structure/definition-use.d.ts.map +1 -1
- package/dist/structure/definition-use.js +4 -4
- package/dist/structure/definition-use.js.map +1 -1
- package/dist/structure/leg-times.d.ts.map +1 -1
- package/dist/structure/leg-times.js +10 -2
- package/dist/structure/leg-times.js.map +1 -1
- package/dist/structure/requirement-lists.d.ts +3 -0
- package/dist/structure/requirement-lists.d.ts.map +1 -1
- package/dist/structure/requirement-lists.js +8 -2
- package/dist/structure/requirement-lists.js.map +1 -1
- package/dist/structure/time-marks.d.ts +10 -0
- package/dist/structure/time-marks.d.ts.map +1 -1
- package/dist/structure/time-marks.js +21 -0
- package/dist/structure/time-marks.js.map +1 -1
- package/dist/topic-clause.d.ts.map +1 -1
- package/dist/topic-clause.js +12 -5
- package/dist/topic-clause.js.map +1 -1
- package/package.json +3 -3
- package/rules/abstract-length.yaml +1 -1
- package/rules/adverb-overuse.yaml +1 -1
- package/rules/agentless-passive.yaml +3 -3
- package/rules/agreement-slip.yaml +5 -4
- package/rules/ai-generated-composite.yaml +3 -3
- package/rules/ai-structure.yaml +1 -1
- package/rules/all-caps-shouting.yaml +1 -1
- package/rules/announced-count-mismatch.yaml +2 -2
- package/rules/announcing-opener.yaml +1 -1
- package/rules/arrival-before-departure.yaml +1 -1
- package/rules/article-sound.yaml +1 -1
- package/rules/baito-keigo.yaml +1 -1
- package/rules/bold-density.yaml +1 -1
- package/rules/bold-emphasis.yaml +1 -1
- package/rules/bold-label-list.yaml +1 -1
- package/rules/bracket-width-consistency.yaml +1 -1
- package/rules/chat-citation-residue.yaml +1 -1
- package/rules/citation-style-mix.yaml +1 -1
- package/rules/clause-chain.yaml +1 -1
- package/rules/cliche.yaml +4 -4
- package/rules/closing-cliche.yaml +1 -1
- package/rules/closing-exhortation.yaml +1 -1
- package/rules/cold-open.yaml +1 -1
- package/rules/colloquial-opener.yaml +1 -1
- package/rules/concrete-evidence-density.yaml +3 -3
- package/rules/contraction-consistency.yaml +1 -1
- package/rules/cross-doc-term-variant.yaml +2 -2
- package/rules/cushion-phrase-density.yaml +1 -1
- package/rules/deadline-after-event.yaml +2 -2
- package/rules/demonstrative-opener-run.yaml +1 -1
- package/rules/double-keigo.yaml +1 -1
- package/rules/double-negative.yaml +11 -2
- package/rules/doubled-nado.yaml +1 -1
- package/rules/email-stock-courtesy.yaml +1 -1
- package/rules/email-subject-length.yaml +1 -1
- package/rules/emoji-heading.yaml +1 -1
- package/rules/empty-intensifier.yaml +1 -1
- package/rules/excessive-hedging.yaml +1 -1
- package/rules/exclamation-width-consistency.yaml +1 -1
- package/rules/expletive-construction.yaml +5 -5
- package/rules/figurative-density.yaml +3 -3
- package/rules/hiragana-fukushi.yaml +1 -1
- package/rules/homophone-slip.yaml +3 -3
- package/rules/honesty-marker.yaml +1 -1
- package/rules/humble-for-others.yaml +1 -1
- package/rules/hyphen-as-dash.yaml +1 -1
- package/rules/idiom-misuse.yaml +1 -1
- package/rules/internal-jargon.yaml +1 -1
- package/rules/kana-function-word.yaml +1 -1
- package/rules/katakana-long-vowel.yaml +1 -1
- package/rules/kutoten-consistency.yaml +7 -3
- package/rules/latin-abbreviation-form.yaml +1 -1
- package/rules/latin-spacing.yaml +1 -1
- package/rules/max-kanji-continuous.yaml +5 -3
- package/rules/max-paragraph-length.yaml +1 -1
- package/rules/max-sentence-length.yaml +1 -1
- package/rules/max-ten.yaml +1 -1
- package/rules/misconversion.yaml +2 -2
- package/rules/name-variant.yaml +2 -2
- package/rules/ngram-repetition.yaml +3 -3
- package/rules/no-doubled-joshi.yaml +2 -2
- package/rules/no-em-dash.yaml +3 -3
- package/rules/no-mixed-desumasu.yaml +4 -3
- package/rules/no-nakaguro-parallel.yaml +1 -1
- package/rules/nominalization.yaml +1 -1
- package/rules/nonstandard-word.yaml +2 -2
- package/rules/numbered-generic-heading.yaml +1 -1
- package/rules/numbering-gap.yaml +2 -2
- package/rules/one-sentence-paragraph-run.yaml +1 -1
- package/rules/orthographic-variant.yaml +2 -2
- package/rules/over-general-claim.yaml +1 -1
- package/rules/oxford-comma-consistency.yaml +4 -3
- package/rules/padded-intro.yaml +1 -1
- package/rules/phone-number-variant.yaml +1 -1
- package/rules/preamble-length.yaml +1 -1
- package/rules/preferred-term.yaml +1 -1
- package/rules/proper-noun-density.yaml +1 -1
- package/rules/q-fragment-answer.yaml +1 -1
- package/rules/quote-style-consistency.yaml +1 -1
- package/rules/quote-without-source.yaml +1 -1
- package/rules/redundant-expression.yaml +1 -1
- package/rules/repeated-conjunction.yaml +1 -1
- package/rules/repeated-sentence-ending.yaml +1 -1
- package/rules/repeated-sentence-head.yaml +5 -5
- package/rules/required-listed-as-preferred.yaml +2 -2
- package/rules/required-sections.yaml +1 -1
- package/rules/sasete-itadaku.yaml +1 -1
- package/rules/sentence-initial-conjunction-run.yaml +1 -1
- package/rules/sentence-initial-so.yaml +1 -1
- package/rules/sentence-spacing-consistency.yaml +1 -1
- package/rules/shell-prompt-mix.yaml +1 -1
- package/rules/stock-transition.yaml +1 -1
- package/rules/stray-space.yaml +1 -1
- package/rules/taigen-dome-in-prose.yaml +1 -1
- package/rules/teki-overuse.yaml +1 -1
- package/rules/title-case-consistency.yaml +1 -1
- package/rules/title-length.yaml +1 -1
- package/rules/topic-predicate-distance.yaml +3 -3
- package/rules/translationese-density.yaml +1 -1
- package/rules/uncomparable-graded.yaml +1 -1
- package/rules/undefined-acronym.yaml +3 -3
- package/rules/unfilled-placeholder.yaml +4 -4
- package/rules/unqualified-superlative.yaml +1 -1
- package/rules/use-before-definition.yaml +2 -2
- package/rules/vague-word-density.yaml +3 -3
- package/rules/weasel-word.yaml +1 -1
- package/rules/which-that-consistency.yaml +1 -1
- package/rules/wordy-phrase.yaml +1 -1
- package/skills/chaff/SKILL.md +3 -1
- package/src/announced-count.ts +22 -1
- package/src/announced-list.ts +7 -1
- package/src/cli.ts +4 -2
- package/src/composite-signals.ts +10 -1
- package/src/detectors/acronym-name.ts +6 -3
- package/src/detectors/agentless-passive.ts +49 -5
- package/src/detectors/agreement-slip.ts +11 -3
- package/src/detectors/amount-scale.ts +2 -2
- package/src/detectors/char-shape.ts +18 -3
- package/src/detectors/chat-citation.ts +4 -5
- package/src/detectors/chat-mark-extent.ts +63 -0
- package/src/detectors/concrete-evidence-density.ts +2 -2
- package/src/detectors/concrete-evidence.ts +27 -0
- package/src/detectors/conjugated-entry.ts +3 -5
- package/src/detectors/contrast-frame.ts +37 -2
- package/src/detectors/currency-notation.ts +2 -2
- package/src/detectors/defined-term-form.ts +15 -4
- package/src/detectors/definition-use.ts +5 -8
- package/src/detectors/ellipsis.ts +2 -2
- package/src/detectors/email-letter.ts +1 -1
- package/src/detectors/en-shape.ts +50 -9
- package/src/detectors/gram-furniture.ts +8 -0
- package/src/detectors/gram-repetition.ts +8 -1
- package/src/detectors/heading-case.ts +11 -3
- package/src/detectors/kanji-name-edge.ts +27 -0
- package/src/detectors/kutoten-consistency.ts +37 -6
- package/src/detectors/lexicon-match.ts +17 -3
- package/src/detectors/lexicon.ts +10 -4
- package/src/detectors/list-item-clause.ts +9 -0
- package/src/detectors/list-parallel.ts +5 -2
- package/src/detectors/list-sentence.ts +2 -0
- package/src/detectors/mark-shape.ts +36 -8
- package/src/detectors/missing-final-period.ts +11 -1
- package/src/detectors/name-variant-two-things.ts +28 -3
- package/src/detectors/nominalization.ts +14 -4
- package/src/detectors/ordinal-suffix.ts +2 -2
- package/src/detectors/orthographic-variant.ts +44 -8
- package/src/detectors/orthography.ts +19 -9
- package/src/detectors/oxford-comma.ts +15 -1
- package/src/detectors/paragraph-run.ts +2 -2
- package/src/detectors/phone-number-variant.ts +2 -1
- package/src/detectors/phrase-context.ts +19 -0
- package/src/detectors/phrase-match-all.ts +57 -0
- package/src/detectors/phrase-match.ts +31 -6
- package/src/detectors/placeholder-text.ts +19 -3
- package/src/detectors/proper-noun-density.ts +14 -6
- package/src/detectors/quote-around.ts +6 -0
- package/src/detectors/range-notation.ts +2 -2
- package/src/detectors/reference-entry.ts +36 -6
- package/src/detectors/register-set-apart.ts +4 -4
- package/src/detectors/register-voice.ts +19 -0
- package/src/detectors/registry/phrase-match-all.ts +4 -0
- package/src/detectors/requirement-lists.ts +2 -0
- package/src/detectors/sentence-counts.ts +9 -5
- package/src/detectors/sentence-ending.ts +8 -4
- package/src/detectors/sentence-length.ts +18 -6
- package/src/detectors/sentence-parts.ts +21 -9
- package/src/detectors/signals.ts +10 -1
- package/src/detectors/speaker-turns.ts +37 -0
- package/src/detectors/team.ts +50 -12
- package/src/detectors/unit-spacing.ts +2 -2
- package/src/detectors/vague-deadline.ts +2 -1
- package/src/levels.ts +9 -3
- package/src/name-variant-shapes.ts +29 -0
- package/src/phone-numbers.ts +19 -3
- package/src/plugin.ts +2 -0
- package/src/render/explain.ts +46 -16
- package/src/render/options.ts +12 -6
- package/src/render/text.ts +20 -7
- package/src/run.ts +32 -8
- package/src/set-phrase-particles.ts +2 -2
- package/src/structure/deadline-after-event.ts +49 -10
- package/src/structure/definition-use.ts +15 -5
- package/src/structure/leg-times.ts +16 -1
- package/src/structure/requirement-lists.ts +14 -2
- package/src/structure/time-marks.ts +25 -0
- package/src/topic-clause.ts +17 -5
- package/dist/honorific-group.d.ts +0 -8
- package/dist/honorific-group.d.ts.map +0 -1
- package/dist/honorific-group.js +0 -15
- package/dist/honorific-group.js.map +0 -1
|
@@ -68,5 +68,5 @@ example:
|
|
|
68
68
|
Please register by Friday, November 13, 2026.
|
|
69
69
|
|
|
70
70
|
not_flagged:
|
|
71
|
-
ja:
|
|
72
|
-
en: A Date line without a time of day, a date
|
|
71
|
+
ja: 時刻の無い「日時」の行、片方にだけ年のある日付、日付が二つある文は比べません。催しの日と締め切りの両方に年が無ければ同じ年と読みますが、比べるのは催しの日が一つで、締め切りがその一月のうちに後のときだけです(年をまたぐ催しを読み違えないため)。催しの日の行が複数あれば、いちばん後の催しの日と比べます。申込の語(申込、出欠、予約)と締め切りの語(まで、締切、期限)の両方がある文だけを読むので、アンケートの回答期限や資料の公開日は比べず、申込の語があってもアンケート、支払、資料などの語が同じ文にあれば比べません。支払の期限は、題名にチケットの語(チケット、入場券)があり請求の語の無いチケットの注文でだけ締め切りと読みます。請求書の支払は催しの後でよいからです。旅行の代金の期限は、題名に旅行の語(修学旅行、林間学校)があり請求の語の無い知らせでだけ読み、出発の日と比べます。請求の「期間」や納品の日とは比べません。法令・規約、手引き、論文、文学、スピーチのジャンルでは止めています。
|
|
72
|
+
en: A Date line without a time of day, a date whose year is written on only one side, and a sentence with two dates are not compared. When neither the event nor the deadline has a year, they are read as the same year, but only a single event date and a deadline within a month after it are compared, so an event in the new year is not misread. With several event-date lines, the latest event is used. Only a sentence with both a registration word (register, RSVP, booking) and a deadline word (by, deadline, closes) is read, so a survey deadline or the date the slides go up is not compared, and a sentence that also names a survey, a payment or the slides is left alone. A payment deadline is read only in a ticket order, whose title names a ticket and which never mentions an invoice, since an invoice is paid after the event. A trip's payment deadline is read only in a notice whose title names a trip (trip, camp) and which never mentions an invoice, and is compared with the departure; a billing period or a delivery date is never the event. It is off in the legal, docs, academic, literature and speech genres.
|
|
@@ -50,7 +50,7 @@ not_flagged:
|
|
|
50
50
|
en: The count restarts at each paragraph. Words such as それぞれ, the conjunction そして, and phrases that change the subject (それはとにかく, それはさておき) are not counted. In English, an opening that names the document itself ("This Agreement", "This section") and an "it" that stands for what follows ("It is worth", "It seems", "It was not until") are not counted. Sentences that open with "It" one after another keep pointing at what the first did, so the chain counts once.
|
|
51
51
|
level_meaning:
|
|
52
52
|
ja: 指示語で始まる文 {limit} 文の連続まで
|
|
53
|
-
en: up to {limit} such sentences in a row
|
|
53
|
+
en: up to {limit} {limit|such sentence|such sentences} in a row
|
|
54
54
|
rewrite:
|
|
55
55
|
depth: light
|
|
56
56
|
ja:
|
package/rules/double-keigo.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
id: double-negative
|
|
2
2
|
layer: L2
|
|
3
3
|
status: stable
|
|
4
|
-
how_to_find: phrase-match
|
|
4
|
+
how_to_find: phrase-match-all
|
|
5
5
|
word_list: double-negative
|
|
6
6
|
uses: [pos]
|
|
7
7
|
severity: info
|
|
@@ -18,6 +18,15 @@ message:
|
|
|
18
18
|
ja: 「{matched}」は二重否定です
|
|
19
19
|
en: '"{matched}" is a double negative'
|
|
20
20
|
|
|
21
|
+
# 一つの文に違う二重否定が二つ以上あれば、指摘は一つのまま、みな名指す。
|
|
22
|
+
messages:
|
|
23
|
+
both:
|
|
24
|
+
ja: 「{matched}」と「{other}」は二重否定です
|
|
25
|
+
en: '"{matched}" and "{other}" are double negatives'
|
|
26
|
+
many:
|
|
27
|
+
ja: この文に二重否定が {kinds} つあります(「{matched}」「{other}」ほか)
|
|
28
|
+
en: 'This sentence holds {kinds} double negatives ("{matched}", "{other}" and more)'
|
|
29
|
+
|
|
21
30
|
how_to_fix:
|
|
22
31
|
ja: 肯定で言い切るか(「行くこともある」)、どの程度なのかを書いてください(「月に一度は行く」)。
|
|
23
32
|
en: Say it positively ("common", "similar to"), or say how far it holds ("in about a third of cases").
|
|
@@ -52,4 +61,4 @@ not_flagged:
|
|
|
52
61
|
en: Fixed forms such as "not without" are not reported. The legal, literature and speech presets turn it off, since the hedged form is part of how those are written.
|
|
53
62
|
level_meaning:
|
|
54
63
|
ja: 二重否定を含む文が {limit} 文あれば指摘
|
|
55
|
-
en: reported once {limit} sentences hold one
|
|
64
|
+
en: reported once {limit} {limit|sentence holds|sentences hold} one
|
package/rules/doubled-nado.yaml
CHANGED
|
@@ -47,7 +47,7 @@ not_flagged:
|
|
|
47
47
|
en: Only the pairs on chaff's list. などなど, a spoken intensifier, is not counted. "Such as A, B, etc.", where words come between the two, cannot be matched as one phrase and is not checked.
|
|
48
48
|
level_meaning:
|
|
49
49
|
ja: 重ねた所が {limit} 箇所あれば指摘
|
|
50
|
-
en: reported once there are {limit}
|
|
50
|
+
en: reported once there {limit|is|are} {limit}
|
|
51
51
|
rewrite:
|
|
52
52
|
depth: light
|
|
53
53
|
ja:
|
|
@@ -59,4 +59,4 @@ not_flagged:
|
|
|
59
59
|
en: A single courtesy, documents other than emails (a handbook's "feel free to"), and Japanese documents are not reported. "Reach out" and "if you have any questions" are not counted; human reports and job notices use them as much.
|
|
60
60
|
level_meaning:
|
|
61
61
|
ja: 定型の気づかいが {limit} 文にあれば指摘
|
|
62
|
-
en: reported once {limit} sentences hold a stock courtesy
|
|
62
|
+
en: reported once {limit} {limit|sentence holds|sentences hold} a stock courtesy
|
|
@@ -81,7 +81,7 @@ not_flagged:
|
|
|
81
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. A line that ends inside a quotation it opens (Revised “Getting It Right!”) ends a quoted title, not a sentence. An order or ticket number in brackets at the end ((Order #58213)) is a code the recipient searches for, so it is not counted. Only the email and letter genre runs this rule.'
|
|
82
82
|
level_meaning:
|
|
83
83
|
ja: 件名 {limit} 字まで
|
|
84
|
-
en: up to {limit} characters in the subject
|
|
84
|
+
en: up to {limit} {limit|character|characters} in the subject
|
|
85
85
|
rewrite:
|
|
86
86
|
depth: light
|
|
87
87
|
ja:
|
package/rules/emoji-heading.yaml
CHANGED
|
@@ -103,7 +103,7 @@ not_flagged:
|
|
|
103
103
|
en: Fewer headings than the level needs are not reported, nor symbols not drawn as emoji (→, ™). Documentation, legal, academic and literary genres do not run this rule.
|
|
104
104
|
level_meaning:
|
|
105
105
|
ja: 絵文字の付いた見出しが {limit} 個あれば指摘
|
|
106
|
-
en: reported once {limit} headings carry an emoji
|
|
106
|
+
en: reported once {limit} {limit|heading carries|headings carry} an emoji
|
|
107
107
|
rewrite:
|
|
108
108
|
depth: light
|
|
109
109
|
ja:
|
|
@@ -49,7 +49,7 @@ not_flagged:
|
|
|
49
49
|
en: Only the phrases on chaff's list are checked; whether a reason follows is not read. A Japanese statement of necessity (不可欠です, 欠かせません) that names its purpose in the same sentence (〜のためには) states a condition and is not reported. A 〜には followed by a comma (心の回復には、…が不可欠です) names the purpose too.
|
|
50
50
|
level_meaning:
|
|
51
51
|
ja: 当てはまる言い回しが {limit} 箇所あれば指摘
|
|
52
|
-
en: reported once there are {limit}
|
|
52
|
+
en: reported once there {limit|is|are} {limit}
|
|
53
53
|
rewrite:
|
|
54
54
|
depth: light
|
|
55
55
|
ja:
|
|
@@ -60,7 +60,7 @@ not_flagged:
|
|
|
60
60
|
en: A single hedge is caution and is not reported. A hedge inside a quotation is the speaker's, not the writer's, and is not counted.
|
|
61
61
|
level_meaning:
|
|
62
62
|
ja: 1000 字あたり逃げの表現 {limit} 個まで(一文に重ねた逃げは、文書の長さによらず指摘)
|
|
63
|
-
en: up to {limit} hedges per 1000 words (hedges stacked in one sentence are reported whatever the length)
|
|
63
|
+
en: up to {limit} {limit|hedge|hedges} per 1000 words (hedges stacked in one sentence are reported whatever the length)
|
|
64
64
|
rewrite:
|
|
65
65
|
depth: light
|
|
66
66
|
ja:
|
|
@@ -48,7 +48,7 @@ not_flagged:
|
|
|
48
48
|
en: Only marks touching Japanese text. A ? in a URL, in code or in English text is not counted.
|
|
49
49
|
level_meaning:
|
|
50
50
|
ja: 少ないほうの書き方が {limit} 箇所あれば指摘
|
|
51
|
-
en: reported once the less common way appears {limit} times
|
|
51
|
+
en: reported once the less common way appears {limit} {limit|time|times}
|
|
52
52
|
rewrite:
|
|
53
53
|
depth: light
|
|
54
54
|
ja:
|
|
@@ -15,8 +15,8 @@ why:
|
|
|
15
15
|
en: '"There is" and "it is ... that" push the subject to the back and drop who does what.'
|
|
16
16
|
|
|
17
17
|
message:
|
|
18
|
-
ja: '"{
|
|
19
|
-
en: '"{
|
|
18
|
+
ja: '"{form} ..." を含め、There is か It is ... that の形で始まる文が文書内に {count} 文あります({limit} 文まで)'
|
|
19
|
+
en: '"{form} ..." is one of {count} {count|sentence|sentences} that {count|opens|open} with "There is" or "It is ... that" (limit {limit})'
|
|
20
20
|
|
|
21
21
|
how_to_fix:
|
|
22
22
|
ja: 主語を前に出してください。"There is a need to review" を "The board must review" に。
|
|
@@ -45,8 +45,8 @@ example:
|
|
|
45
45
|
The team meets on Friday to review the budget. The finance team will lead it.
|
|
46
46
|
|
|
47
47
|
not_flagged:
|
|
48
|
-
ja: 「it is raining」のように that 節を伴わない It is
|
|
49
|
-
en: '"It is" without a that-clause ("it is raining") is not counted.'
|
|
48
|
+
ja: "「it is raining」のように that 節を伴わない It is は数えません。誰が何を言ったかを記した議事録で、話し手の名前で始まる段落(Mara: There's some history ...)の文も数えません。話した人の言い方を書き手がそのまま残したもので、書き手が直す文ではないためです。名前と読むのは、3 人以上がそれぞれ 3 回以上、段落の頭で話しているときだけです(Status: と Comments: だけの項目は名前と読みません)。"
|
|
49
|
+
en: '"It is" without a that-clause ("it is raining") is not counted. Nor is a sentence in a paragraph of minutes that opens with a speaker''s name ("Mara: There''s some history ..."): it is that person''s phrasing, recorded as said, not the writer''s to recast. Names are read only when three or more of them each open three or more paragraphs (two field labels such as Status: and Comments: are not names).'
|
|
50
50
|
level_meaning:
|
|
51
51
|
ja: この形の文 {limit} 回まで
|
|
52
|
-
en: up to {limit} such sentences
|
|
52
|
+
en: up to {limit} {limit|such sentence|such sentences}
|
|
@@ -50,11 +50,11 @@ example:
|
|
|
50
50
|
The installer reads your config file and fills in the defaults. The fix is one command that rewrites every path to an absolute one.
|
|
51
51
|
|
|
52
52
|
not_flagged:
|
|
53
|
-
ja: 一つ一つは誤りではないので、短い文書は測りません。例を挙げる「〜のような」(A や B
|
|
54
|
-
en: None of these is wrong alone, so short documents are not measured. A plain comparison or example ("tools such as A and B") is not counted. The literature and speech genres turn it off.
|
|
53
|
+
ja: 一つ一つは誤りではないので、短い文書は測りません。例を挙げる「〜のような」(A や B のような製品)は数えません。「まるで魔法のように」のように、たとえを導く語(まるで、あたかも)とたとえの語が同じ文にあれば、合わせて一つと数えます。文学と講演のジャンルでは止めています。
|
|
54
|
+
en: None of these is wrong alone, so short documents are not measured. A plain comparison or example ("tools such as A and B") is not counted. A word that opens a figure and the figure it opens in one sentence count as one. The literature and speech genres turn it off.
|
|
55
55
|
level_meaning:
|
|
56
56
|
ja: 1000 字あたり飾りのたとえ {limit} 個まで
|
|
57
|
-
en: up to {limit} decorative figures per 1000 words
|
|
57
|
+
en: up to {limit} {limit|decorative figure|decorative figures} per 1000 words
|
|
58
58
|
|
|
59
59
|
rewrite:
|
|
60
60
|
depth: register
|
|
@@ -42,11 +42,11 @@ example:
|
|
|
42
42
|
The team kept its own schedule. There are two reviews left.
|
|
43
43
|
|
|
44
44
|
not_flagged:
|
|
45
|
-
ja: 一覧にある組だけを見ます。英語の文書だけで動きます。次の語で決まらない「its time」「they're people
|
|
46
|
-
en: Only the pairs on chaff's list are checked, and only in English documents. Pairs the next word does not settle ("its time", "they're people") are not. Not used in fiction or speeches, which spell dialect on purpose.
|
|
45
|
+
ja: 一覧にある組だけを見ます。英語の文書だけで動きます。次の語で決まらない「its time」「they're people」は見ません。名詞の前の「your welcome」(your welcome email)は歓迎のメールなので言いません。小説と話し言葉では使いません(方言や話しぶりをわざと綴るため)。
|
|
46
|
+
en: Only the pairs on chaff's list are checked, and only in English documents. Pairs the next word does not settle ("its time", "they're people") are not, nor "your welcome" before a noun ("your welcome email"). Not used in fiction or speeches, which spell dialect on purpose.
|
|
47
47
|
level_meaning:
|
|
48
48
|
ja: 取り違えが {limit} 箇所あれば指摘
|
|
49
|
-
en: reported once there are {limit}
|
|
49
|
+
en: reported once there {limit|is|are} {limit}
|
|
50
50
|
rewrite:
|
|
51
51
|
depth: light
|
|
52
52
|
en:
|
|
@@ -57,7 +57,7 @@ not_flagged:
|
|
|
57
57
|
en: Only blog posts and business documents are checked; papers, statutes, literature and transcripts are not. "Honestly" as manner ("live honestly") is not a marker and is not listed. A piling-up of sentence openers, "Honestly," among them, is announcing-opener's. A marker only named as a term (the word "honestly") is not reported.
|
|
58
58
|
level_meaning:
|
|
59
59
|
ja: 前置きが {limit} 箇所あれば指摘
|
|
60
|
-
en: reported once there are {limit}
|
|
60
|
+
en: reported once there {limit|is|are} {limit}
|
|
61
61
|
rewrite:
|
|
62
62
|
depth: light
|
|
63
63
|
ja:
|
|
@@ -44,7 +44,7 @@ not_flagged:
|
|
|
44
44
|
en: Only the forms on chaff's list are checked. A phrase whose present negation makes the form a potential (何とも申されません, "I cannot say") is not. 伺われる is not, as it is also 窺われる ("can be seen"). Forms some guides accept (お伺いください) are not listed. Literature does not run this rule.
|
|
45
45
|
level_meaning:
|
|
46
46
|
ja: 当てはまる形が {limit} 箇所あれば指摘
|
|
47
|
-
en: reported once there are {limit}
|
|
47
|
+
en: reported once there {limit|is|are} {limit}
|
|
48
48
|
rewrite:
|
|
49
49
|
depth: light
|
|
50
50
|
ja:
|
|
@@ -43,7 +43,7 @@ not_flagged:
|
|
|
43
43
|
en: 'Only between words. A list marker ("- "), a number range ("1 - 2"), a hyphen inside a word ("well-known") and code are not reported. Nor is the hyphen that sets a numbered division''s label apart from its title in a heading ("PART I - THE AGENCIES GENERALLY"). Nor is "--" in a document that sets no dash as a character (— or –), where it is how the document types its dash, as plain-text standards and Markdown typographers do. Nor is a separator in copied text: before a capital inside a quotation that reproduces a label or a sign ("Unhelpful - Post needs no note"), in a numbered reference entry ([12] … My robot friend - a study), in a short name given as a field''s value (Office Space - Monthly after Category and a colon), in a log or bot line (one that holds an address, a setting such as exit_code=99 or a dotted name such as sre.mediawiki.restart, or starts with <bot>), and inside an HTML tag shown as text. Nor is a hyphen that joins one capitalised word onto a name ("Iraq and Syria - Khorasan,"). The literature presets turn it off, since older printed texts set the dash as "--".'
|
|
44
44
|
level_meaning:
|
|
45
45
|
ja: "{limit} 箇所あれば指摘"
|
|
46
|
-
en: reported once there are {limit}
|
|
46
|
+
en: reported once there {limit|is|are} {limit}
|
|
47
47
|
rewrite:
|
|
48
48
|
depth: light
|
|
49
49
|
en:
|
package/rules/idiom-misuse.yaml
CHANGED
|
@@ -43,7 +43,7 @@ not_flagged:
|
|
|
43
43
|
en: Only the forms on chaff's list are checked. Forms dictionaries disagree on are not listed. Literature does not run this rule, since dialogue may misuse an idiom on purpose.
|
|
44
44
|
level_meaning:
|
|
45
45
|
ja: 当てはまる形が {limit} 箇所あれば指摘
|
|
46
|
-
en: reported once there are {limit}
|
|
46
|
+
en: reported once there {limit|is|are} {limit}
|
|
47
47
|
rewrite:
|
|
48
48
|
depth: light
|
|
49
49
|
ja:
|
|
@@ -55,4 +55,4 @@ not_flagged:
|
|
|
55
55
|
en: Words in their full meaning (資料を下さい, 本を置いて帰る, 事が起きた, 時が経つ) are not reported. 時 is reported only as a condition (〜時は, 〜時には); 時 for a point in time (達した時から) stays in kanji. 〜て行く, 〜て来る, 〜て見る, 所 and 物 are not checked, since the tagger cannot tell them from their full meaning (持って行く, 開いて見る "open and read", 家を建てる所). Without the koyobun style the rule does not run.
|
|
56
56
|
level_meaning:
|
|
57
57
|
ja: 当てはまる語が {limit} 箇所あれば指摘
|
|
58
|
-
en: reported once there are {limit}
|
|
58
|
+
en: reported once there {limit|is|are} {limit}
|
|
@@ -96,4 +96,4 @@ not_flagged:
|
|
|
96
96
|
en: Different words (サーバー and ブラウザ) are not compared. Words of one mora before the final ー (カー), words the dictionary knows as proper nouns and the names under names in chaff.yaml are left alone. A word that becomes another word with a final ー (フリ and フリー, タブ (tab) and タブー (taboo), ベタ and ベター) is not compared, nor asked for a ー by keep, when it is in the long-vowel-distinct word list. drop leaves words ending in ュー, エー, イー and the like alone (メニュー, グレー, コピー).
|
|
97
97
|
level_meaning:
|
|
98
98
|
ja: 違う書き方の語が {limit} 箇所あれば指摘
|
|
99
|
-
en: reported once {limit} words go the other way
|
|
99
|
+
en: reported once {limit} {limit|word goes|words go} the other way
|
|
@@ -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 or label (1.はじめに, 2.確認, (注)1., イ.ロ.), after a one- or two-letter label (Q.), in a company form written in Latin letters (CO.,LTD.), between reference signs (a patent's 9c,9c or a,b,c), 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. A half-width "," between Japanese words (自家用自動車,社用車) counts on the , side.
|
|
13
|
+
ja: 読点を「、」と「,」、句点を「。」と「.」のどちらで書くかは、どちらでも読めます(横書きの論文や公用文には「,」があります)。困るのは一つの文書の中で混ざることで、貼り付けた文や別の人が書いた段落が、そこだけ違って見えます。chaff はどちらが正しいかを決めず、読点と句点のそれぞれで、文書の中で少ないほうを指摘します。一つの文の中の少ないほうは、読点と句点の両方でも一件にまとめます。数の中の「,」「.」(1,000、3.5)、番号の印の点(1.はじめに、2.確認、(注)1.、イ.ロ.)、一、二文字の英字の印の後ろの点(Q.)、英字の会社の名前の形(CO.,LTD.)、符号を並べる「,」(特許の公報の9c,9c、a,b,c)、鉤括弧で引いたものの中と、注の番号で始まる行や 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, once per sentence even when a sentence has both. 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.), between reference signs (a patent's 9c,9c or a,b,c), 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. A half-width "," between Japanese words (自家用自動車,社用車) counts on the , side.
|
|
15
15
|
|
|
16
16
|
message:
|
|
17
17
|
ja: 「{mark}」と書いています(この文書はふつう「{usual}」。{of} 箇所のうち {count} 箇所が違う)
|
|
@@ -24,6 +24,10 @@ messages:
|
|
|
24
24
|
period:
|
|
25
25
|
ja: 句点を「{mark}」と書いています(この文書はふつう「{usual}」。{of} 箇所のうち {count} 箇所が違う)
|
|
26
26
|
en: 'The Japanese period is written "{mark}" here, where the document usually writes "{usual}" ({count} of {of})'
|
|
27
|
+
# 一つの文に読点と句点の両方の少ないほうがあれば、一つの書き違い(貼り付けた文)として一件で言う。数は種類ごとの文書の中の数。
|
|
28
|
+
both:
|
|
29
|
+
ja: 読点を「{mark}」、句点を「{periodMark}」と書いています(この文書はふつう「{usual}」と「{periodUsual}」。読点は {of} 箇所のうち {count} 箇所、句点は {periodOf} 箇所のうち {periodCount} 箇所が違う)
|
|
30
|
+
en: 'The Japanese comma is written "{mark}" and the period "{periodMark}" here, where the document usually writes "{usual}" and "{periodUsual}" ({count} of {of} commas, {periodCount} of {periodOf} periods)'
|
|
27
31
|
|
|
28
32
|
how_to_fix:
|
|
29
33
|
ja: 文書の多いほうの書き方に合わせてください。チームで決めているなら、STYLE.md に書いておくと迷いません。
|
|
@@ -50,4 +54,4 @@ not_flagged:
|
|
|
50
54
|
en: Marks inside numbers (1,000, 3.5), after a list number or label (1., (注)1., イ.), after a number that is referred to (3.から5.まで, (1)4.の改正), in a letter label (Q., or A1. at the start of a line), in a company form (CO.,LTD.), between reference signs (9c,9c, a,b,c), inside 「」, and in a note or a sentence with a URL are not counted. Neither way is called right.
|
|
51
55
|
level_meaning:
|
|
52
56
|
ja: 少ないほうの書き方が {limit} 箇所あれば指摘
|
|
53
|
-
en: reported once {limit} places go against the document's habit
|
|
57
|
+
en: reported once {limit} {limit|place goes|places go} against the document's habit
|
package/rules/latin-spacing.yaml
CHANGED
|
@@ -77,4 +77,4 @@ not_flagged:
|
|
|
77
77
|
en: Codes such as phone numbers, dates and version numbers (1.0.0), the spaces beside a booking or model number (MN-48215), dates and times with units (9月, 10時5分), the space after a time with AM or PM (9:30AM), the space before a floor or room number after the name of a building (本社 5階), the space between names on a line of names alone (経営企画部 IR担当), the spaces beside a code of six digits or more or a number plate, the space between the parts of a value after a label and a colon (所属:経済学科 1年), the space between a label and its value (Bronzeプラン 10万円 (税込)), the spaces around an English word joining Japanese phrases (名前 or メッセージ), the boundary before a suffix bound to a Latin word (PDF版, IT化), the boundary after a channel or handle name (#pj_oss-team, @sato), heading numbers, the space after an item number at the head of a line (一 JIS…), the space after a figure or table label alone at the head of a line (表 6種類の…), the space before an organisation's name that holds spaces on a line of names alone (初等中等教育局 GIGA StuDX(…)推進チーム), quotations in 「」 and “”, a line of a bibliographic entry, the spaces beside the numbers of a table of numbers a converter ran together, the text of links and a licence notice the publisher appends at the end (a short closing paragraph that names a licence and links to its terms) 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.
|
|
78
78
|
level_meaning:
|
|
79
79
|
ja: 少ないほうの空け方が {limit} 箇所あれば指摘
|
|
80
|
-
en: reported once {limit} places go against the document's habit
|
|
80
|
+
en: reported once {limit} {limit|place goes|places go} against the document's habit
|
|
@@ -5,6 +5,7 @@ how_to_find: kanji-run
|
|
|
5
5
|
# 品詞があれば、住所(地名と数だけでできた連なり)と 1 つの名前(辞書の固有名詞 1 語、人の姓と名)を数えない。無くても文字だけで動く。
|
|
6
6
|
uses: [pos]
|
|
7
7
|
# chaff.yaml の names に並べた名前は連なりを切る。鉤括弧の中身がまるごと 1 つの連なりなら数えない(書き手が 1 つの名前と示している)。
|
|
8
|
+
# 語のすぐ後ろの丸括弧の中身がまるごと 1 つの連なり(EBITDA+(減価償却他調整前営業利益))も、前の語の言い換えか展開なので数えない。
|
|
8
9
|
# 住所の先頭にしか来ない単位(都道府県)。地名の後ろに付けば、割られた町名ではなく地名の並び。
|
|
9
10
|
# 組織の名前(organisation-form で始まるか地名・固有名詞で始まり organisation-unit で閉じる、organisation-unit で閉じる区切りが続く、
|
|
10
11
|
# または固有名詞か地名を含み、名前の後ろに立つ法人格で閉じる)は数えない。
|
|
@@ -13,7 +14,8 @@ uses: [pos]
|
|
|
13
14
|
# 〜交付金、〜基金、〜区域)は、置き方を問わず数えない。
|
|
14
15
|
# 日付の単位(4月の「月」)は、数に付いた助数詞として連なりの頭から外す。漢数字の日付(令和七年六月二十三日)も頭から外す。
|
|
15
16
|
# 中黒の後ろへ続いて organisation-unit で閉じる名前(〜審議会企業年金・個人年金部会)の前半は数えない。
|
|
16
|
-
#
|
|
17
|
+
# 文書のどこかで括弧の中身がまるごとその連なりである名前は、文の中で使っても数えない。番号や内容の行の上に一行で置いた名前
|
|
18
|
+
# (児童相談所虐待対応ダイヤル / 189)も同じに読み、文の中ではその名前の後ろで割る。法令の題(〜に関する法律)を囲む括弧の中の連なりも数えない。
|
|
17
19
|
# 文書が単独で使う法令・制度の名前(政治資金規正法)と、法令が名に取った語(愛玩動物看護師法の「愛玩動物看護師」)は、連なりの中でも割る。
|
|
18
20
|
# 職名(kanji-known-word)のすぐ前か後ろの人の姓と名も割る。元号の付いた年(令和元年)と、仮名へ続く接続の語の漢字(及び の「及」)は外す。
|
|
19
21
|
# 連なりの中ほどの list-suffix(高齢運転者等専用駐車区間の「等」)は語の終わりを見せるので、そこでも割る。range-suffix(以外、以上)も同じに読む。
|
|
@@ -90,8 +92,8 @@ example:
|
|
|
90
92
|
after: 来週、新しい顧客を増やす施策を話し合う会議を開きます。
|
|
91
93
|
|
|
92
94
|
not_flagged:
|
|
93
|
-
ja: 組織の正式名称(国立研究開発法人産業技術総合研究所、経済産業省製造産業局自動車課、東日本青葉自動車販売株式会社)、題の名前(要綱・試験・事業・法令などで終わり、一行だけで書くか括弧でくくるか見出しにあるか、文書の中で繰り返すもの。大阪市鶴見区役所公募型比較見積実施要綱など)、法令・制度・給付・基金・指定区域の名前(住民基本台帳法施行令、勤労者財産形成貯蓄制度、社会資本整備総合交付金、地域医療介護総合確保基金、特定復興再生拠点区域。文のどこにあっても)、chaff.yaml の names に書いた組織名や製品名、法令の条番号(第二十二条第二項、学校教育法第三十条第二項の「第三十条第二項」)は数えません。空白を挟んで法人格か組織の区切りの後ろに立つ組織の名前(一般社団法人 全国〜センター、〜局 〜課
|
|
94
|
-
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, appears in a heading, or recurs in the document), names of statutes, schemes, grants, funds and designated zones wherever they stand (住民基本台帳法施行令, 勤労者財産形成貯蓄制度, 社会資本整備総合交付金, 地域医療介護総合確保基金, 特定復興再生拠点区域), names listed under names in chaff.yaml, and provision numbers in statutes (第二十二条第二項, and 第三十条第二項 after the statute name in 学校教育法第三十条第二項) are not counted. Nor is an organisation name that follows a legal form or an organisation unit across a space (一般社団法人 全国〜センター, 〜局 〜課 〜係), or a name in 「」 made of the kanji run and words with no kanji or hiragana (「登録業者情報検索入力ページ」). A leading word that points back or ahead (上記, 当該), a leading ordinal (第百二代, 初代), a leading date in kanji numerals (令和七年六月二十三日, 令和元年), a trailing 等 or a word that marks a range (以外 in 自動車保険契約以外, 以上 in 基準以上), and the kanji of a conjunction that continues in kana (及 in 方針及び基本構想) are not counted. A 等 or a range word in the middle of a run (高齢運転者等専用駐車区間, 関係者以外立入禁止) shows where a word ends, so what is before and after it is counted apart. A name the document puts whole in brackets somewhere (「署名用電子証明書確認画面」, [当事者系審判請求人]) is not counted where it is used in a sentence either, nor is a run inside the brackets around a statute's title ((〜に関する法律)). A statute name the document uses on its own (政治資金規正法), the term a statute is named after (愛玩動物看護師 in 愛玩動物看護師法), and a person's full name right before or after an official title (小泉純一郎内閣総理大臣, 内閣総理大臣石破茂) split the run. Nor is an organisation unit that starts with an ordinal (方式審査室第三担当, 東京電力福島第一原子力発電所), or the first half of an organisation name that continues after a ・ and closes in an organisation unit (社会保障審議会企業年金 in 社会保障審議会企業年金・個人年金部会). An organisation name the document uses on its own elsewhere (安全保障理事会 in 安全保障理事会常任理事国), and a fixed word that closes the run (内閣総理大臣 in 日本国内閣総理大臣, 〜許可事業者) split the run, and what is before and after them is counted apart. In a glossary (headword_genres), a line that holds only a run of kanji is the headword and is not counted. In a list of names with no sentence end (an attendee list such as 区長、副区長、〜委員会事務局長), the title after an organisation name in an item is not counted, as in an addressee line. A bibliographic entry in a note (著者. 題. 出版者, 2025, p. 369.) holds the cited work's titles and names, and is not counted.
|
|
95
|
+
ja: 組織の正式名称(国立研究開発法人産業技術総合研究所、経済産業省製造産業局自動車課、東日本青葉自動車販売株式会社)、題の名前(要綱・試験・事業・法令などで終わり、一行だけで書くか括弧でくくるか見出しにあるか、文書の中で繰り返すもの。大阪市鶴見区役所公募型比較見積実施要綱など)、法令・制度・給付・基金・指定区域の名前(住民基本台帳法施行令、勤労者財産形成貯蓄制度、社会資本整備総合交付金、地域医療介護総合確保基金、特定復興再生拠点区域。文のどこにあっても)、chaff.yaml の names に書いた組織名や製品名、法令の条番号(第二十二条第二項、学校教育法第三十条第二項の「第三十条第二項」)は数えません。空白を挟んで法人格か組織の区切りの後ろに立つ組織の名前(一般社団法人 全国〜センター、〜局 〜課 〜係)と、鉤括弧の中身が漢字の連なりとカタカナや英数字の語だけの名前(「登録業者情報検索入力ページ」)と、語のすぐ後ろの丸括弧を埋める言い換えや展開(EBITDA+(減価償却他調整前営業利益)、修士の学位(大学院修士課程修了程度))も数えません。頭の、前を指す語(上記、当該)と代の序数(第百二代、初代)と漢数字の日付(令和七年六月二十三日、令和元年)、尻の「等」と範囲を示す語(自動車保険契約以外の「以外」、基準以上の「以上」)と、仮名へ続く接続の語の漢字(方針及び基本構想の「及」)は数えません。連なりの中ほどの「等」と範囲を示す語(高齢運転者等専用駐車区間、関係者以外立入禁止)は語の終わりを見せるので、その前と後ろを別に数えます。文書のどこかで括弧でまるごとくくった名前(「署名用電子証明書確認画面」、[当事者系審判請求人])と、番号や内容の行の上に一行で置いた名前(児童相談所虐待対応ダイヤルの下に 189)は文の中で使っても数えず、法令の題を囲む括弧((〜に関する法律))の中の連なりも数えません。文書が単独で使う法令の名前(政治資金規正法)と法令が名に取った語(愛玩動物看護師法の「愛玩動物看護師」)、職名のすぐ前か後ろの人の姓と名(小泉純一郎内閣総理大臣、内閣総理大臣石破茂)は、連なりを割ります。序数で始まる組織の単位(方式審査室第三担当、東京電力福島第一原子力発電所)と、中黒の後ろで組織の語で閉じる名前の前半(社会保障審議会企業年金・個人年金部会の「社会保障審議会企業年金」)も数えません。文書がほかで単独で使う組織の名前(安全保障理事会常任理事国の「安全保障理事会」)、連なりを閉じる決まった語(日本国内閣総理大臣の「内閣総理大臣」、〜許可事業者)は、その前後を別の連なりとして数えます。用語集(headword_genres)の、一行が漢字の連なりだけの見出し語は数えません。出席者の並び(区長、副区長、〜委員会事務局長)のように文で終わらない名前の並びの項目は、宛名と同じく、組織の名前の後ろの役職を数えません。注の中の文献の記述(著者. 題. 出版者, 2025, p. 369.)は、引いた文献の題と名前なので数えません。
|
|
96
|
+
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, appears in a heading, or recurs in the document), names of statutes, schemes, grants, funds and designated zones wherever they stand (住民基本台帳法施行令, 勤労者財産形成貯蓄制度, 社会資本整備総合交付金, 地域医療介護総合確保基金, 特定復興再生拠点区域), names listed under names in chaff.yaml, and provision numbers in statutes (第二十二条第二項, and 第三十条第二項 after the statute name in 学校教育法第三十条第二項) are not counted. Nor is an organisation name that follows a legal form or an organisation unit across a space (一般社団法人 全国〜センター, 〜局 〜課 〜係), or a name in 「」 made of the kanji run and words with no kanji or hiragana (「登録業者情報検索入力ページ」), or a run that fills the round brackets right after a word, restating or expanding it (EBITDA+(減価償却他調整前営業利益), 修士の学位(大学院修士課程修了程度)). A leading word that points back or ahead (上記, 当該), a leading ordinal (第百二代, 初代), a leading date in kanji numerals (令和七年六月二十三日, 令和元年), a trailing 等 or a word that marks a range (以外 in 自動車保険契約以外, 以上 in 基準以上), and the kanji of a conjunction that continues in kana (及 in 方針及び基本構想) are not counted. A 等 or a range word in the middle of a run (高齢運転者等専用駐車区間, 関係者以外立入禁止) shows where a word ends, so what is before and after it is counted apart. A name the document puts whole in brackets somewhere (「署名用電子証明書確認画面」, [当事者系審判請求人]), or writes as a line of its own above a number or other lines (児童相談所虐待対応ダイヤル above 189), is not counted where it is used in a sentence either, nor is a run inside the brackets around a statute's title ((〜に関する法律)). A statute name the document uses on its own (政治資金規正法), the term a statute is named after (愛玩動物看護師 in 愛玩動物看護師法), and a person's full name right before or after an official title (小泉純一郎内閣総理大臣, 内閣総理大臣石破茂) split the run. Nor is an organisation unit that starts with an ordinal (方式審査室第三担当, 東京電力福島第一原子力発電所), or the first half of an organisation name that continues after a ・ and closes in an organisation unit (社会保障審議会企業年金 in 社会保障審議会企業年金・個人年金部会). An organisation name the document uses on its own elsewhere (安全保障理事会 in 安全保障理事会常任理事国), and a fixed word that closes the run (内閣総理大臣 in 日本国内閣総理大臣, 〜許可事業者) split the run, and what is before and after them is counted apart. In a glossary (headword_genres), a line that holds only a run of kanji is the headword and is not counted. In a list of names with no sentence end (an attendee list such as 区長、副区長、〜委員会事務局長), the title after an organisation name in an item is not counted, as in an addressee line. A bibliographic entry in a note (著者. 題. 出版者, 2025, p. 369.) holds the cited work's titles and names, and is not counted.
|
|
95
97
|
level_meaning:
|
|
96
98
|
ja: 漢字の連続 {limit} 字まで
|
|
97
99
|
en: up to {limit} kanji in a row
|
|
@@ -75,4 +75,4 @@ not_flagged:
|
|
|
75
75
|
en: A paragraph of many short sentences is not reported, as long as it is shorter than that many sentences of ordinary length. A line holding only a 【】 label (a Japanese paragraph number or heading, 【0001】) ends a paragraph, and a paragraph whose numbered 【】 heading runs straight into its body (a copy that lost its line breaks) is not measured, since where its paragraphs end is unknown.
|
|
76
76
|
level_meaning:
|
|
77
77
|
ja: 一つの段落に {limit} 文まで
|
|
78
|
-
en: up to {limit} sentences in a paragraph
|
|
78
|
+
en: up to {limit} {limit|sentence|sentences} in a paragraph
|
|
@@ -109,7 +109,7 @@ not_flagged:
|
|
|
109
109
|
Headings, table cells and code are not counted, nor is a line that only lists names or titles with 、 and has no full stop (an attendee list), nor are the page markers a converted print edition leaves inside a sentence ("( printed page 52044)", "[[Page 52044]]"). A footnote that is a bibliographic citation (authors (2025), "Title," publisher) counts only the words the writer puts before it ("For example, see …"), and not the end of an earlier reference it begins inside ("(Washington: …); and"). The authors of a reference written as surname and initials (Kreimer AR, Porras C, …) count as one word. A sentence closed inside parentheses ("….)") is measured apart from the sentence after it. A 「」 quotation holding two or more sentences closed by 。 is measured sentence by sentence, apart from the words around it. Lines of a label and a value with no full stop (When: … / Where: …) are measured one line at a time, and a table a converter ran together (numbers whose digit groups broke, a chronology whose dates run into the cell before) cell by cell. A quotation opened after a colon (has observed: "…") is measured apart from the writer's words. A grammar in a specification (name = a / b), a citation string after a signal (See, e.g., 12 C.F.R. § …; …), the title before a remark in parentheses and the quoted title of a reference line (Letter 21-8, "Title" (April 9, 2021).) are not counted. A footnote that opens with a signal (See …) counts only its words outside the names, "titles" and parentheses of codes it cites. Text copied word for word from another document is not counted: the articles of a statute under a heading that names it, where the document cites that statute elsewhere, and the paragraph after a lead-in such as "reads as follows:". Genres where long sentences are normal (statutes, papers) raise the limit.
|
|
110
110
|
level_meaning:
|
|
111
111
|
ja: 一文 {limit} 字まで
|
|
112
|
-
en: up to {limit} words in a sentence
|
|
112
|
+
en: up to {limit} {limit|word|words} in a sentence
|
|
113
113
|
rewrite:
|
|
114
114
|
depth: light
|
|
115
115
|
ja:
|
package/rules/max-ten.yaml
CHANGED
|
@@ -46,7 +46,7 @@ not_flagged:
|
|
|
46
46
|
en: Only 、 and , are counted. Commas between two nouns (listed items) and commas inside 「」 quotations are not. Nor are the commas of a list of short bare words (快晴、晴れ、薄曇り、曇り、…) where most are nouns, even if the parser reads some as verbs, nor those of a table whose line breaks were lost (a chronology whose rows open with dates).
|
|
47
47
|
level_meaning:
|
|
48
48
|
ja: 一文の読点 {limit} 個まで
|
|
49
|
-
en: up to {limit} commas in a sentence
|
|
49
|
+
en: up to {limit} {limit|comma|commas} in a sentence
|
|
50
50
|
rewrite:
|
|
51
51
|
depth: light
|
|
52
52
|
ja:
|
package/rules/misconversion.yaml
CHANGED
|
@@ -20,8 +20,8 @@ message:
|
|
|
20
20
|
en: '"{matched}" is a wrong conversion of "{suggestion}"'
|
|
21
21
|
|
|
22
22
|
how_to_fix:
|
|
23
|
-
ja:
|
|
24
|
-
en: Correct the kanji.
|
|
23
|
+
ja: 正しい字に直してください。名前(作品名や商品名)の中でその字のまま書いているなら、その名前を chaff.yaml の names に足すと指さなくなります。
|
|
24
|
+
en: Correct the kanji. If the form is part of a name written that way on purpose (a title, a product), add the name to names in chaff.yaml.
|
|
25
25
|
|
|
26
26
|
placeholders:
|
|
27
27
|
matched:
|
package/rules/name-variant.yaml
CHANGED
|
@@ -103,8 +103,8 @@ example:
|
|
|
103
103
|
The code lives on GitHub. Reviews happen on GitHub, and releases are tagged on GitHub.
|
|
104
104
|
|
|
105
105
|
not_flagged:
|
|
106
|
-
ja: 品詞解析が固有名詞と読んだ語だけを見ます。大文字だけの名前(ACME INC、NASA)と、大文字で書いた一節の中の名前(eGAIN AND ITS SUPPLIERS … の eGAIN)は見ません。略語の後ろの括弧の中で、大文字の字が略語をつづる語(axle (Axis-guided eXperience ELicitation) の ELicitation)も見ません。リンクの角括弧は名前に入れません。一字違いの英字の名前は、6 字以上で、多いほうが二度以上、少ないほうが一度だけのときに限ります(Iran と Iraq は別の名前)。名の違う二人の一字違いの姓(Jeffrey D. Walker と Christopher J. Waller)は別の人です。終わりの重なった字の一つの有る無し(License と Licensee)は、どちらかを文書が小文字で書くなら別の語です。人の名前どうしは、字体の違う同じ字(斎藤 と 斉藤、渡辺 と 渡邊)か、読みが同じで一字だけ違い、多いほうが二度以上、少ないほうが一度だけのとき(松本 と 松元)に限ります(伊藤 と 伊東 は別の人のことがある)。解析器が読みを持たない名前の字(健汰 の 汰)は、語彙表 name-char-reading の読みで読みます(健太 と 健汰。表の升の名前も同じ)。人の名前とは、品詞解析が人名と読んだ語か、「様」「さん」「氏」の付いた名前です(解析器が名前と読めない字体の字を含む名前は、敬称の前の 2〜4 字の漢字を名前と読みます)。敬称は名前とのあいだの空白を越えて見ます。品詞解析が名と読まない語も、姓のあとに空白を挟んで書き、敬称が付けば名と読みます(森下 千尋 様)。姓の後ろに空白を挟んでかなで書いた名も、敬称か肩書きが付くか、人を書く欄の行の終わりにあれば、姓とつないで一つの名前と読みます(松本 あかり 様)。敬称の無い名前も、前後に漢字が続かない 2〜4 字の漢字で、片方の書き方に「担当の」「私、」などの前置きか敬称が付き、もう片方が「です」「が」「までご連絡」などの前にあれば比べます(担当の斎藤です と 斉藤までご連絡ください)。地名にも同じ組がある(鹿島 と 鹿嶋)ので、どちらにも前置きも敬称も無いときは比べません。会社の名前は、語彙表の会社の種類の語(株式会社、(株)、有限会社)の隣にあるものを、品詞と関係なく比べます。名前が同じで種類の語が違うもの(株式会社 と 有限会社)、種類の語を名前の反対側に置いたもの(株式会社アオバ と アオバ株式会社)、記号・幅だけが違うものを指します。三つ以上の種類の語で書いた名前(Aoba Inc、Aoba Ltd、Aoba GmbH)は会社のグループで、種類の違いは比べません。同じ種類の語の略した形(株式会社 と (株))、種類の語を省いた呼び名(アオバシステム、以下「アオバ」)は指しません。名前の一字違いは、7 字以上の名前で、違う字が漢字でないときに限ります(日本電気 と 日本電機 は別の会社のことがある)。漢字を含む名前は、7 字に満たなくても、4 字以上のかなの語の中のかな一字違いを、多いほうが二度以上、少ないほうが一度だけのときに指します(コモレビ電機 と コモレピ電機)。名前の漢字一字を、品詞解析が言うその読みのかなで書いた所(みどり野生命 と みどりの生命)も、多いほうが二度以上、かなのほうが一度だけのときに指します。読みは、かなと漢字一字の語からだけ取ります。名前の頭でない字は、頭の音を濁らせた読みで書いたもの(こむぎ畑 と こむぎばたけ)も同じに指します。漢字だけの名前は、品詞解析が固有名詞と読んだときだけ会社の名前と見ます(清算株式会社、当該株式会社)。場所の名前は、語彙表の場所の語(口、駅、センター、ホール)で終わる名前を、品詞と関係なく比べます。記号・幅だけが違うもの(コンベンションセンター と コンベンション・センター)を指し、名前の読みが同じかかなで書いた読みのもの(筑紫口 と ちくし口)と、固有名詞の字の一字違い(八重洲中央口 と 八重州中央口)は、多いほうが二度以上、少ないほうが一度だけのときに限ります。方角や数字の違い(北口 と 南口、第1会議室 と 第2会議室)は別の所なので指しません。表の升は升ごとに品詞解析し、名前の形をした升(空白を挟んだ二つか三つの漢字・カタカナの語)を本文の名前と比べます。記号・幅だけの違い(佐々木 美穂 と 佐々木 美穂)と、本文と同じく読みが同じで一語だけ違うもの(佐々木 美穂 と 佐々木 美保)を指し、後者は本文の形が二度以上、升の形が一度だけのときに限ります。読みの違う一字違い(佐藤 太郎 と 佐藤 次郎)は別の人のことが多いので指しません(英字の名前は一字違いも指します)。場所の名前は表の升の中のものも比べます。英字の人の名前は、名が同じで、7 字以上の姓の頭 4 字以上がそろい、あいだの 2 字(長いほうは 3 字)までだけ違うもの(Rachel Whitford と Rachel Whitfield)も、多いほうが二度以上、少ないほうが一度だけのときに指します。語の順を入れ替えた名前(統計学基礎 と 基礎統計学)は、同じ語(形態素)を違う順に並べ、どちらも他方を含まず、どちらかが括弧の中か「前提科目:」のような欄の後ろか表の升まるごとに書いた名前のときだけ指します(統計学基礎 と 統計学応用 は別の名前)。同じ文に並べて書いた二つ(画面の二つの項目、定義する語とその中身)と、文書が定義した語は比べません。冠詞だけを挟んだ二つの語(this Agreement the Stockholders)は一つの名前にしません。製品の名前は、語彙表の製品の形の語(錠、カプセル、クリーム)のすぐ前の 4 字以上のカタカナを、品詞と関係なく比べます(見出しと表の升の中のものも数えます)。形の語が同じで、名前が一字の置き換えか長音の記号一つの有る無しだけ違い(ミナモール錠 と ミナモル錠)、多いほうが二度以上、少ないほうが一度だけのときに指します。名前が同じで形の語だけが違うもの(ミナモール錠 と ミナモール顆粒)は、同じ製品の別の形のことが多いので指しません。一語の名前の中で同じ音を書く字(桜ヶ丘・桜ケ丘、霞ヶ関・霞が関)は、漢字に挟まれたときだけ同じ字と見ます。品詞解析が一語と読まない書き方(桜・が・丘)は見ません。字を抜いた形(桜丘)や、違う漢字の名前(桜ヶ岡)は別の名前です。この違いだけは、表の升の中の名前とも比べます。型番(英大文字と数字を合わせた 4 字以上の語)は、文書の題か、語彙表の型番の欄の語(型番、品番、型式)の後ろに書いたものだけを文書の型番と読み、文書の中に二度以上出てくるとき、ハイフン・空白・字の大小・幅だけを変えた形(KM-SP300 と KM-SP-300、KMSP300、km-sp300)を指します。字や数の違う型番(KM-SP300 と KM-SP310、比べる表の兄弟機種、部品表の品番)は別の型番なので指しません。英小文字を含む語(iOS17)、版(v1.2 と v1.20)、より長い型番・URL・パス・ファイル名の一部(KM-SP300-B、km-sp300.pdf)は型番と読みません。空白で区切って書く規格の番号(JIS C 8714)は一つの語でないので、題や欄に書いても型番と読みません。一度ずつ書いた二つの形は、片方だけが人を書く欄(語彙表 person-label の語と「:」の後ろで、名前で行が終わるもの。氏名:山下 美咲)にあれば、欄の形を正しい形と見て、もう片方を同じ決まりで比べます(山下 美咲 と 山下 未咲)。どちらも欄にあるか、どちらも欄に無ければ比べません。欄に書いた名と同じ名を空白の後ろに書いたもの(受託者:西村 亮 の文書の 西邑 亮が)は、敬称が無くても人の名前と読みます。読みの違う一字違いでも、姓と名のそろった名前で、違う二字が語彙表 name-lookalike-char の形の似た字の組(太 と 大、未 と 末)なら、多いほうが二度以上、少ないほうが一度だけのときに指します(山本 健太 と 山本 健大。名だけの名前は兄弟のことがあるので比べません)。英字の名前で、ほかの語が同じ二語以上の名前の一語が、終わりの一字の抜けか足しだけ違うもの(Rachel Whitmore と Rachel Whitmor)も、多いほうが二度以上か人を書く欄にあり、少ないほうが一度だけのときに指します。違うのが最後の語(姓)なら、前の語がどれも、文書の中で小文字でも普通名詞としても書かない語のときに限り(Hurricane Hanna と Hurricane Hannah は別の嵐)、4 字の姓の一字違いも指します(Daniel Reyes と Daniel Reys。Reyes と Reyna は別の姓)。最後でない語は、8 字以上で、名前の最後の語がふつうの語のときに限ります(Hollybrook Residences と Hollybrooke Residences。人の名の Christian と Christiane は別の人)。足した字が s(複数)か母音の後ろの n(Korea と Korean)のもの、違う語のどちらかがふつうの語のもの(Green と Greene)は指しません。会社の名前は、形の語も側も同じで、一語だけが、8 字以上の語の終わりの 2 字まで違うもの(Brightmoor と Brightmore)か、最後の語の単数と複数(Water Utility と Water Utilities)も、多いほうが二度以上、少ないほうが一度だけのときに指します。一語の名前の二つがどちらも辞書の語で、片方の語尾を外した語がもう片方の頭にあるもの(民と国の Germans と Germany、単数と複数の Englishman と Englishmen)は、別の二つの語なので指しません。名簿が大文字で組んだ名前(MICHAEL T. McCAUL、SCOTT DesJARLAIS。語彙表 name-capitals-prefix の姓の頭だけを小文字で残す)は、大文字だけの名前と同じく見ません。大文字の語を含む、字の大小だけの違いが引用符の中にあれば、出典の題をそのまま写したもの("The TRIDENT Conference")なので指しません。一字違いの名前でも、語彙表 name-word-ending の言う語尾の一字だけの違い(Texan と Texas、Romano と Romans)、多いほうと同じ文に並べたもの(Constantinus と Constantius の兄弟)、違う語を文書が二度以上書くもの(Bindle のそばの Mrs. Bandle と Richard Bandle)、文か行の頭にあって、どちらも辞書の語のもの(Sprang と Spring)は指しません。一語の二つの形のうち、指す形を文書がほかで小文字で書くもの(stain のある Stain と Spain)か、多いほうの形を小文字で書き、指す形も辞書の語のもの(vigil のある Vigil と Virgil。affiliates のある Affliates は書き損じとして指します)と、複数の s の付いた大文字の略語どうし(SBLCs と SBDCs)も指しません。小文字で書く語の後ろのアポストロフィの有る無しだけの違い(Look’ee と Lookee)と、それより長いファイル名や URL の一部(Low-Tax-Rates-to-Create-American-Economic-Prosperity.pdf の American-Economic-Prosperity。Borrowmoney.com の Borrowmoney は名前)も指しません。語彙表 name-direction-word の向きの語を挟んで同じ二つを逆の順に並べた名前(ASCII to binary と binary to ASCII)は、ある向きとその逆です。漢字に挟まれた「・」は二つを並べる印です(動物園・水族館 と 動物園水族館)。同じ読みの名前でも、語彙表 name-copula に無い助動詞がすぐ後ろに続くもの(白華咲けり)は動詞の語幹で、名前ではありません。大文字で始まる三語以上で、語彙表 name-title-head の語(Act、Commission)で終わるものは、品詞解析の読みと関係なく題と読み、一度だけ書いた題が、二度以上書いた題と一語だけ一字違うもの(National Industrial Recover Act と National Industrial Recovery Act
|
|
107
|
-
en: Only words the tagger reads as proper nouns are checked. Names in capitals only (ACME INC, NASA) are left out, and so is a name inside a passage written in capitals (eGAIN in "eGAIN AND ITS SUPPLIERS MAKE NO WARRANTY"). So is a word whose capitals spell out an acronym in the bracket after it ("axle (Axis-guided eXperience ELicitation)"). A link's brackets are not part of a name. Names one letter apart are reported only when six letters or longer, with the usual form used at least twice and the other once (Iran and Iraq are different names). Two surnames one letter apart under different given names (Jeffrey D. Walker and Christopher J. Waller) belong to two people, and a doubled last letter dropped (License and Licensee) makes another word when the document writes either in lower case. Two Japanese person names are compared only when written with another form of the same character (斎藤 and 斉藤), or read the same with one character different, the usual form used at least twice and the other once (松本 and 松元); 伊藤 and 伊東 can be two people. A name character the tagger has no reading for (汰 in 健汰) is read with its reading from the lexicon name-char-reading (健太 and 健汰), in table cells as well. A person's name is one the tagger reads as such, or one followed by 様, さん or 氏 (when a name holds a character form the tagger cannot read, the two to four kanji before the honorific are taken as the name). The honorific may follow the name after a space. A word the tagger does not read as a given name is taken as one when it follows a surname after a space and carries an honorific (森下 千尋 様). A given name written in kana after a surname and a space is joined with the surname when an honorific or a title follows it, or when it ends a line in a field that names a person (松本 あかり 様). A name without an honorific is compared too when it is two to four kanji standing alone, one form has a lead such as 担当の or 私、 or an honorific, and the other stands before a word such as です, が or までご連絡 (担当の斎藤です and 斉藤までご連絡ください). Places have such pairs as well (鹿島 and 鹿嶋), so two forms with neither a lead nor an honorific are not compared. A company name is one next to a company form from the lexicon (Inc., Ltd., Co., Ltd., LLC), whatever the tagger reads it as. The same name with forms of two kinds (Inc. and Ltd.), and the same name written with other punctuation or width, are reported. A name written with three forms or more (Aoba Inc, Aoba Ltd, Aoba GmbH) is a group of companies, and its forms are not compared. The short and long spelling of one form (Inc and Incorporated) and a name written without its form (Aoba Systems, the "Company") are not. Two names one letter apart are reported only when seven letters or longer, with the same form, and the letter is not a kanji. A name holding kanji is compared when shorter too, for one kana apart inside a kana word of four or more (コモレビ電機 and コモレピ電機), with the usual form used at least twice and the other once. One kanji of a name written in its kana reading (みどり野生命 and みどりの生命) is reported the same way; the reading is the tagger's, taken only from a word of kana and one kanji. A kanji that does not start the name is also matched with its reading voiced at the start (こむぎ畑 and こむぎばたけ). A place name is one ending in a place word from the lexicon (Street, St., Avenue, Station, Center), whatever the tagger reads it as. The same place written with other punctuation (King's Cross and Kings Cross) or with the place word short and long (11th Street and 11th St.) is reported; a place whose name is one letter away (Union Station and Unoin Station) only when the usual form is used at least twice and the other once. Other numbers and other names (1st Street and 2nd Street, North Hall and South Hall) are different places. Table cells are tagged cell by cell, and a cell holding only a name (two to four capitalised words, or two or three kanji or katakana words with a space) is compared with the names read in the prose. Reported are the same name with other punctuation or case, or one word different with the other words the same, either a letter away (Sofia Mendes in the text, Sofia Mendez in the table) or, for a Japanese name, read the same as the prose name (佐々木 美穂 and 佐々木 美保); these only when the prose form is used at least twice and the cell form once. Place names inside table cells are compared too. A word next to a name that the tagger did not read as a name (to Rachel Whitford, with Rachel read as a verb) is read with it when the two together are read as a name elsewhere. Two names with the same given name and a surname of seven letters or more, whose first four letters match and which differ in at most two letters between the shared start and end (three in the longer one), are reported when the usual form is used at least twice and the other once (Rachel Whitford and Rachel Whitfield). A different given name (Daniel Whitfield) or a surname alone is not compared this way. A name with its words in another order (Foundations of Statistics and Statistical Foundations) is reported only when both hold the same words (by stem) and neither contains the other, and one of them is written as a name, in quotation marks, after a label such as "Prerequisite" and a colon, or as a whole table cell. Two Title Case runs alone are not compared (Florida Supreme Court and Supreme Court of Florida), nor are two names joined by "and", two forms written in one sentence (two menu labels side by side, a term and its definition), or a term the document defines. An article alone does not join two words into a name ("this Agreement the Stockholders"). In Japanese, a product name is four or more katakana right before a product-form word from the lexicon (錠, カプセル, クリーム), whatever the tagger reads it as, counted in headings and table cells as well. Two such names with the same form word, differing by one replaced kana or one long-vowel mark (ミナモール錠 and ミナモル錠), are reported when the usual form is used at least twice and the other once. The same name with another form word (ミナモール錠 and ミナモール顆粒) is not, as a product line often has both. In a Japanese name, a character for the same sound (桜ヶ丘 and 桜ケ丘, 霞ヶ関 and 霞が関) is the same only between two kanji, in a name the tagger reads as one word (not 桜が丘, read as 桜, が, 丘). A name without it (桜丘) or with other kanji (桜ヶ岡) is another name. This difference alone is also looked for in the names inside table cells. A model number (four or more capitals and digits, as one word) is read as the document's model only when it is in the title or after a model label from the lexicon (Model, Model No., Part No.); when it appears twice or more, a form that changes only hyphens, spaces, case or width (KM-SP300 and KM-SP-300, KMSP300, km-sp300) is reported. Codes with other letters or digits (KM-SP300 and KM-SP310, a sibling model in a comparison table, the part numbers of a parts list) are different models and are not compared. A word with small letters (iOS17), a version (v1.2 and v1.20), and a code inside a longer code, a URL, a path or a file name (KM-SP300-B, km-sp300.pdf) are not read as model numbers. A standard number written with spaces (JIS C 8714) is not one word, so it is not read as a model even in the title or after a label. Two forms written once each are compared when exactly one of them is in a field that names a person (a label from the lexicon person-label and a colon, with the name ending the line, as in "Contractor:" followed by Priya Raman); the field's form is taken as the usual one and the other is held to the same rules (Priya Raman and Priya Rahman). Two forms both in such fields, or neither, are not compared. Read differently, two full names (surname and given name) are still reported when they differ by one character and the two characters are a lookalike pair from the lexicon name-lookalike-char (太 and 大, 未 and 末), with the usual form used at least twice and the other once (山本 健太 and 山本 健大); a given name alone is not compared this way, as siblings can have such names. In a Latin-script name of two or more words with the other words the same, one word with its last letter dropped or added (Rachel Whitmore and Rachel Whitmor) is reported when the usual form is used at least twice, or is in a field that names the person, and the other once. When that word is the last one (the surname), only if no word before it is written in lower case, or read as a common noun, anywhere in the document (Hurricane Hanna and Hurricane Hannah are two storms); a surname of four letters is then also compared for one letter apart (Daniel Reyes and Daniel Reys; Reyes and Reyna are different surnames). Another word is compared only when eight letters or longer and the name ends in an ordinary word (Hollybrook Residences and Hollybrooke Residences; the given names Christian and Christiane belong to different people). An added s (a plural) or an n after a vowel (Korea and Korean), and a pair where either word is an ordinary word (Green and Greene), are not reported. Two company names with the same form on the same side, differing in one word only, by at most its last two letters in a word of eight or more (Brightmoor and Brightmore) or as the singular and plural of the last word (Water Utility and Water Utilities), are reported when the usual form is used at least twice and the other once. Two one-word names that are both dictionary words, where one with its ending taken off starts the other (a people and its country, Germans and Germany; a singular and its plural, Englishman and Englishmen), are two words and are not reported. A name set in capitals as a roster sets it, with only a surname prefix from the lexicon name-capitals-prefix kept small (MICHAEL T. McCAUL, SCOTT DesJARLAIS), is left out like a name in capitals. A difference of case alone, in a form holding a word in capitals inside quotation marks, is a cited title kept as published ("The TRIDENT Conference") and is not reported. Two names one letter apart are not reported when they differ only in a last letter that the lexicon name-word-ending calls another form (Texan and Texas, Romano and Romans), when the usual form stands in the same sentence (Constantinus and Constantius, two brothers), when the document writes the differing word twice or more (Mrs. Bandle and Richard Bandle beside Bindle), or when the form starts a sentence or a line and both are dictionary words (Sprang and Spring). Nor are two one-word forms when the document writes the pointed form in small letters elsewhere (Stain beside stain and Spain), or writes the usual form so and the pointed form is a dictionary word too (Virgil beside Vigil and vigil; Affliates beside affiliates is still a slip), or two acronyms in capitals with a plural s (SBLCs and SBDCs). A contraction printed with and without its apostrophe after a word the document writes in small letters (Look’ee and Lookee), and a form inside a longer file name or a URL (American-Economic-Prosperity in Low-Tax-Rates-to-Create-American-Economic-Prosperity.pdf, but not Borrowmoney in Borrowmoney.com), are not reported. Two names with the same two sides in the two orders around a direction word from the lexicon name-direction-word (ASCII to binary, binary to ASCII) are a direction and its inverse. ・ between two kanji lists two things (動物園・水族館 beside 動物園水族館). A Japanese name read the same that stands right before an auxiliary not in the lexicon name-copula (白華咲けり) is a verb stem, not a name. Three or more capitalised words ending in a word from the lexicon name-title-head (Act, Commission) are read as a title, whatever the tagger reads the words as, and a title written once with one word one letter away from a title written twice or more (National Industrial Recover Act and National Industrial Recovery Act) is reported.
|
|
106
|
+
ja: 品詞解析が固有名詞と読んだ語だけを見ます。大文字だけの名前(ACME INC、NASA)と、大文字で書いた一節の中の名前(eGAIN AND ITS SUPPLIERS … の eGAIN)は見ません。略語の後ろの括弧の中で、大文字の字が略語をつづる語(axle (Axis-guided eXperience ELicitation) の ELicitation)も見ません。リンクの角括弧は名前に入れません。一字違いの英字の名前は、6 字以上で、多いほうが二度以上、少ないほうが一度だけのときに限ります(Iran と Iraq は別の名前)。名の違う二人の一字違いの姓(Jeffrey D. Walker と Christopher J. Waller)は別の人です。終わりの重なった字の一つの有る無し(License と Licensee)は、どちらかを文書が小文字で書くなら別の語です。人の名前どうしは、字体の違う同じ字(斎藤 と 斉藤、渡辺 と 渡邊)か、読みが同じで一字だけ違い、多いほうが二度以上、少ないほうが一度だけのとき(松本 と 松元)に限ります(伊藤 と 伊東 は別の人のことがある)。解析器が読みを持たない名前の字(健汰 の 汰)は、語彙表 name-char-reading の読みで読みます(健太 と 健汰。表の升の名前も同じ)。人の名前とは、品詞解析が人名と読んだ語か、「様」「さん」「氏」の付いた名前です(解析器が名前と読めない字体の字を含む名前は、敬称の前の 2〜4 字の漢字を名前と読みます)。敬称は名前とのあいだの空白を越えて見ます。品詞解析が名と読まない語も、姓のあとに空白を挟んで書き、敬称が付けば名と読みます(森下 千尋 様)。姓の後ろに空白を挟んでかなで書いた名も、敬称か肩書きが付くか、人を書く欄の行の終わりにあれば、姓とつないで一つの名前と読みます(松本 あかり 様)。敬称の無い名前も、前後に漢字が続かない 2〜4 字の漢字で、片方の書き方に「担当の」「私、」などの前置きか敬称が付き、もう片方が「です」「が」「までご連絡」などの前にあれば比べます(担当の斎藤です と 斉藤までご連絡ください)。地名にも同じ組がある(鹿島 と 鹿嶋)ので、どちらにも前置きも敬称も無いときは比べません。会社の名前は、語彙表の会社の種類の語(株式会社、(株)、有限会社)の隣にあるものを、品詞と関係なく比べます。名前が同じで種類の語が違うもの(株式会社 と 有限会社)、種類の語を名前の反対側に置いたもの(株式会社アオバ と アオバ株式会社)、記号・幅だけが違うものを指します。三つ以上の種類の語で書いた名前(Aoba Inc、Aoba Ltd、Aoba GmbH)は会社のグループで、種類の違いは比べません。同じ種類の語の略した形(株式会社 と (株))、種類の語を省いた呼び名(アオバシステム、以下「アオバ」)は指しません。名前の一字違いは、7 字以上の名前で、違う字が漢字でないときに限ります(日本電気 と 日本電機 は別の会社のことがある)。漢字を含む名前は、7 字に満たなくても、4 字以上のかなの語の中のかな一字違いを、多いほうが二度以上、少ないほうが一度だけのときに指します(コモレビ電機 と コモレピ電機)。名前の漢字一字を、品詞解析が言うその読みのかなで書いた所(みどり野生命 と みどりの生命)も、多いほうが二度以上、かなのほうが一度だけのときに指します。読みは、かなと漢字一字の語からだけ取ります。名前の頭でない字は、頭の音を濁らせた読みで書いたもの(こむぎ畑 と こむぎばたけ)も同じに指します。漢字だけの名前は、品詞解析が固有名詞と読んだときだけ会社の名前と見ます(清算株式会社、当該株式会社)。場所の名前は、語彙表の場所の語(口、駅、センター、ホール)で終わる名前を、品詞と関係なく比べます。記号・幅だけが違うもの(コンベンションセンター と コンベンション・センター)を指し、名前の読みが同じかかなで書いた読みのもの(筑紫口 と ちくし口)と、固有名詞の字の一字違い(八重洲中央口 と 八重州中央口)は、多いほうが二度以上、少ないほうが一度だけのときに限ります。方角や数字の違い(北口 と 南口、第1会議室 と 第2会議室)は別の所なので指しません。表の升は升ごとに品詞解析し、名前の形をした升(空白を挟んだ二つか三つの漢字・カタカナの語)を本文の名前と比べます。記号・幅だけの違い(佐々木 美穂 と 佐々木 美穂)と、本文と同じく読みが同じで一語だけ違うもの(佐々木 美穂 と 佐々木 美保)を指し、後者は本文の形が二度以上、升の形が一度だけのときに限ります。読みの違う一字違い(佐藤 太郎 と 佐藤 次郎)は別の人のことが多いので指しません(英字の名前は一字違いも指します)。場所の名前は表の升の中のものも比べます。英字の人の名前は、名が同じで、7 字以上の姓の頭 4 字以上がそろい、あいだの 2 字(長いほうは 3 字)までだけ違うもの(Rachel Whitford と Rachel Whitfield)も、多いほうが二度以上、少ないほうが一度だけのときに指します。語の順を入れ替えた名前(統計学基礎 と 基礎統計学)は、同じ語(形態素)を違う順に並べ、どちらも他方を含まず、どちらかが括弧の中か「前提科目:」のような欄の後ろか表の升まるごとに書いた名前のときだけ指します(統計学基礎 と 統計学応用 は別の名前)。同じ文に並べて書いた二つ(画面の二つの項目、定義する語とその中身)と、文書が定義した語は比べません。冠詞だけを挟んだ二つの語(this Agreement the Stockholders)は一つの名前にしません。製品の名前は、語彙表の製品の形の語(錠、カプセル、クリーム)のすぐ前の 4 字以上のカタカナを、品詞と関係なく比べます(見出しと表の升の中のものも数えます)。形の語が同じで、名前が一字の置き換えか長音の記号一つの有る無しだけ違い(ミナモール錠 と ミナモル錠)、多いほうが二度以上、少ないほうが一度だけのときに指します。名前が同じで形の語だけが違うもの(ミナモール錠 と ミナモール顆粒)は、同じ製品の別の形のことが多いので指しません。一語の名前の中で同じ音を書く字(桜ヶ丘・桜ケ丘、霞ヶ関・霞が関)は、漢字に挟まれたときだけ同じ字と見ます。品詞解析が一語と読まない書き方(桜・が・丘)は見ません。字を抜いた形(桜丘)や、違う漢字の名前(桜ヶ岡)は別の名前です。この違いだけは、表の升の中の名前とも比べます。型番(英大文字と数字を合わせた 4 字以上の語)は、文書の題か、語彙表の型番の欄の語(型番、品番、型式)の後ろに書いたものだけを文書の型番と読み、文書の中に二度以上出てくるとき、ハイフン・空白・字の大小・幅だけを変えた形(KM-SP300 と KM-SP-300、KMSP300、km-sp300)を指します。字や数の違う型番(KM-SP300 と KM-SP310、比べる表の兄弟機種、部品表の品番)は別の型番なので指しません。英小文字を含む語(iOS17)、版(v1.2 と v1.20)、より長い型番・URL・パス・ファイル名の一部(KM-SP300-B、km-sp300.pdf)は型番と読みません。空白で区切って書く規格の番号(JIS C 8714)は一つの語でないので、題や欄に書いても型番と読みません。一度ずつ書いた二つの形は、片方だけが人を書く欄(語彙表 person-label の語と「:」の後ろで、名前で行が終わるもの。氏名:山下 美咲)にあれば、欄の形を正しい形と見て、もう片方を同じ決まりで比べます(山下 美咲 と 山下 未咲)。どちらも欄にあるか、どちらも欄に無ければ比べません。欄に書いた名と同じ名を空白の後ろに書いたもの(受託者:西村 亮 の文書の 西邑 亮が)は、敬称が無くても人の名前と読みます。読みの違う一字違いでも、姓と名のそろった名前で、違う二字が語彙表 name-lookalike-char の形の似た字の組(太 と 大、未 と 末)なら、多いほうが二度以上、少ないほうが一度だけのときに指します(山本 健太 と 山本 健大。名だけの名前は兄弟のことがあるので比べません)。英字の名前で、ほかの語が同じ二語以上の名前の一語が、終わりの一字の抜けか足しだけ違うもの(Rachel Whitmore と Rachel Whitmor)も、多いほうが二度以上か人を書く欄にあり、少ないほうが一度だけのときに指します。違うのが最後の語(姓)なら、前の語がどれも、文書の中で小文字でも普通名詞としても書かない語のときに限り(Hurricane Hanna と Hurricane Hannah は別の嵐)、4 字の姓の一字違いも指します(Daniel Reyes と Daniel Reys。Reyes と Reyna は別の姓)。最後でない語は、8 字以上で、名前の最後の語がふつうの語のときに限ります(Hollybrook Residences と Hollybrooke Residences。人の名の Christian と Christiane は別の人)。足した字が s(複数)か母音の後ろの n(Korea と Korean)のもの、違う語のどちらかがふつうの語のもの(Green と Greene)は指しません。会社の名前は、形の語も側も同じで、一語だけが、8 字以上の語の終わりの 2 字まで違うもの(Brightmoor と Brightmore)か、最後の語の単数と複数(Water Utility と Water Utilities)も、多いほうが二度以上、少ないほうが一度だけのときに指します。一語の名前の二つがどちらも辞書の語で、片方の語尾を外した語がもう片方の頭にあるもの(民と国の Germans と Germany、単数と複数の Englishman と Englishmen)は、別の二つの語なので指しません。名簿が大文字で組んだ名前(MICHAEL T. McCAUL、SCOTT DesJARLAIS。語彙表 name-capitals-prefix の姓の頭だけを小文字で残す)は、大文字だけの名前と同じく見ません。大文字の語を含む、字の大小だけの違いが引用符の中にあれば、出典の題をそのまま写したもの("The TRIDENT Conference")なので指しません。一字違いの名前でも、語彙表 name-word-ending の言う語尾の一字だけの違い(Texan と Texas、Romano と Romans)、多いほうと同じ文に並べたもの(Constantinus と Constantius の兄弟)、違う語を文書が二度以上書くもの(Bindle のそばの Mrs. Bandle と Richard Bandle)、文か行の頭にあって、どちらも辞書の語のもの(Sprang と Spring)は指しません。一語の二つの形のうち、指す形を文書がほかで小文字で書くもの(stain のある Stain と Spain)か、多いほうの形を小文字で書き、指す形も辞書の語のもの(vigil のある Vigil と Virgil。affiliates のある Affliates は書き損じとして指します)と、複数の s の付いた大文字の略語どうし(SBLCs と SBDCs)も指しません。小文字で書く語の後ろのアポストロフィの有る無しだけの違い(Look’ee と Lookee)と、それより長いファイル名や URL の一部(Low-Tax-Rates-to-Create-American-Economic-Prosperity.pdf の American-Economic-Prosperity。Borrowmoney.com の Borrowmoney は名前)も指しません。語彙表 name-direction-word の向きの語を挟んで同じ二つを逆の順に並べた名前(ASCII to binary と binary to ASCII)は、ある向きとその逆です。漢字に挟まれた「・」は二つを並べる印です(動物園・水族館 と 動物園水族館)。同じ読みの名前でも、語彙表 name-copula に無い助動詞がすぐ後ろに続くもの(白華咲けり)は動詞の語幹で、名前ではありません。大文字で始まる三語以上で、語彙表 name-title-head の語(Act、Commission)で終わるものは、品詞解析の読みと関係なく題と読み、一度だけ書いた題が、二度以上書いた題と一語だけ一字違うもの(National Industrial Recover Act と National Industrial Recovery Act)を指します。英語の一字違いの一語の名前で、語彙表 name-count-article の冠詞(a、an)のすぐ後ろにある辞書の語(Mrs. Coiler のある文書の "A Coiner, a very good workman")は、数える普通名詞なので指しません。語彙表 name-wrong-mark の誤りの印(×、✗)のすぐ後ろに書いた形(表記の手引きの「× Rspec / ○ RSpec」)は、わざと見せた誤りなので指しません。印の後ろにだけ書いた形を多いほうとする書き分けも指しません。
|
|
107
|
+
en: Only words the tagger reads as proper nouns are checked. Names in capitals only (ACME INC, NASA) are left out, and so is a name inside a passage written in capitals (eGAIN in "eGAIN AND ITS SUPPLIERS MAKE NO WARRANTY"). So is a word whose capitals spell out an acronym in the bracket after it ("axle (Axis-guided eXperience ELicitation)"). A link's brackets are not part of a name. Names one letter apart are reported only when six letters or longer, with the usual form used at least twice and the other once (Iran and Iraq are different names). Two surnames one letter apart under different given names (Jeffrey D. Walker and Christopher J. Waller) belong to two people, and a doubled last letter dropped (License and Licensee) makes another word when the document writes either in lower case. Two Japanese person names are compared only when written with another form of the same character (斎藤 and 斉藤), or read the same with one character different, the usual form used at least twice and the other once (松本 and 松元); 伊藤 and 伊東 can be two people. A name character the tagger has no reading for (汰 in 健汰) is read with its reading from the lexicon name-char-reading (健太 and 健汰), in table cells as well. A person's name is one the tagger reads as such, or one followed by 様, さん or 氏 (when a name holds a character form the tagger cannot read, the two to four kanji before the honorific are taken as the name). The honorific may follow the name after a space. A word the tagger does not read as a given name is taken as one when it follows a surname after a space and carries an honorific (森下 千尋 様). A given name written in kana after a surname and a space is joined with the surname when an honorific or a title follows it, or when it ends a line in a field that names a person (松本 あかり 様). A name without an honorific is compared too when it is two to four kanji standing alone, one form has a lead such as 担当の or 私、 or an honorific, and the other stands before a word such as です, が or までご連絡 (担当の斎藤です and 斉藤までご連絡ください). Places have such pairs as well (鹿島 and 鹿嶋), so two forms with neither a lead nor an honorific are not compared. A company name is one next to a company form from the lexicon (Inc., Ltd., Co., Ltd., LLC), whatever the tagger reads it as. The same name with forms of two kinds (Inc. and Ltd.), and the same name written with other punctuation or width, are reported. A name written with three forms or more (Aoba Inc, Aoba Ltd, Aoba GmbH) is a group of companies, and its forms are not compared. The short and long spelling of one form (Inc and Incorporated) and a name written without its form (Aoba Systems, the "Company") are not. Two names one letter apart are reported only when seven letters or longer, with the same form, and the letter is not a kanji. A name holding kanji is compared when shorter too, for one kana apart inside a kana word of four or more (コモレビ電機 and コモレピ電機), with the usual form used at least twice and the other once. One kanji of a name written in its kana reading (みどり野生命 and みどりの生命) is reported the same way; the reading is the tagger's, taken only from a word of kana and one kanji. A kanji that does not start the name is also matched with its reading voiced at the start (こむぎ畑 and こむぎばたけ). A place name is one ending in a place word from the lexicon (Street, St., Avenue, Station, Center), whatever the tagger reads it as. The same place written with other punctuation (King's Cross and Kings Cross) or with the place word short and long (11th Street and 11th St.) is reported; a place whose name is one letter away (Union Station and Unoin Station) only when the usual form is used at least twice and the other once. Other numbers and other names (1st Street and 2nd Street, North Hall and South Hall) are different places. Table cells are tagged cell by cell, and a cell holding only a name (two to four capitalised words, or two or three kanji or katakana words with a space) is compared with the names read in the prose. Reported are the same name with other punctuation or case, or one word different with the other words the same, either a letter away (Sofia Mendes in the text, Sofia Mendez in the table) or, for a Japanese name, read the same as the prose name (佐々木 美穂 and 佐々木 美保); these only when the prose form is used at least twice and the cell form once. Place names inside table cells are compared too. A word next to a name that the tagger did not read as a name (to Rachel Whitford, with Rachel read as a verb) is read with it when the two together are read as a name elsewhere. Two names with the same given name and a surname of seven letters or more, whose first four letters match and which differ in at most two letters between the shared start and end (three in the longer one), are reported when the usual form is used at least twice and the other once (Rachel Whitford and Rachel Whitfield). A different given name (Daniel Whitfield) or a surname alone is not compared this way. A name with its words in another order (Foundations of Statistics and Statistical Foundations) is reported only when both hold the same words (by stem) and neither contains the other, and one of them is written as a name, in quotation marks, after a label such as "Prerequisite" and a colon, or as a whole table cell. Two Title Case runs alone are not compared (Florida Supreme Court and Supreme Court of Florida), nor are two names joined by "and", two forms written in one sentence (two menu labels side by side, a term and its definition), or a term the document defines. An article alone does not join two words into a name ("this Agreement the Stockholders"). In Japanese, a product name is four or more katakana right before a product-form word from the lexicon (錠, カプセル, クリーム), whatever the tagger reads it as, counted in headings and table cells as well. Two such names with the same form word, differing by one replaced kana or one long-vowel mark (ミナモール錠 and ミナモル錠), are reported when the usual form is used at least twice and the other once. The same name with another form word (ミナモール錠 and ミナモール顆粒) is not, as a product line often has both. In a Japanese name, a character for the same sound (桜ヶ丘 and 桜ケ丘, 霞ヶ関 and 霞が関) is the same only between two kanji, in a name the tagger reads as one word (not 桜が丘, read as 桜, が, 丘). A name without it (桜丘) or with other kanji (桜ヶ岡) is another name. This difference alone is also looked for in the names inside table cells. A model number (four or more capitals and digits, as one word) is read as the document's model only when it is in the title or after a model label from the lexicon (Model, Model No., Part No.); when it appears twice or more, a form that changes only hyphens, spaces, case or width (KM-SP300 and KM-SP-300, KMSP300, km-sp300) is reported. Codes with other letters or digits (KM-SP300 and KM-SP310, a sibling model in a comparison table, the part numbers of a parts list) are different models and are not compared. A word with small letters (iOS17), a version (v1.2 and v1.20), and a code inside a longer code, a URL, a path or a file name (KM-SP300-B, km-sp300.pdf) are not read as model numbers. A standard number written with spaces (JIS C 8714) is not one word, so it is not read as a model even in the title or after a label. Two forms written once each are compared when exactly one of them is in a field that names a person (a label from the lexicon person-label and a colon, with the name ending the line, as in "Contractor:" followed by Priya Raman); the field's form is taken as the usual one and the other is held to the same rules (Priya Raman and Priya Rahman). Two forms both in such fields, or neither, are not compared. Read differently, two full names (surname and given name) are still reported when they differ by one character and the two characters are a lookalike pair from the lexicon name-lookalike-char (太 and 大, 未 and 末), with the usual form used at least twice and the other once (山本 健太 and 山本 健大); a given name alone is not compared this way, as siblings can have such names. In a Latin-script name of two or more words with the other words the same, one word with its last letter dropped or added (Rachel Whitmore and Rachel Whitmor) is reported when the usual form is used at least twice, or is in a field that names the person, and the other once. When that word is the last one (the surname), only if no word before it is written in lower case, or read as a common noun, anywhere in the document (Hurricane Hanna and Hurricane Hannah are two storms); a surname of four letters is then also compared for one letter apart (Daniel Reyes and Daniel Reys; Reyes and Reyna are different surnames). Another word is compared only when eight letters or longer and the name ends in an ordinary word (Hollybrook Residences and Hollybrooke Residences; the given names Christian and Christiane belong to different people). An added s (a plural) or an n after a vowel (Korea and Korean), and a pair where either word is an ordinary word (Green and Greene), are not reported. Two company names with the same form on the same side, differing in one word only, by at most its last two letters in a word of eight or more (Brightmoor and Brightmore) or as the singular and plural of the last word (Water Utility and Water Utilities), are reported when the usual form is used at least twice and the other once. Two one-word names that are both dictionary words, where one with its ending taken off starts the other (a people and its country, Germans and Germany; a singular and its plural, Englishman and Englishmen), are two words and are not reported. A name set in capitals as a roster sets it, with only a surname prefix from the lexicon name-capitals-prefix kept small (MICHAEL T. McCAUL, SCOTT DesJARLAIS), is left out like a name in capitals. A difference of case alone, in a form holding a word in capitals inside quotation marks, is a cited title kept as published ("The TRIDENT Conference") and is not reported. Two names one letter apart are not reported when they differ only in a last letter that the lexicon name-word-ending calls another form (Texan and Texas, Romano and Romans), when the usual form stands in the same sentence (Constantinus and Constantius, two brothers), when the document writes the differing word twice or more (Mrs. Bandle and Richard Bandle beside Bindle), or when the form starts a sentence or a line and both are dictionary words (Sprang and Spring). Nor are two one-word forms when the document writes the pointed form in small letters elsewhere (Stain beside stain and Spain), or writes the usual form so and the pointed form is a dictionary word too (Virgil beside Vigil and vigil; Affliates beside affiliates is still a slip), or two acronyms in capitals with a plural s (SBLCs and SBDCs). A contraction printed with and without its apostrophe after a word the document writes in small letters (Look’ee and Lookee), and a form inside a longer file name or a URL (American-Economic-Prosperity in Low-Tax-Rates-to-Create-American-Economic-Prosperity.pdf, but not Borrowmoney in Borrowmoney.com), are not reported. Two names with the same two sides in the two orders around a direction word from the lexicon name-direction-word (ASCII to binary, binary to ASCII) are a direction and its inverse. ・ between two kanji lists two things (動物園・水族館 beside 動物園水族館). A Japanese name read the same that stands right before an auxiliary not in the lexicon name-copula (白華咲けり) is a verb stem, not a name. Three or more capitalised words ending in a word from the lexicon name-title-head (Act, Commission) are read as a title, whatever the tagger reads the words as, and a title written once with one word one letter away from a title written twice or more (National Industrial Recover Act and National Industrial Recovery Act) is reported. A form right after a wrong mark from the lexicon name-wrong-mark (×, ✗), as a style guide lists "✗ Rspec / ✓ RSpec", is a wrong spelling shown on purpose and is not reported, nor is a form whose usual one is written only after such a mark. A one-word form one letter away that is a dictionary word right after an article from the lexicon name-count-article (a, an) is a common noun and is not reported ("A Coiner, a very good workman" beside Mrs. Coiler).
|
|
108
108
|
rewrite:
|
|
109
109
|
depth: light
|
|
110
110
|
ja:
|