chaffjs 0.39.0 → 0.40.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 +3 -2
- package/README.md +2 -1
- package/dist/ai-score/human-shares.d.ts.map +1 -1
- package/dist/ai-score/human-shares.js +1 -0
- package/dist/ai-score/human-shares.js.map +1 -1
- package/dist/alternative-words.d.ts +6 -0
- package/dist/alternative-words.d.ts.map +1 -1
- package/dist/alternative-words.js +10 -0
- package/dist/alternative-words.js.map +1 -1
- package/dist/closing-code.d.ts +8 -0
- package/dist/closing-code.d.ts.map +1 -0
- package/dist/closing-code.js +18 -0
- package/dist/closing-code.js.map +1 -0
- package/dist/date-format.d.ts +19 -1
- package/dist/date-format.d.ts.map +1 -1
- package/dist/date-format.js +41 -5
- package/dist/date-format.js.map +1 -1
- package/dist/detectors/acronym-context.d.ts +1 -1
- package/dist/detectors/acronym-context.d.ts.map +1 -1
- package/dist/detectors/acronym-context.js +3 -2
- package/dist/detectors/acronym-context.js.map +1 -1
- package/dist/detectors/acronym-mention.d.ts +5 -0
- package/dist/detectors/acronym-mention.d.ts.map +1 -1
- package/dist/detectors/acronym-mention.js +16 -0
- package/dist/detectors/acronym-mention.js.map +1 -1
- package/dist/detectors/acronym-name.d.ts +5 -0
- package/dist/detectors/acronym-name.d.ts.map +1 -1
- package/dist/detectors/acronym-name.js +15 -0
- package/dist/detectors/acronym-name.js.map +1 -1
- package/dist/detectors/blank-runs.d.ts +12 -0
- package/dist/detectors/blank-runs.d.ts.map +1 -0
- package/dist/detectors/blank-runs.js +27 -0
- package/dist/detectors/blank-runs.js.map +1 -0
- package/dist/detectors/bold-label.d.ts +3 -1
- package/dist/detectors/bold-label.d.ts.map +1 -1
- package/dist/detectors/bold-label.js +16 -6
- package/dist/detectors/bold-label.js.map +1 -1
- package/dist/detectors/capitalised-term.d.ts.map +1 -1
- package/dist/detectors/capitalised-term.js +28 -9
- package/dist/detectors/capitalised-term.js.map +1 -1
- package/dist/detectors/citation-string.d.ts +6 -0
- package/dist/detectors/citation-string.d.ts.map +1 -1
- package/dist/detectors/citation-string.js +52 -0
- package/dist/detectors/citation-string.js.map +1 -1
- package/dist/detectors/contraction-emphasis.d.ts +3 -0
- package/dist/detectors/contraction-emphasis.d.ts.map +1 -0
- package/dist/detectors/contraction-emphasis.js +24 -0
- package/dist/detectors/contraction-emphasis.js.map +1 -0
- package/dist/detectors/contraction-mention.d.ts +12 -1
- package/dist/detectors/contraction-mention.d.ts.map +1 -1
- package/dist/detectors/contraction-mention.js +39 -6
- package/dist/detectors/contraction-mention.js.map +1 -1
- package/dist/detectors/contraction-mix.d.ts +3 -0
- package/dist/detectors/contraction-mix.d.ts.map +1 -0
- package/dist/detectors/contraction-mix.js +69 -0
- package/dist/detectors/contraction-mix.js.map +1 -0
- package/dist/detectors/date-format.d.ts.map +1 -1
- package/dist/detectors/date-format.js +13 -1
- package/dist/detectors/date-format.js.map +1 -1
- package/dist/detectors/duplicate-definition.d.ts +3 -0
- package/dist/detectors/duplicate-definition.d.ts.map +1 -0
- package/dist/detectors/duplicate-definition.js +16 -0
- package/dist/detectors/duplicate-definition.js.map +1 -0
- package/dist/detectors/final-period-captions.d.ts +15 -0
- package/dist/detectors/final-period-captions.d.ts.map +1 -0
- package/dist/detectors/final-period-captions.js +61 -0
- package/dist/detectors/final-period-captions.js.map +1 -0
- package/dist/detectors/heading-sentences.d.ts +10 -0
- package/dist/detectors/heading-sentences.d.ts.map +1 -0
- package/dist/detectors/heading-sentences.js +32 -0
- package/dist/detectors/heading-sentences.js.map +1 -0
- package/dist/detectors/lexicon.d.ts +1 -2
- package/dist/detectors/lexicon.d.ts.map +1 -1
- package/dist/detectors/lexicon.js +5 -55
- package/dist/detectors/lexicon.js.map +1 -1
- package/dist/detectors/list-lead-in.d.ts +1 -1
- package/dist/detectors/list-lead-in.d.ts.map +1 -1
- package/dist/detectors/list-lead-in.js +31 -10
- package/dist/detectors/list-lead-in.js.map +1 -1
- package/dist/detectors/missing-final-period.d.ts.map +1 -1
- package/dist/detectors/missing-final-period.js +3 -1
- package/dist/detectors/missing-final-period.js.map +1 -1
- package/dist/detectors/numbering-readings.d.ts +2 -2
- package/dist/detectors/numbering-readings.d.ts.map +1 -1
- package/dist/detectors/numbering-readings.js +7 -0
- package/dist/detectors/numbering-readings.js.map +1 -1
- package/dist/detectors/open-end-anaphor.d.ts +8 -0
- package/dist/detectors/open-end-anaphor.d.ts.map +1 -0
- package/dist/detectors/open-end-anaphor.js +22 -0
- package/dist/detectors/open-end-anaphor.js.map +1 -0
- package/dist/detectors/open-end-lead.d.ts +4 -0
- package/dist/detectors/open-end-lead.d.ts.map +1 -0
- package/dist/detectors/open-end-lead.js +34 -0
- package/dist/detectors/open-end-lead.js.map +1 -0
- package/dist/detectors/open-end-scope.d.ts.map +1 -1
- package/dist/detectors/open-end-scope.js +7 -1
- package/dist/detectors/open-end-scope.js.map +1 -1
- package/dist/detectors/ordinal-run-gaps.d.ts +1 -0
- package/dist/detectors/ordinal-run-gaps.d.ts.map +1 -1
- package/dist/detectors/ordinal-run-gaps.js +1 -1
- package/dist/detectors/ordinal-run-gaps.js.map +1 -1
- package/dist/detectors/orthographic-variant-open.d.ts +4 -2
- package/dist/detectors/orthographic-variant-open.d.ts.map +1 -1
- package/dist/detectors/orthographic-variant-open.js +5 -3
- package/dist/detectors/orthographic-variant-open.js.map +1 -1
- package/dist/detectors/orthography.d.ts.map +1 -1
- package/dist/detectors/orthography.js +14 -5
- package/dist/detectors/orthography.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/quote-without-source.d.ts +6 -2
- package/dist/detectors/quote-without-source.d.ts.map +1 -1
- package/dist/detectors/quote-without-source.js +33 -8
- package/dist/detectors/quote-without-source.js.map +1 -1
- package/dist/detectors/register-separate-part.d.ts +7 -0
- package/dist/detectors/register-separate-part.d.ts.map +1 -0
- package/dist/detectors/register-separate-part.js +32 -0
- package/dist/detectors/register-separate-part.js.map +1 -0
- package/dist/detectors/registry/contraction-mix.js +1 -1
- package/dist/detectors/registry/contraction-mix.js.map +1 -1
- package/dist/detectors/registry/duplicate-definition.js +1 -1
- package/dist/detectors/registry/duplicate-definition.js.map +1 -1
- package/dist/detectors/reproduced-text.d.ts +5 -0
- package/dist/detectors/reproduced-text.d.ts.map +1 -0
- package/dist/detectors/reproduced-text.js +19 -0
- package/dist/detectors/reproduced-text.js.map +1 -0
- package/dist/detectors/request-owner.d.ts +2 -1
- package/dist/detectors/request-owner.d.ts.map +1 -1
- package/dist/detectors/request-owner.js +31 -7
- package/dist/detectors/request-owner.js.map +1 -1
- package/dist/detectors/requirement-smell.d.ts.map +1 -1
- package/dist/detectors/requirement-smell.js +16 -5
- package/dist/detectors/requirement-smell.js.map +1 -1
- package/dist/detectors/sentence-counts.d.ts +2 -1
- package/dist/detectors/sentence-counts.d.ts.map +1 -1
- package/dist/detectors/sentence-counts.js +23 -7
- package/dist/detectors/sentence-counts.js.map +1 -1
- package/dist/detectors/sentence-ending.d.ts +1 -0
- package/dist/detectors/sentence-ending.d.ts.map +1 -1
- package/dist/detectors/sentence-ending.js +5 -2
- package/dist/detectors/sentence-ending.js.map +1 -1
- package/dist/detectors/sentence-length.d.ts.map +1 -1
- package/dist/detectors/sentence-length.js +13 -3
- package/dist/detectors/sentence-length.js.map +1 -1
- package/dist/detectors/sentence-parts.d.ts +2 -0
- package/dist/detectors/sentence-parts.d.ts.map +1 -1
- package/dist/detectors/sentence-parts.js +3 -1
- package/dist/detectors/sentence-parts.js.map +1 -1
- package/dist/detectors/signals.d.ts.map +1 -1
- package/dist/detectors/signals.js +6 -4
- package/dist/detectors/signals.js.map +1 -1
- package/dist/detectors/spelling-variety.d.ts.map +1 -1
- package/dist/detectors/spelling-variety.js +20 -2
- package/dist/detectors/spelling-variety.js.map +1 -1
- package/dist/detectors/structure-tree.d.ts +2 -1
- package/dist/detectors/structure-tree.d.ts.map +1 -1
- package/dist/detectors/structure-tree.js +2 -7
- package/dist/detectors/structure-tree.js.map +1 -1
- package/dist/detectors/structure.d.ts.map +1 -1
- package/dist/detectors/structure.js +19 -5
- package/dist/detectors/structure.js.map +1 -1
- package/dist/detectors/token-shape.d.ts.map +1 -1
- package/dist/detectors/token-shape.js +12 -6
- package/dist/detectors/token-shape.js.map +1 -1
- package/dist/detectors/undefined-term.d.ts +5 -0
- package/dist/detectors/undefined-term.d.ts.map +1 -1
- package/dist/detectors/undefined-term.js +22 -1
- package/dist/detectors/undefined-term.js.map +1 -1
- package/dist/detectors/unfilled-placeholder.d.ts.map +1 -1
- package/dist/detectors/unfilled-placeholder.js +15 -1
- package/dist/detectors/unfilled-placeholder.js.map +1 -1
- package/dist/detectors/unknown-word-context.d.ts +7 -0
- package/dist/detectors/unknown-word-context.d.ts.map +1 -1
- package/dist/detectors/unknown-word-context.js +11 -0
- package/dist/detectors/unknown-word-context.js.map +1 -1
- package/dist/detectors/unknown-word.d.ts.map +1 -1
- package/dist/detectors/unknown-word.js +5 -4
- package/dist/detectors/unknown-word.js.map +1 -1
- package/dist/latin-spacing-source.d.ts +12 -0
- package/dist/latin-spacing-source.d.ts.map +1 -0
- package/dist/latin-spacing-source.js +25 -0
- package/dist/latin-spacing-source.js.map +1 -0
- package/dist/name-separator.d.ts.map +1 -1
- package/dist/name-separator.js +4 -1
- package/dist/name-separator.js.map +1 -1
- package/dist/paragraph-length.d.ts +14 -0
- package/dist/paragraph-length.d.ts.map +1 -1
- package/dist/paragraph-length.js +25 -0
- package/dist/paragraph-length.js.map +1 -1
- package/dist/paragraph-runs.d.ts +2 -2
- package/dist/paragraph-runs.d.ts.map +1 -1
- package/dist/paragraph-runs.js +65 -14
- package/dist/paragraph-runs.js.map +1 -1
- package/dist/quote-echo.d.ts +6 -0
- package/dist/quote-echo.d.ts.map +1 -0
- package/dist/quote-echo.js +14 -0
- package/dist/quote-echo.js.map +1 -0
- package/dist/semantic.d.ts.map +1 -1
- package/dist/semantic.js +2 -2
- package/dist/semantic.js.map +1 -1
- package/dist/set-phrase-particles.d.ts +4 -0
- package/dist/set-phrase-particles.d.ts.map +1 -0
- package/dist/set-phrase-particles.js +26 -0
- package/dist/set-phrase-particles.js.map +1 -0
- package/dist/structure/alternative-clause.d.ts +7 -0
- package/dist/structure/alternative-clause.d.ts.map +1 -1
- package/dist/structure/alternative-clause.js +23 -8
- package/dist/structure/alternative-clause.js.map +1 -1
- package/dist/structure/cited-document-section.d.ts +2 -0
- package/dist/structure/cited-document-section.d.ts.map +1 -1
- package/dist/structure/cited-document-section.js +8 -0
- package/dist/structure/cited-document-section.js.map +1 -1
- package/dist/structure/issues.d.ts +3 -1
- package/dist/structure/issues.d.ts.map +1 -1
- package/dist/structure/issues.js +12 -8
- package/dist/structure/issues.js.map +1 -1
- package/dist/structure/numbering.d.ts +10 -1
- package/dist/structure/numbering.d.ts.map +1 -1
- package/dist/structure/numbering.js +41 -4
- package/dist/structure/numbering.js.map +1 -1
- package/dist/structure/unread-label.d.ts +13 -0
- package/dist/structure/unread-label.d.ts.map +1 -0
- package/dist/structure/unread-label.js +70 -0
- package/dist/structure/unread-label.js.map +1 -0
- package/dist/topic-clause.d.ts.map +1 -1
- package/dist/topic-clause.js +15 -2
- package/dist/topic-clause.js.map +1 -1
- package/package.json +3 -3
- package/rules/ai-generated-composite.yaml +1 -0
- package/rules/ai-tell.yaml +6 -2
- package/rules/bold-label-list.yaml +6 -6
- package/rules/closing-cliche.yaml +2 -2
- package/rules/colon-lead-in.yaml +2 -2
- package/rules/contraction-consistency.yaml +2 -2
- package/rules/date-format-consistency.yaml +2 -2
- package/rules/duplicate-definition.yaml +2 -2
- package/rules/honesty-marker.yaml +84 -0
- package/rules/latin-spacing.yaml +6 -4
- package/rules/max-paragraph-length.yaml +2 -2
- package/rules/max-sentence-length.yaml +4 -2
- package/rules/missing-final-period.yaml +2 -2
- package/rules/no-doubled-joshi.yaml +2 -2
- package/rules/no-mixed-desumasu.yaml +2 -2
- package/rules/nominalization.yaml +1 -1
- package/rules/numbering-gap.yaml +2 -2
- package/rules/one-sentence-paragraph-run.yaml +2 -2
- package/rules/orthographic-variant.yaml +2 -2
- package/rules/quote-without-source.yaml +2 -2
- package/rules/request-without-deadline.yaml +2 -2
- package/rules/requirement-smell.yaml +2 -2
- package/rules/spelling-consistency.yaml +4 -4
- package/rules/teki-overuse.yaml +2 -2
- package/rules/topic-predicate-distance.yaml +2 -2
- package/rules/undefined-acronym.yaml +3 -2
- package/rules/undefined-term.yaml +2 -2
- package/rules/unfilled-placeholder.yaml +2 -2
- package/rules/unknown-word.yaml +2 -2
- package/skills/chaff/SKILL.md +2 -1
- package/src/ai-score/human-shares.ts +1 -0
- package/src/alternative-words.ts +15 -0
- package/src/closing-code.ts +21 -0
- package/src/date-format.ts +54 -7
- package/src/detectors/acronym-context.ts +3 -2
- package/src/detectors/acronym-mention.ts +17 -0
- package/src/detectors/acronym-name.ts +18 -0
- package/src/detectors/blank-runs.ts +30 -0
- package/src/detectors/bold-label.ts +22 -6
- package/src/detectors/capitalised-term.ts +36 -9
- package/src/detectors/citation-string.ts +57 -0
- package/src/detectors/contraction-emphasis.ts +46 -0
- package/src/detectors/contraction-mention.ts +52 -6
- package/src/detectors/contraction-mix.ts +94 -0
- package/src/detectors/date-format.ts +18 -2
- package/src/detectors/duplicate-definition.ts +21 -0
- package/src/detectors/final-period-captions.ts +78 -0
- package/src/detectors/heading-sentences.ts +36 -0
- package/src/detectors/lexicon.ts +5 -61
- package/src/detectors/list-lead-in.ts +44 -10
- package/src/detectors/missing-final-period.ts +9 -1
- package/src/detectors/numbering-readings.ts +10 -2
- package/src/detectors/open-end-anaphor.ts +31 -0
- package/src/detectors/open-end-lead.ts +46 -0
- package/src/detectors/open-end-scope.ts +8 -1
- package/src/detectors/ordinal-run-gaps.ts +1 -1
- package/src/detectors/orthographic-variant-open.ts +8 -3
- package/src/detectors/orthography.ts +20 -7
- package/src/detectors/placeholder-text.ts +21 -4
- package/src/detectors/quote-without-source.ts +52 -10
- package/src/detectors/register-separate-part.ts +42 -0
- package/src/detectors/registry/contraction-mix.ts +1 -1
- package/src/detectors/registry/duplicate-definition.ts +1 -1
- package/src/detectors/reproduced-text.ts +33 -0
- package/src/detectors/request-owner.ts +31 -8
- package/src/detectors/requirement-smell.ts +21 -5
- package/src/detectors/sentence-counts.ts +27 -7
- package/src/detectors/sentence-ending.ts +6 -2
- package/src/detectors/sentence-length.ts +18 -3
- package/src/detectors/sentence-parts.ts +4 -1
- package/src/detectors/signals.ts +7 -4
- package/src/detectors/spelling-variety.ts +26 -2
- package/src/detectors/structure-tree.ts +2 -8
- package/src/detectors/structure.ts +22 -6
- package/src/detectors/token-shape.ts +16 -6
- package/src/detectors/undefined-term.ts +26 -1
- package/src/detectors/unfilled-placeholder.ts +20 -2
- package/src/detectors/unknown-word-context.ts +17 -0
- package/src/detectors/unknown-word.ts +15 -4
- package/src/latin-spacing-source.ts +33 -0
- package/src/name-separator.ts +4 -1
- package/src/paragraph-length.ts +31 -0
- package/src/paragraph-runs.ts +71 -13
- package/src/quote-echo.ts +18 -0
- package/src/semantic.ts +2 -3
- package/src/set-phrase-particles.ts +32 -0
- package/src/structure/alternative-clause.ts +32 -7
- package/src/structure/cited-document-section.ts +8 -0
- package/src/structure/issues.ts +19 -9
- package/src/structure/numbering.ts +50 -3
- package/src/structure/unread-label.ts +74 -0
- package/src/topic-clause.ts +16 -2
package/rules/latin-spacing.yaml
CHANGED
|
@@ -11,6 +11,7 @@ uses: [pos]
|
|
|
11
11
|
# 番号と組んで名前を付ける語(問3、第1節)を見分ける。
|
|
12
12
|
# 建物の名前の後ろに空白で区切った階・部屋の番号(本社 5階)を見分ける。
|
|
13
13
|
# 名前だけを並べた行で、組織の名前と名前のあいだの空白(経営企画部 IR担当)を見分ける。
|
|
14
|
+
# 行の頭に図表の札だけを書いた後ろの空白(表 6種類の…)を見分ける。
|
|
14
15
|
extra_word_lists:
|
|
15
16
|
[
|
|
16
17
|
prefecture-unit,
|
|
@@ -25,6 +26,7 @@ extra_word_lists:
|
|
|
25
26
|
organization-unit,
|
|
26
27
|
company-form,
|
|
27
28
|
licence-word,
|
|
29
|
+
figure-label,
|
|
28
30
|
]
|
|
29
31
|
|
|
30
32
|
name:
|
|
@@ -32,8 +34,8 @@ name:
|
|
|
32
34
|
en: Spacing around Latin text is inconsistent
|
|
33
35
|
|
|
34
36
|
why:
|
|
35
|
-
ja: 日本語と英字・数字のあいだを空けるか詰めるかは、どちらでも読めます。困るのは一つの文書の中で混ざることで、読み手には違いに意味があるように見えます。chaff はどちらが正しいかを決めず、文書の中で少ないほうを指摘します。英字と、数字の前、数字の後ろは別々に数えます。「を 3回」のように、数字の前は空けて助数詞とは詰める書き方がふつうにあるからです。「3GBの」のように数字に続く単位は、英字ではなく数字の側として数えます。逆に「H30 等」「EC2 で」「Phase 1 は」のように英字で始まって数字で終わる名前は、英字の側として数えます。「073-489-5909」「2026-06-02」のような番号や、「1.0.0」のような版番号は数量ではないので数えません。日付・時刻(「9月」「2026年」「令和8年」「10月1日」「3時」「10時5分」)も、数と単位を詰めて書く決まりなので、その中の境目も、前の境目(「は 9月」「午後3時」)も数えません。コロンで書いた時刻(「13:30」「後の17:15から」)も同じです。メールアドレスや URL(「privacy@example.com で」)の前後の空白は、アドレスの終わりを示す区切りなので数えません。予約番号や型番のような番号(「予約番号 MN-48215 を」「型番 SB-210 と」)の前後の空白も、番号を文から区切るものなので数えません。長さ(「3ヶ月」「3 時間」「5日で」「3年」)は数量として数えます。題や注の番号として書かれた数(「3.1 リサーチの原則」の節番号、※1 の注番号、行の頭に続き番号で並べた注の番号、番号が増えていく箇条書きの頭の番号、「問3」「図2」のように語のすぐ後ろに書いた番号)、0 で始まる組を含む番号(102-0094)、〒の後ろの郵便番号(〒100-8916)、市・区・町まで下りた地名のすぐ後ろの番地(千代田区紀尾井町1-3)も、後ろの空白が番号と題・項目の区切りなので数えません。建物の名前の後ろに空白で区切って書いた階や部屋の番号(「本社 5階 第2会議室」「研究所 3階 セミナー室」)の前の空白も、所在の組の区切りなので数えません。名前だけを空白で並べた行(「株式会社あおば電子 経営企画部 IR担当」「東京本社 PR室」)で、空白の両側が部署・拠点・役目や会社の名前のときの空白も、名前と名前の区切りなので数えません。「第1節 AI の…」の「第1節」の後ろの空白も同じです。桁の区切りの無い 6 桁以上の番号(「口座番号 3056172 を」)、ナンバープレート(「ひばり野 330 ね 48-15」)の前後と中の空白、「所属:経済学部 経済学科 1年」「振込先:みなと銀行 普通 1234567」のように項目名とコロンの後ろに値の組を並べた行で、組と組のあいだの空白も、値の区切りなので数えません。「最高速度 40km/h」「(内線 3839)」「- 定員 30名」のように、短い項目名と値を空白一つで並べただけの組の、名と値のあいだの空白も同じです(「定員 30
|
|
36
|
-
en: Whether to put a space between Japanese and Latin letters or digits is a choice either way. What reads badly is mixing both in one document, which suggests the difference means something. chaff does not decide which is right; it points at whichever the document uses less. Letters, the space before a digit and the space after one are counted separately, since spacing before a number but not before its counter is common. A unit after a number (3GB) counts with the number; a name that starts with a letter and ends in a digit (H30, EC2, Phase 1) counts with the letters. A code such as a phone number, a date or a version (073-489-5909, 2026-06-02, 1.0.0) is not a quantity and is not counted. Nor is a date or a time written with units (9月, 2026年, 令和8年, 10月1日, 3時, 10時5分), which is packed by convention; neither its inside nor the space before it (は 9月, 午後3時) counts. The same goes for a clock time written with a colon (13:30). Nor is the space beside an e-mail address or a URL (privacy@example.com で), which marks where the address ends, or beside a booking or model number (予約番号 MN-48215 を, 型番 SB-210 と), which sets the number off from the sentence. A length of time (3ヶ月, 3 時間, 5日で, 3年) is a quantity and counts. Neither is a number written as the label of a title or a note (a section number such as 3.1 before its title, a note number after ※, the numbers of notes listed one per line in sequence, numbers opening the items of a list that go up, a number written right after a word such as 問 or 図), a code with a part starting with 0 (102-0094), a postal code after 〒 (〒100-8916), or a hyphenated address number right after a city, ward or town (千代田区紀尾井町1-3), since the space after it separates the label from its title or the next item. Nor is the space before a floor or room number written after the name of a building (本社 5階 第2会議室), which separates the parts of a location. Nor is the space between names on a line of names alone (株式会社あおば電子 経営企画部 IR担当, 東京本社 PR室), when both sides are names of a department, an office, a role or a company, since it separates one name from the next. The same goes for the space after a division such as 第1節. Nor is the space beside a code of six digits or more written without separators (口座番号 3056172 を), around and inside a number plate (ひばり野 330 ね 48-15), or between the parts of a value after a label and a colon (所属:経済学部 経済学科 1年, 振込先:みなと銀行 普通 1234567), which separates the parts of the value. The same goes for the space between a short label and its value written as a pair on their own (最高速度 40km/h, (内線 3839), - 定員 30名); in a sentence (定員 30名で行います) it counts. Nor is the spacing inside a title or a quotation in
|
|
37
|
+
ja: 日本語と英字・数字のあいだを空けるか詰めるかは、どちらでも読めます。困るのは一つの文書の中で混ざることで、読み手には違いに意味があるように見えます。chaff はどちらが正しいかを決めず、文書の中で少ないほうを指摘します。英字と、数字の前、数字の後ろは別々に数えます。「を 3回」のように、数字の前は空けて助数詞とは詰める書き方がふつうにあるからです。「3GBの」のように数字に続く単位は、英字ではなく数字の側として数えます。逆に「H30 等」「EC2 で」「Phase 1 は」のように英字で始まって数字で終わる名前は、英字の側として数えます。「073-489-5909」「2026-06-02」のような番号や、「1.0.0」のような版番号は数量ではないので数えません。日付・時刻(「9月」「2026年」「令和8年」「10月1日」「3時」「10時5分」)も、数と単位を詰めて書く決まりなので、その中の境目も、前の境目(「は 9月」「午後3時」)も数えません。コロンで書いた時刻(「13:30」「後の17:15から」)も同じです。メールアドレスや URL(「privacy@example.com で」)の前後の空白は、アドレスの終わりを示す区切りなので数えません。予約番号や型番のような番号(「予約番号 MN-48215 を」「型番 SB-210 と」)の前後の空白も、番号を文から区切るものなので数えません。長さ(「3ヶ月」「3 時間」「5日で」「3年」)は数量として数えます。題や注の番号として書かれた数(「3.1 リサーチの原則」の節番号、※1 の注番号、行の頭に続き番号で並べた注の番号、番号が増えていく箇条書きの頭の番号、「問3」「図2」のように語のすぐ後ろに書いた番号)、0 で始まる組を含む番号(102-0094)、〒の後ろの郵便番号(〒100-8916)、市・区・町まで下りた地名のすぐ後ろの番地(千代田区紀尾井町1-3)も、後ろの空白が番号と題・項目の区切りなので数えません。建物の名前の後ろに空白で区切って書いた階や部屋の番号(「本社 5階 第2会議室」「研究所 3階 セミナー室」)の前の空白も、所在の組の区切りなので数えません。名前だけを空白で並べた行(「株式会社あおば電子 経営企画部 IR担当」「東京本社 PR室」)で、空白の両側が部署・拠点・役目や会社の名前のときの空白も、名前と名前の区切りなので数えません。「第1節 AI の…」の「第1節」の後ろの空白も同じです。桁の区切りの無い 6 桁以上の番号(「口座番号 3056172 を」)、ナンバープレート(「ひばり野 330 ね 48-15」)の前後と中の空白、「所属:経済学部 経済学科 1年」「振込先:みなと銀行 普通 1234567」のように項目名とコロンの後ろに値の組を並べた行で、組と組のあいだの空白も、値の区切りなので数えません。「最高速度 40km/h」「(内線 3839)」「- 定員 30名」のように、短い項目名と値を空白一つで並べただけの組の、名と値のあいだの空白も同じです(「定員 30名で行います」のように文の中にあれば数えます)。鉤括弧(「」『』)や引用符(“”)で引いた題名や発言の中も、リンクの文字の中も、文献の記載の行(「佐藤翔. 題. 誌名. 2019, (26), p. 136-147.」)も、空け方は引いた元のものなので数えません。空けた所と詰めた所が同じ数なら、少ないほうが無いので 1 箇所ずつは指さず、1 対 1 なら何も言いません。
|
|
38
|
+
en: Whether to put a space between Japanese and Latin letters or digits is a choice either way. What reads badly is mixing both in one document, which suggests the difference means something. chaff does not decide which is right; it points at whichever the document uses less. Letters, the space before a digit and the space after one are counted separately, since spacing before a number but not before its counter is common. A unit after a number (3GB) counts with the number; a name that starts with a letter and ends in a digit (H30, EC2, Phase 1) counts with the letters. A code such as a phone number, a date or a version (073-489-5909, 2026-06-02, 1.0.0) is not a quantity and is not counted. Nor is a date or a time written with units (9月, 2026年, 令和8年, 10月1日, 3時, 10時5分), which is packed by convention; neither its inside nor the space before it (は 9月, 午後3時) counts. The same goes for a clock time written with a colon (13:30). Nor is the space beside an e-mail address or a URL (privacy@example.com で), which marks where the address ends, or beside a booking or model number (予約番号 MN-48215 を, 型番 SB-210 と), which sets the number off from the sentence. A length of time (3ヶ月, 3 時間, 5日で, 3年) is a quantity and counts. Neither is a number written as the label of a title or a note (a section number such as 3.1 before its title, a note number after ※, the numbers of notes listed one per line in sequence, numbers opening the items of a list that go up, a number written right after a word such as 問 or 図), a code with a part starting with 0 (102-0094), a postal code after 〒 (〒100-8916), or a hyphenated address number right after a city, ward or town (千代田区紀尾井町1-3), since the space after it separates the label from its title or the next item. Nor is the space before a floor or room number written after the name of a building (本社 5階 第2会議室), which separates the parts of a location. Nor is the space between names on a line of names alone (株式会社あおば電子 経営企画部 IR担当, 東京本社 PR室), when both sides are names of a department, an office, a role or a company, since it separates one name from the next. The same goes for the space after a division such as 第1節. Nor is the space beside a code of six digits or more written without separators (口座番号 3056172 を), around and inside a number plate (ひばり野 330 ね 48-15), or between the parts of a value after a label and a colon (所属:経済学部 経済学科 1年, 振込先:みなと銀行 普通 1234567), which separates the parts of the value. The same goes for the space between a short label and its value written as a pair on their own (最高速度 40km/h, (内線 3839), - 定員 30名); in a sentence (定員 30名で行います) it counts. Nor is the spacing inside a title or a quotation in 「」, 『』 or “”, inside the text of a link, or on a line of a bibliographic entry (佐藤翔. Title. Journal. 2019, (26), p. 136-147.), which is the source's, not the writer's. When both ways are used equally often there is no minority, so no place is singled out, and a one-to-one tie is not reported.
|
|
37
39
|
|
|
38
40
|
message:
|
|
39
41
|
ja: "日本語と{kind}のあいだを{style}(この文書はふつう{usual}。{of} 箇所のうち {count} 箇所が違う)"
|
|
@@ -71,8 +73,8 @@ example:
|
|
|
71
73
|
表は Excel で作り、Word に貼ります。図は PowerPoint で描きます。最後に PDF にします。
|
|
72
74
|
|
|
73
75
|
not_flagged:
|
|
74
|
-
ja: 電話番号や日付のような番号、版番号(1.0.0)、予約番号や型番(MN-48215)の前後、単位つきの日付や時刻(9月、10時5分)、AM・PM を付けた時刻(9:30AM)の後ろ、建物の名前の後ろに空白で区切った階や部屋の番号(本社 5階)の前、名前だけを並べた行の名前と名前のあいだ(経営企画部 IR担当)、6 桁以上の番号やナンバープレートの前後、項目名とコロンの後ろの値の組のあいだ(所属:経済学科 1年)、項目名と値のあいだ(Bronzeプラン 10万円 (税込))、日本語の句をつなぐ英語の語の前後(名前 or メッセージ)、英字の語に付けた接尾の語(PDF版、IT化)の前、チャンネルや宛先の名前(#pj_oss-team、@sato)の後ろ、見出しの番号、行の頭の項目の番号(「一 JIS
|
|
75
|
-
en: Codes such as phone numbers, dates and version numbers (1.0.0), the spaces beside a booking or model number (MN-48215), dates and times with units (9月, 10時5分), the space after a time with AM or PM (9:30AM), the space before a floor or room number after the name of a building (本社 5階), the space between names on a line of names alone (経営企画部 IR担当), the spaces beside a code of six digits or more or a number plate, the space between the parts of a value after a label and a colon (所属:経済学科 1年), the space between a label and its value (Bronzeプラン 10万円 (税込)), the spaces around an English word joining Japanese phrases (名前 or メッセージ), the boundary before a suffix bound to a Latin word (PDF版, IT化), the boundary after a channel or handle name (#pj_oss-team, @sato), heading numbers, the space after an item number at the head of a line (一 JIS…), quotations, 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.
|
|
76
|
+
ja: 電話番号や日付のような番号、版番号(1.0.0)、予約番号や型番(MN-48215)の前後、単位つきの日付や時刻(9月、10時5分)、AM・PM を付けた時刻(9:30AM)の後ろ、建物の名前の後ろに空白で区切った階や部屋の番号(本社 5階)の前、名前だけを並べた行の名前と名前のあいだ(経営企画部 IR担当)、6 桁以上の番号やナンバープレートの前後、項目名とコロンの後ろの値の組のあいだ(所属:経済学科 1年)、項目名と値のあいだ(Bronzeプラン 10万円 (税込))、日本語の句をつなぐ英語の語の前後(名前 or メッセージ)、英字の語に付けた接尾の語(PDF版、IT化)の前、チャンネルや宛先の名前(#pj_oss-team、@sato)の後ろ、見出しの番号、行の頭の項目の番号(「一 JIS…」の一、イ)の後ろ、行の頭に図表の札だけを書いた後ろ(表 6種類の…)、名前だけを並べた行の空白を含む組織の名前の前(初等中等教育局 GIGA StuDX(…)推進チーム)、「」と“”の中、文献の記載の行、変換で区切りが消えて一続きになった数の表の数の前後、リンクの文字の中、文書の最後に掲載先が付けた利用条件の断り書き(ライセンスの名前と条件の URL を書いた短い段落)は数えません。どちらの空け方が正しいかは決めません。少ないほうが全体の 2 割を超えるほど多ければ(5 箇所以上)、また二通りが 2 箇所以上ずつの同数なら、1 箇所ずつではなく、書き方が二通りあることを 1 件で言います。1 対 1 の同数は言いません。
|
|
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.
|
|
76
78
|
level_meaning:
|
|
77
79
|
ja: 少ないほうの空け方が {limit} 箇所あれば指摘
|
|
78
80
|
en: reported once {limit} places go against the document's habit
|
|
@@ -71,8 +71,8 @@ example:
|
|
|
71
71
|
Next term we will review the evening range and hand out subscription leaflets in store.
|
|
72
72
|
|
|
73
73
|
not_flagged:
|
|
74
|
-
ja:
|
|
75
|
-
en: A paragraph of many short sentences is not reported, as long as it is shorter than that many sentences of ordinary length.
|
|
74
|
+
ja: 文の数が多くても、短い文を重ねただけの段落(普通の長さの文を上限の数だけ並べたより短いもの)は指しません。【0001】や【従来の技術】のような【】のラベルだけの行は段落の切れ目と読みます。番号付きの見出しに改行なしで本文が続く段落(2【沿革】1893年…、改行の落ちた写し)は、段落の切れ目が分からないので測りません。
|
|
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
78
|
en: up to {limit} sentences in a paragraph
|
|
@@ -3,6 +3,8 @@ layer: L1
|
|
|
3
3
|
status: stable
|
|
4
4
|
how_to_find: sentence-length
|
|
5
5
|
word_list: page-marker
|
|
6
|
+
# 他の文書をそのまま写した段落を、その前置き(reads as follows:)から見分ける。
|
|
7
|
+
extra_word_lists: [verbatim-lead]
|
|
6
8
|
severity: info
|
|
7
9
|
|
|
8
10
|
name:
|
|
@@ -102,9 +104,9 @@ example:
|
|
|
102
104
|
|
|
103
105
|
not_flagged:
|
|
104
106
|
ja: >-
|
|
105
|
-
見出し、表のセル、コードは数えません。句点の無い、名前や肩書きを「、」で並べただけの行(出席者の一覧)も数えません。印刷版を文字にした文書が文の途中に残すページの印(「( printed page 52044)」「- 12 -」)も数えません。脚注の文献の記載(著者 (2025), "題," 出版者)は、その前に書き手が置いた言葉(For example, see …)だけを数えます。句点で閉じた文を二つ以上引いた「」(「…転落。…入院。」)は、引いた文を一つずつ、括弧の外を別に測ります。句点の無い「項目:値」の行が続くもの(日時:…/場所:…)は一行ずつ、変換で区切りが消えて一続きになった表(桁区切りの崩れた数字の列、行頭の年月が前のセルに続く年表)はセルごとに測ります。コロンの後に引いた「"…"」は括弧の外と別に測ります。仕様書の文法(name = a / b)、引用記号で始まる法令や文書の列挙(See, e.g., 12 C.F.R. § …; …)は数えません。英文の題名の後の括弧書きは括弧の中だけを、文書の参照(番号、"題名"、(日付)
|
|
107
|
+
見出し、表のセル、コードは数えません。句点の無い、名前や肩書きを「、」で並べただけの行(出席者の一覧)も数えません。印刷版を文字にした文書が文の途中に残すページの印(「( printed page 52044)」「- 12 -」)も数えません。脚注の文献の記載(著者 (2025), "題," 出版者)は、その前に書き手が置いた言葉(For example, see …)だけを数えます。句点で閉じた文を二つ以上引いた「」(「…転落。…入院。」)は、引いた文を一つずつ、括弧の外を別に測ります。句点の無い「項目:値」の行が続くもの(日時:…/場所:…)は一行ずつ、変換で区切りが消えて一続きになった表(桁区切りの崩れた数字の列、行頭の年月が前のセルに続く年表)はセルごとに測ります。コロンの後に引いた「"…"」は括弧の外と別に測ります。仕様書の文法(name = a / b)、引用記号で始まる法令や文書の列挙(See, e.g., 12 C.F.R. § …; …)は数えません。英文の題名の後の括弧書きは括弧の中だけを、文書の参照(番号、"題名"、(日付))は題名を除いて数えます。引用記号で始まる脚注(See …)は、引いた法令や文書の名前・"題名"・略称や番号の括弧を除いた言葉だけを数えます。他の文書をそのまま写した文(文書がほかで名前を挙げて引いている法律を見出しにした節の条、「reads as follows:」のような前置きの次の段落)は数えません。法令や論文のように長い一文が普通の種類では、ジャンルが上限を長くします。
|
|
106
108
|
en: >-
|
|
107
|
-
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 …"). 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. Genres where long sentences are normal (statutes, papers) raise the limit.
|
|
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 …"). 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.
|
|
108
110
|
level_meaning:
|
|
109
111
|
ja: 一文 {limit} 字まで
|
|
110
112
|
en: up to {limit} words in a sentence
|
|
@@ -54,8 +54,8 @@ example:
|
|
|
54
54
|
審査の結果は郵送でお知らせしました。
|
|
55
55
|
|
|
56
56
|
not_flagged:
|
|
57
|
-
ja: 日本語の文書だけで動きます。十五字に満たない行、「:」で終わる行、※ や * で始まる注の行、空白を二つ続けて並べた行、名詞や連用形で終わる行(受付時間の案内、可能性あり)は文として数えません。閉じ括弧で終わる行(〜をご覧ください)と、「?」「!」で終わる行、定義の箇条で、語の下に「:」で始めて書いた説明(プレビュー の下の
|
|
58
|
-
en: Only in Japanese documents. Lines under fifteen characters, lines ending in :, note lines starting with ※ or *, lines laid out with two spaces in a row, and lines ending in a noun or a continuative form are not counted as sentences, nor are lines ending in a closing bracket, ? or !, or a paragraph opened by a colon under a term, the description in a definition list (プレビュー, then :入力した内容をプレビューできます). A document whose paragraphs mostly end without 。 (slides, lists) is not reported.
|
|
57
|
+
ja: 日本語の文書だけで動きます。十五字に満たない行、「:」で終わる行、※ や * で始まる注の行、空白を二つ続けて並べた行、名詞や連用形で終わる行(受付時間の案内、可能性あり)は文として数えません。閉じ括弧で終わる行(〜をご覧ください)と、「?」「!」で終わる行、定義の箇条で、語の下に「:」で始めて書いた説明(プレビュー の下の :入力した内容をプレビューできます)も数えません。いくつもの見出しのすぐ下に置いた一行の要約、一行の語と「。」で閉じた説明が三組以上続くときの語、空行をはさまずに三行以上続けた一行の項目(目次)は、その型の行がどれも「。」で終わらなければ、文でなく見出しや項目として数えません。段落の多くが「。」で終わらない文書(スライド、一覧)は指しません。
|
|
58
|
+
en: Only in Japanese documents. Lines under fifteen characters, lines ending in :, note lines starting with ※ or *, lines laid out with two spaces in a row, and lines ending in a noun or a continuative form are not counted as sentences, nor are lines ending in a closing bracket, ? or !, or a paragraph opened by a colon under a term, the description in a definition list (プレビュー, then :入力した内容をプレビューできます). A one-line summary right under each of several sibling headings, the term line of three or more term-then-explanation pairs, and three or more one-line items on consecutive lines (a table of contents) are captions, not sentences, when none of the lines in that slot ends with 。. A document whose paragraphs mostly end without 。 (slides, lists) is not reported.
|
|
59
59
|
level_meaning:
|
|
60
60
|
ja: 「。」の無い段落が {limit}% までなら指摘
|
|
61
61
|
en: reported while paragraphs without 。 are at most {limit}% of the counted paragraphs
|
|
@@ -42,8 +42,8 @@ example:
|
|
|
42
42
|
after: 本社営業部にある第二課の方針を確認しました。
|
|
43
43
|
|
|
44
44
|
not_flagged:
|
|
45
|
-
ja: 読点で区切った並び、=・:・→ で区切った句、「」や『』の中の題名や引用、行の頭のリンクで引いた外のページの題名、文の中に書いた法律の題名(障害者等の移動等の円滑化の促進に関する法律)は数えません。括弧(】や )
|
|
46
|
-
en: Items separated by commas, phrases separated by =, a colon or an arrow, titles or quotations inside 「」 or 『』, the title of an outside page quoted by a link at a line's head, the title of a law written in the sentence (障害者等の移動等の円滑化の促進に関する法律), and the の before an honorific for a group of people when that form of address goes on with の (国民の皆様の期待, 被災者の方々の暮らし), are not counted. A bracket (】 or ")") ends the run even when the parser joins it to the next word.
|
|
45
|
+
ja: 読点で区切った並び、=・:・→ で区切った句、「」や『』の中の題名や引用、行の頭のリンクで引いた外のページの題名、文の中に書いた法律の題名(障害者等の移動等の円滑化の促進に関する法律)は数えません。括弧(】や ))は、解析器が次の語とつなげて読んでも連なりを切ります。人の集まりを敬って呼ぶ語の前の「の」も、その呼び方が「の」で次の語に係るとき(国民の皆様の期待、被災者の方々の暮らし)は一つの呼び方の中なので数えません。決まった言い回しの中の「の」(絶滅のおそれのある種の「おそれのある」)も、一語のように読むので数えません。
|
|
46
|
+
en: Items separated by commas, phrases separated by =, a colon or an arrow, titles or quotations inside 「」 or 『』, the title of an outside page quoted by a link at a line's head, the title of a law written in the sentence (障害者等の移動等の円滑化の促進に関する法律), and the の before an honorific for a group of people when that form of address goes on with の (国民の皆様の期待, 被災者の方々の暮らし), are not counted. Nor is the の inside a set phrase read as one word (おそれのある, "at risk of", in 絶滅のおそれのある種). A bracket (】 or ")") ends the run even when the parser joins it to the next word.
|
|
47
47
|
level_meaning:
|
|
48
48
|
ja: 同じ助詞の連続 {limit} 回まで
|
|
49
49
|
en: up to {limit} of the same particle in a row
|
|
@@ -64,8 +64,8 @@ example:
|
|
|
64
64
|
新しい料金は来月から始まります。請求書の形式も変わります。支払いの期限は月末です。古い料金は三月で終わります。
|
|
65
65
|
|
|
66
66
|
not_flagged:
|
|
67
|
-
ja: どちらの調子が正しいかは決めません。多いほうに揃っていない、少ないほうの文だけを指します。本文と箇条書きは別々に数えます。箇条書きの中の少ないほうが文書全体では多いほうなら、その文は指しません。項目や段落の頭の太字の札(「- **速く書ける。** 説明です。」の「速く書ける。」)は見出しと同じく文に数えません。免責や変更の予告を書いた段落(「…ご了承ください。」)が、2 文以上すべて文書の多いほうと違う同じ調子でそろっているときも、本文とは別の決まり文句として数えません。読み手の相談や質問を載せる節(見出しが「【相談事例等】」「ご質問内容」)の文も、尋ねた人の言葉のままなので数えません。文書の最後に掲載先が付けた利用条件の断り書き(ライセンスの名前と条件の URL を書いた短い段落)も数えません。札を付けて引いた言葉(「例:」「Q:」で始まる文、「用例」だけの段落の下の段落)、「■
|
|
68
|
-
en: Neither register is called right; only the sentences in the minority are pointed at. The body and each list are counted apart, and a sentence in a list's minority is left alone when its register is the document's majority. A bold label that opens an item or a paragraph and is followed by more text on its line is a heading, not a sentence. A paragraph of disclaimer or notice wording (…ご了承ください。) whose two or more sentences all share the register the rest of the document does not use is boilerplate in its own voice and is not counted. Nor are the sentences of a section whose heading names what a reader asked (【相談事例等】, ご質問内容), since they quote the asker in their own words. Nor is a licence notice the publisher appends at the end (a short closing paragraph that names a licence and links to its terms). Nor are words quoted under a label (a sentence opening with 例: or Q:, the paragraph under a lone 用例), the value under a marked field label (■ 調査目的), a contact block (a paragraph with a 〒 or 電話: line),
|
|
67
|
+
ja: どちらの調子が正しいかは決めません。多いほうに揃っていない、少ないほうの文だけを指します。本文と箇条書きは別々に数えます。箇条書きの中の少ないほうが文書全体では多いほうなら、その文は指しません。項目や段落の頭の太字の札(「- **速く書ける。** 説明です。」の「速く書ける。」)は見出しと同じく文に数えません。免責や変更の予告を書いた段落(「…ご了承ください。」)が、2 文以上すべて文書の多いほうと違う同じ調子でそろっているときも、本文とは別の決まり文句として数えません。読み手の相談や質問を載せる節(見出しが「【相談事例等】」「ご質問内容」)の文も、尋ねた人の言葉のままなので数えません。文書の最後に掲載先が付けた利用条件の断り書き(ライセンスの名前と条件の URL を書いた短い段落)も数えません。札を付けて引いた言葉(「例:」「Q:」で始まる文、「用例」だけの段落の下の段落)、「■ 調査目的」のような印付きの札の行の下の記入欄の値、〒や「電話:」の行がある問い合わせ先の段落、一つの文の中に「?」で並べて引いた問い(…一覧か?順序付きか?などです。)、一番上の見出し(#)が二つ以上ある文書で、その見出しの下の 2 文以上がみな文書の多いほうと違う同じ調子でそろった部分(通達の後ろに付いた、ページの説明)も数えません。数えたうえで指さないのは、丁寧な形でしか言わない挨拶(お疲れ様でした。)、相手への願い(信じてほしい。)、条件だけで問う文(…だったら?)、演説で主語を言わずに決意を言い切る文(戦争の惨禍を、二度と繰り返さない。)、次の文が「そんな」「こんな」「これだけで」で受ける場面や行いの書き出し(PDFが送れない。そんなときは…)、「!」で終わる叫び(わかるかっ!)、※で始まる行の注記、文で終わらない行の塊に前後を挟まれた表のセル(制限なし。)です。
|
|
68
|
+
en: Neither register is called right; only the sentences in the minority are pointed at. The body and each list are counted apart, and a sentence in a list's minority is left alone when its register is the document's majority. A bold label that opens an item or a paragraph and is followed by more text on its line is a heading, not a sentence. A paragraph of disclaimer or notice wording (…ご了承ください。) whose two or more sentences all share the register the rest of the document does not use is boilerplate in its own voice and is not counted. Nor are the sentences of a section whose heading names what a reader asked (【相談事例等】, ご質問内容), since they quote the asker in their own words. Nor is a licence notice the publisher appends at the end (a short closing paragraph that names a licence and links to its terms). Nor are words quoted under a label (a sentence opening with 例: or Q:, the paragraph under a lone 用例), the value under a marked field label (■ 調査目的), a contact block (a paragraph with a 〒 or 電話: line), questions run together inside one sentence (…一覧か?順序付きか?などです。), or, in a document with two top-level (#) headings or more, a part under one of them whose two or more sentences all share the register the rest of the document does not use (a page's note about the directive it carries). Counted but never pointed at are a greeting said only politely (お疲れ様でした。), a wish to others (信じてほしい。), a question that gives only a condition (…だったら?), a speaker declaring a resolve without a subject in a speech (戦争の惨禍を、二度と繰り返さない。), a scene-setting opener the next sentence takes up with そんな, こんな or これだけで, a cry that ends in an exclamation mark (わかるかっ!), a note on a line opening with ※, and a table cell set out between runs of lines that do not end as sentences (制限なし。).
|
|
69
69
|
level_meaning:
|
|
70
70
|
ja: 少ないほうの調子の文が {limit} 文以下のとき、それを指摘
|
|
71
71
|
en: reported when the minority register has {limit} sentences or fewer
|
|
@@ -61,7 +61,7 @@ example:
|
|
|
61
61
|
We will analyze the results and decide next week.
|
|
62
62
|
|
|
63
63
|
not_flagged:
|
|
64
|
-
ja:
|
|
64
|
+
ja: 「する」を付けても動詞にならない名詞(イベントを行う)、「を実施する」が催す意味になる語(研修を実施する、授業を行う)や、「する」を付けた動詞が無いか別の意味になる語(施策を実施する、支援措置を実施する。語は語彙表 nominalization-event-noun)、「勉強をする」のような「〜をする」、文書の長さに対して少ないものは見ません。短すぎる文書も測りません。
|
|
65
65
|
en: Phrases not on chaff's list, and a document where they are few for its length, are not reported. Very short documents are not measured.
|
|
66
66
|
level_meaning:
|
|
67
67
|
ja: 1000 字あたり「〜を実施する」のような名詞化した動詞 {limit} 個まで
|
package/rules/numbering-gap.yaml
CHANGED
|
@@ -79,5 +79,5 @@ example:
|
|
|
79
79
|
Working hours are from nine to six.
|
|
80
80
|
|
|
81
81
|
not_flagged:
|
|
82
|
-
ja: 同じ親の下で隣り合う番号だけを比べます。別の章の番号どうしは比べません。括弧で囲んだ番号((1))と囲まない番号(2)は、別の並びとして比べます。どの項目にも同じ番号(「1.」)を書いた箇条書きと、引用の中の箇条書きは見ません。箇条書きの番号は、同じ字下げの番号どうしで比べます(字下げの深いものは入れ子の並び)。Markdown の HTML ブロック(`<br/>` だけの行から次の空行まで)の中の文字は読めないので、そこを挟んだ抜けは言いません。手順の番号の代わりに「and」と書いた見出し(前の手順と並べて行う手順)は番号を一つ使ったものと読み、その分の飛びは言いません。ひな形の契約が、前の条と同じ番号で「変更オプション条項」と見出しか直前の行に書いた条(その条の代わりに選ぶ別案)は番号を使わないものと読み、番号を空けた条(第●条)の後は項の番号を振り直します。日程の番号(第N週、Week N)は、表の最初の欄、箇条書きの頭、行の頭に並べば比べます。三つに満たない並び、見出しか表の見出し行が「抜粋」「主な」のように一部だけと言うもの、番号の多くが飛ぶもの(選んだ週だけの表)を比べません。年まで書いた日付で始まる見出し(8 December 2022)の日は番号ではありません。米国の法典が一行にまとめて書いた番号(「(c)(1) …」)は、(c) とその下の (1)
|
|
83
|
-
en: Only numbers side by side under the same parent are compared. Bracketed numbers ("(1)") and bare ones ("2") are compared as separate runs. A list that writes the same number on every item ("1." on each) and a list inside a quotation are not checked. A list's numbers are compared with those at the same indentation (deeper ones are a nested run). Text inside a Markdown HTML block (from a line holding only `<br/>` to the next blank line) is not read, so a gap across one is not reported. A step headed "and" in place of its number (done alongside the step before) is read as taking a number, so the skip it leaves is not reported. In a model contract, a clause that repeats the number before it and is named an alternative in its heading or the line before ("Alternative", 変更オプション条項), offered instead of that clause, takes no number, and the paragraph numbers start again after a clause whose number is left blank (Section [●], 第●条). A schedule's numbers (Week N, Session N) are compared when they lead table rows, list items or lines; a run shorter than three, one whose heading or header row says it shows only some ("Selected weeks", "Highlights"), and one where most numbers skip (a table of chosen weeks) are not compared. The day that opens a heading dated with its year (8 December 2022) is not a number in a sequence. Labels a US statute joins on one line ("(c)(1) Whenever…") are read as (c) and the (1) under it.
|
|
82
|
+
ja: 同じ親の下で隣り合う番号だけを比べます。別の章の番号どうしは比べません。括弧で囲んだ番号((1))と囲まない番号(2)は、別の並びとして比べます。どの項目にも同じ番号(「1.」)を書いた箇条書きと、引用の中の箇条書きは見ません。箇条書きの番号は、同じ字下げの番号どうしで比べます(字下げの深いものは入れ子の並び)。Markdown の HTML ブロック(`<br/>` だけの行から次の空行まで)の中の文字は読めないので、そこを挟んだ抜けは言いません。手順の番号の代わりに「and」と書いた見出し(前の手順と並べて行う手順)は番号を一つ使ったものと読み、その分の飛びは言いません。ひな形の契約が、前の条と同じ番号で「変更オプション条項」と見出しか直前の行に書いた条(その条の代わりに選ぶ別案)は番号を使わないものと読み、番号を空けた条(第●条)の後は項の番号を振り直します。日程の番号(第N週、Week N)は、表の最初の欄、箇条書きの頭、行の頭に並べば比べます。三つに満たない並び、見出しか表の見出し行が「抜粋」「主な」のように一部だけと言うもの、番号の多くが飛ぶもの(選んだ週だけの表)を比べません。年まで書いた日付で始まる見出し(8 December 2022)の日は番号ではありません。米国の法典が一行にまとめて書いた番号(「(c)(1) …」)は、(c) とその下の (1) として読みます。抜けた番号が、木の読まない形で本文に書いてあれば(前の行の終わりに続けた「(d)」、見出しの後ろに並べた「(11)」、同じ形の行の頭の「6.2」、幅の違う「3.」)、抜けとは言いません。「抜粋」のように一部だけと言う見出しの下に引いた条の飛びも言いません。一つの番号だけが繰り返す並び(用語集の見出しの Section 508 …)は名前で、番号の並びとして比べません。
|
|
83
|
+
en: Only numbers side by side under the same parent are compared. Bracketed numbers ("(1)") and bare ones ("2") are compared as separate runs. A list that writes the same number on every item ("1." on each) and a list inside a quotation are not checked. A list's numbers are compared with those at the same indentation (deeper ones are a nested run). Text inside a Markdown HTML block (from a line holding only `<br/>` to the next blank line) is not read, so a gap across one is not reported. A step headed "and" in place of its number (done alongside the step before) is read as taking a number, so the skip it leaves is not reported. In a model contract, a clause that repeats the number before it and is named an alternative in its heading or the line before ("Alternative", 変更オプション条項), offered instead of that clause, takes no number, and the paragraph numbers start again after a clause whose number is left blank (Section [●], 第●条). A schedule's numbers (Week N, Session N) are compared when they lead table rows, list items or lines; a run shorter than three, one whose heading or header row says it shows only some ("Selected weeks", "Highlights"), and one where most numbers skip (a table of chosen weeks) are not compared. The day that opens a heading dated with its year (8 December 2022) is not a number in a sequence. Labels a US statute joins on one line ("(c)(1) Whenever…") are read as (c) and the (1) under it. A skip is not reported when the missing number is written where the tree does not read it (a "(d)" run into the end of the line before, a "(11)" joined to the heading before, a "6.2" at the start of a line of the same kind, a "3." in another width), nor across articles quoted under a heading that says it is an excerpt. A run that repeats one number only (glossary headwords Section 508 …) is a name, not a sequence.
|
|
@@ -65,8 +65,8 @@ example:
|
|
|
65
65
|
In the room, no food or drink is allowed. Put the desks back when you leave.
|
|
66
66
|
|
|
67
67
|
not_flagged:
|
|
68
|
-
ja: 上限までの一文の段落、見出し・箇条書き・表・コードを挟んだ段落、改行一つでつないだ行、文の終わりの印(。..!?)で終わらない段落(「日時:」のような札、項目、平文にした表の欄)、○・※
|
|
69
|
-
en: One-sentence paragraphs up to the limit, paragraphs separated by a heading, a list, a table or code, lines joined by a single line break, and paragraphs that do not end with a sentence mark (a label such as Date:, a field, a cell of a table written as plain text), paragraphs that open with a mark such as ○, ・ or ※ (items marked by hand), and the entries of a reference list (paragraphs under a References heading, or opening with a label such as [7] or [RFC2119]) are not counted together. The legal and literature presets turn it off, since a clause, a definition, a line of dialogue or of verse stands alone by form.
|
|
68
|
+
ja: 上限までの一文の段落、見出し・箇条書き・表・コードを挟んだ段落、改行一つでつないだ行、文の終わりの印(。..!?)で終わらない段落(「日時:」のような札、項目、平文にした表の欄)、○・※ などの印や(1)・(i)・① のような番号で始まる段落(手で印や番号を付けた項目の並び)、「次のとおりです:」のようにコロンで終わる前置きの後に続く短い段落(印の消えた箇条書きの項目)、どれも同じ三語で始まる段落の並び(英語のように語を空白で区切る文書で、一つの型で書いた項目)、文献一覧の項目(参考文献などの見出しの下の段落と、[7] や [RFC2119] のような番号で始まる段落)は数えません。法務と文学のジャンルでは既定で止めています(条項や定義、台詞や詩の行は、一文ずつ立てるのが形のため)。
|
|
69
|
+
en: One-sentence paragraphs up to the limit, paragraphs separated by a heading, a list, a table or code, lines joined by a single line break, and paragraphs that do not end with a sentence mark (a label such as Date:, a field, a cell of a table written as plain text), paragraphs that open with a mark such as ○, ・ or ※ or a number such as (1), (i) or ① (items marked by hand), the short paragraphs after a lead-in ending with a colon (Follow these steps:, the items of a list that lost its markup), a run whose paragraphs all open with the same three words (entries written in one frame), and the entries of a reference list (paragraphs under a References heading, or opening with a label such as [7] or [RFC2119]) are not counted together. The legal and literature presets turn it off, since a clause, a definition, a line of dialogue or of verse stands alone by form.
|
|
70
70
|
level_meaning:
|
|
71
71
|
ja: 一文だけの段落の連続 {limit} 個まで
|
|
72
72
|
en: up to {limit} one-sentence paragraphs in a row
|
|
@@ -56,8 +56,8 @@ example:
|
|
|
56
56
|
Send the form by email. We answer every email within a day. Attach the receipt to the email.
|
|
57
57
|
|
|
58
58
|
not_flagged:
|
|
59
|
-
ja: 読みが同じでも漢字の違う語(書く・描く)、補助動詞・形式名詞と本来の使い方の書き分け(見て下さい・資料を下さい)、書き分けが意味の違いになる語(成る・なる、言う・いう。法務のジャンルでは、法令の書き方で書き分ける 時・とき、物・もの、在る・ある も)、名詞と動詞(払込み・払い込む、申出・申し出る。辞書が名詞を動詞と読んでも)、二つの語に読める漢字の書き方(行っ は 行く とも 行う とも読み、「様を」の様は さま)、語末の「ー」だけの違い(katakana-long-vowel
|
|
60
|
-
en: The case of a word's first letter (Email, email; Long-Term, long-term) is not a spelling, nor is a word in capitals only (emphasis or an acronym), nor a name in capitals with an ending (SENDs, OPENed), nor the letters of an acronym picked out beside it (CLImatology next to CLIPER), nor a word inside a passage written in capitals (eGAIN in a disclaimer), nor a name coined from capitalised pieces that are not words (Medi-Cal beside medical). A name spelled with capitals (HBase) is still compared. In Japanese, words whose kanji and kana forms mean different things (成る and なる) are not compared, 方 and ほう are compared only before が or で (早いほうが), since elsewhere 方 is mostly the person (担当の方に), nor a label opening a sentence (the (答) of a Q&A), a bracketed spelling in a sentence that names other spellings ((くもり)、(曇)とも書く), kana たつ beside 立つ, since たつ is also time passing (経つ), a numeral (the 三 of 三十), kana written onto a pronoun (私みたような) or okurigana cut off a word (誂らえる); the head of a compound verb (出来上る), an adverb opening a sentence as a conjunction (――もっとも) and a katakana spelling that names a sense (モノ for goods) are compared apart from the word on its own (できる, 最も, もの), while the conjunction さらに、 and the adverb 更に are one word and are compared; in the legal genres each justice's separate opinion (裁判官甲の反対意見は次のとおりである。) is compared only within itself; the judging みる (〜とみられる) and いえる (〜とはいえない) are compared apart from looking and saying (資料を見る, 一概には言えない), and in the legal genres neither are 時 and とき, 物 and もの or 在る and ある, which legal drafting writes apart. A noun and a verb (払込み and 払い込む) are different words, even where the analyser reads the noun as the verb. Hyphenated words that are another word (re-sign, resign), part of an address (github.com), anything in quotation marks (single ones too, as an opinion quotes a statute over several sentences), the title of an outside page quoted by a link at a line's head, an entry of a reference list and a citation written as a sentence (See Kay and King (2020), Radical Uncertainty …), the words an acronym stands for (Communication Access Realtime Translation (CART), VADER (Valence Aware Dictionary and sEntiment Reasoner)), a hashtag (#vimconf), a surname a roster sets in capitals (MICHAEL T. McCAUL), the hyphens of a capitalised name where the word is otherwise written with or without them (the Interagency Group beside inter-agency), a Japanese reading in brackets right after a word (HTTP(えいちてぃーてぃーぴー)), a Japanese company name written with its form (青葉硝子㈱) and the team's names are not compared. Nothing is reported when the minority is more than a third. The literature preset turns it off, since old spelling belongs to its time. Nor is a kanji spelling that reads as two words (行っ, read as 行く or 行う; 様 before を, read さま) compared with the kana of the reading the tokenizer picked.
|
|
59
|
+
ja: 読みが同じでも漢字の違う語(書く・描く)、補助動詞・形式名詞と本来の使い方の書き分け(見て下さい・資料を下さい)、書き分けが意味の違いになる語(成る・なる、言う・いう。法務のジャンルでは、法令の書き方で書き分ける 時・とき、物・もの、在る・ある も)、名詞と動詞(払込み・払い込む、申出・申し出る。辞書が名詞を動詞と読んでも)、二つの語に読める漢字の書き方(行っ は 行く とも 行う とも読み、「様を」の様は さま)、語末の「ー」だけの違い(katakana-long-vowel が見ます)、鉤括弧や引用符の中(判決が法令を文をまたいで引く一重の引用符も)と、引用した句を地の文でそのまま繰り返した所、行の頭のリンクで引いた外のページの題名、語の直後のふりがなの括弧の中(HTTP(えいちてぃーてぃーぴー))、会社の名前(青葉硝子㈱、株式会社の前後の名前)、施設や組織の名前(こども動物園、〜センター)、番号を付けて引いた法令の題名(愛がん動物用飼料の安全性の確保に関する法律(平成20年法律第83号))、引用のすぐ後ろの括弧の書き下し(「天子有道」(天子に道有らば))、文献一覧と文の形で書いた文献の引用、略語の元の語(Communication Access Realtime Translation (CART))、#を付けたハッシュタグ、chaff.yaml の names に書いた名前は見ません。「でもって」(以て)、「と」の後の「いたす」(議題といたします)、複合動詞の後ろの動詞(貼り付ける の 付ける)は、それだけの動詞(持つ、思いを致す、つける)と別に比べます。一語の副詞や語(ただいま、昨日来)、熟語の頭の一字の漢字(曇雨天の曇)、切られたカタカナの名前(ラオカイ のカイ)も比べません。「方」と「ほう」は「が」「で」の前(早いほうが)だけで比べ、人の「方」の多い所(担当の方に)は比べません。文の頭の丸括弧の印(問答の(答))、別の書き方を言う文の丸括弧の中((くもり)、(曇)とも書く。)、漢数字(三十の三)、代名詞に続けたかな(私みたような)、切られた送りがな(誂らえる)も比べません。かなの「たつ」は、時がたつにも立つにも読めるので「立つ」と比べません。複合動詞の頭(出来上る)、文の頭の接続詞(――もっとも)、意味を変えるカタカナ(品物のモノ)は、それだけの語(できる、最も、もの)と別に比べます。接続詞の「さらに、」と副詞の「更に」は同じ語として比べます。法務のジャンルでは、判決の裁判官ごとの意見(裁判官甲の反対意見は次のとおりである。)を、その意見の中だけで比べます。名詞に続けて書いたかなの名詞(全員ぶん)と慣用句の動詞(気をつける)、見立ての「みる」(〜とみられる、増加がみられる)と評価を言う「いえる」(〜とはいえない)は、同じ読みの語(文、名札を付ける、資料を見る)と別に比べます。英字は、頭の字の大文字小文字(Email と email)と、大文字だけの語(強調や略語)、大文字の名前に語尾が付いた語(関数名の SENDs)、名簿の大文字の名字(MICHAEL T. McCAUL)、同じ文の略語の字を示した語(CLIPER と並ぶ CLImatology)、大文字で書いた一節の中の語(免責の段落の eGAIN)、大文字で始まる語でないかけらをハイフンでつないだ名前(medical と並ぶ Medi-Cal)、大文字で始まる語を並べた名前の中のハイフン(inter-agency と並ぶ the Interagency Group)を書き方の違いにしません(HBase のような名前の大文字は比べます)。少ないほうが三分の一を超えるときも言いません。文学のジャンルでは既定で止めています(その時代の書き方のため)。
|
|
60
|
+
en: The case of a word's first letter (Email, email; Long-Term, long-term) is not a spelling, nor is a word in capitals only (emphasis or an acronym), nor a name in capitals with an ending (SENDs, OPENed), nor the letters of an acronym picked out beside it (CLImatology next to CLIPER), nor a word inside a passage written in capitals (eGAIN in a disclaimer), nor a name coined from capitalised pieces that are not words (Medi-Cal beside medical). A name spelled with capitals (HBase) is still compared. In Japanese, words whose kanji and kana forms mean different things (成る and なる) are not compared, 方 and ほう are compared only before が or で (早いほうが), since elsewhere 方 is mostly the person (担当の方に), nor a label opening a sentence (the (答) of a Q&A), a bracketed spelling in a sentence that names other spellings ((くもり)、(曇)とも書く), kana たつ beside 立つ, since たつ is also time passing (経つ), a numeral (the 三 of 三十), kana written onto a pronoun (私みたような) or okurigana cut off a word (誂らえる); the head of a compound verb (出来上る), an adverb opening a sentence as a conjunction (――もっとも) and a katakana spelling that names a sense (モノ for goods) are compared apart from the word on its own (できる, 最も, もの), while the conjunction さらに、 and the adverb 更に are one word and are compared; in the legal genres each justice's separate opinion (裁判官甲の反対意見は次のとおりである。) is compared only within itself; the judging みる (〜とみられる) and いえる (〜とはいえない) are compared apart from looking and saying (資料を見る, 一概には言えない), and in the legal genres neither are 時 and とき, 物 and もの or 在る and ある, which legal drafting writes apart. A noun and a verb (払込み and 払い込む) are different words, even where the analyser reads the noun as the verb. Hyphenated words that are another word (re-sign, resign), part of an address (github.com), anything in quotation marks (single ones too, as an opinion quotes a statute over several sentences) and a phrase the writer repeats word for word from a quotation in the document, the title of an outside page quoted by a link at a line's head, an entry of a reference list and a citation written as a sentence (See Kay and King (2020), Radical Uncertainty …), the words an acronym stands for (Communication Access Realtime Translation (CART), VADER (Valence Aware Dictionary and sEntiment Reasoner)), a hashtag (#vimconf), a surname a roster sets in capitals (MICHAEL T. McCAUL), the hyphens of a capitalised name where the word is otherwise written with or without them (the Interagency Group beside inter-agency), a Japanese reading in brackets right after a word (HTTP(えいちてぃーてぃーぴー)), a Japanese company name written with its form (青葉硝子㈱) and the team's names are not compared. Nothing is reported when the minority is more than a third. The literature preset turns it off, since old spelling belongs to its time. Nor is a kanji spelling that reads as two words (行っ, read as 行く or 行う; 様 before を, read さま) compared with the kana of the reading the tokenizer picked.
|
|
61
61
|
level_meaning:
|
|
62
62
|
ja: 少ないほうが語の {limit}% 以下のとき指摘
|
|
63
63
|
en: reported when the minority spelling is {limit}% of the word's uses or less
|
|
@@ -57,5 +57,5 @@ example:
|
|
|
57
57
|
As one engineer put it, "adding people to a late project only makes it later" ([source](https://example.com/essay)). Before adding people, ask whether the work can be split.
|
|
58
58
|
|
|
59
59
|
not_flagged:
|
|
60
|
-
ja: 短い鉤括弧(「保存」ボタン、「出典」という語)は語や名前を引いたもので、人の言葉ではないので見ません。誰かに帰する言い回しが引用のすぐ後ろ(「…」と述べた)か少し前(によれば「…」)に無い引用は、書き手自身の言葉か、題名や言い換えなので見ません。「…」と述べる方が適切です、「…」と書くべきです、のように言い方を勧める続きは、人の言葉を引いていないので見ません(続きの一覧は語彙表 quote-advice
|
|
61
|
-
en: 'A short quotation (the "Save" button, the word "source") names a word or a thing, not someone''s words, and is not read. A quotation with no such words right after it or shortly before it is the writer''s own words, a title or a paraphrase. In Japanese, words right after the quotation that suggest a wording rather than quote it (「…」と述べる方が適切です) are not read either, unless a word before the quotation gives it to someone; the word list quote-advice holds them. English has no such list yet. A link, a URL, a footnote ([^1]), a numbered citation ([3]) or a year in brackets ((1975)) in the same paragraph counts as a source. A `>` block quotation with no dash line ("— Name") does not say whose words it holds and is not read; a dash line with a year or a link ("— Name, Title (1975)") counts as a source. Whether the source is right is not checked here: `chaff cite` checks that. Blog posts, essays and papers are read. An organisation''s articles quote the people they interviewed, and press releases and reports quote their own people or documents named by title, so they are left out by default, with manuals, specifications, contracts and statutes, fiction and speech.'
|
|
60
|
+
ja: 短い鉤括弧(「保存」ボタン、「出典」という語)は語や名前を引いたもので、人の言葉ではないので見ません。誰かに帰する言い回しが引用のすぐ後ろ(「…」と述べた)か少し前(によれば「…」)に無い引用は、書き手自身の言葉か、題名や言い換えなので見ません。「…」と述べる方が適切です、「…」と書くべきです、のように言い方を勧める続きは、人の言葉を引いていないので見ません(続きの一覧は語彙表 quote-advice にあります)。引用の前に誰かに帰する言い回しがあれば(山田氏によれば「…」と言う方が適切だ)、勧めでも人の言葉として見ます。同じ文で引用より前に「たとえば」がある例(たとえば「…」と書いて送る)、閉じ括弧のすぐ後ろが「と言われて、」「と言われても」のように言われる側の言い方の引用、空白の無い英語の一語("core_claim_false")、英語で物に書かれた言葉(a sign that said "…")も、人の言葉を引いていないので見ません(語彙表 quote-not-attribution)。同じ段落か、空行をはさまずに続く行にリンク、URL、脚注([^1])、番号の引用([3])、括弧の中の年((1975)、(1999年))があれば、出典を書いたと見ます。「— 名前」の行が無い `>` の引用は、誰の言葉かを示していないので見ません。「— 名前、書名(1975)」のように名前の行に年やリンクがあれば、出典を書いたと見ます。出典が正しいかは見ません。それは `chaff cite` が照らします。記事(ブログ、エッセイ)と論文で見ます。組織の記事は取材した人の言葉を、プレスリリースや報告書は自分たちの言葉や題名で示した文書を引くので、手順書、仕様、契約や法令、小説、話し言葉とあわせて既定で止めています。
|
|
61
|
+
en: 'A short quotation (the "Save" button, the word "source") names a word or a thing, not someone''s words, and is not read. A quotation with no such words right after it or shortly before it is the writer''s own words, a title or a paraphrase. In Japanese, words right after the quotation that suggest a wording rather than quote it (「…」と述べる方が適切です) are not read either, unless a word before the quotation gives it to someone; the word list quote-advice holds them. English has no such list yet. Nor are words made up as an example (For instance, a user says "…"), words written on a thing (a sign that said "…"), or a quotation of one word with no space ("core_claim_false"); the word list quote-not-attribution holds these shapes. A link, a URL, a footnote ([^1]), a numbered citation ([3]) or a year in brackets ((1975)) in the same paragraph, or on a line written right next to it with no blank line between, counts as a source. A `>` block quotation with no dash line ("— Name") does not say whose words it holds and is not read; a dash line with a year or a link ("— Name, Title (1975)") counts as a source. Whether the source is right is not checked here: `chaff cite` checks that. Blog posts, essays and papers are read. An organisation''s articles quote the people they interviewed, and press releases and reports quote their own people or documents named by title, so they are left out by default, with manuals, specifications, contracts and statutes, fiction and speech.'
|
|
@@ -60,8 +60,8 @@ example:
|
|
|
60
60
|
I have no other questions.
|
|
61
61
|
|
|
62
62
|
not_flagged:
|
|
63
|
-
ja:
|
|
64
|
-
en: Only requests for an action whose completion can be checked (review, reply, send) are read. Courtesy requests, conditional offers ("If you have questions, let me know"), open offers ("Please send any questions to me"), invitations ("Please come and register") and a request on a contact line (a "Fax" or "Phone" label and its number) are not. A deadline or owner in the same or the next sentence is enough; so is a timing in the request itself ("after you pay"), or a heading above it that names the deadline. A section of its own for the deadline (headed only "DATES:" or "Deadline", with a deadline word and a date in it) gives every request after it
|
|
63
|
+
ja: 確認・返信・提出のように、済んだかどうかが後で分かる動作を頼む文だけを見ます。「ご了承ください」のような心構えの依頼、「ご不明な点があれば、ご連絡ください」のような条件付きの申し出、「ご質問はメールでお送りください」のような質問を受け付ける申し出、「ご相談ください」「お越しください」のような誘い、連絡先の行(「電話:」)と同じ文の依頼は見ません。期限か担当が、その文か次の文にあれば指しません。「ご提出いただく前に」「送信後、」のように、いつするかを依頼の文が言っていれば期限と読みます。見出しが期限を言っていれば(「見積提出期限:…」「【随時受付】」)、その下の依頼はその期限を受け継ぎます。締め切りだけを書く節(見出しが「提出期限」「判断の期限」「DATES:」だけで、締め切りの語と日付がある)があれば、その後ろの依頼と、同じ見出しの下で前に並ぶ節(提案の「結論」)の依頼は、どれもその締め切りを持ちます。「ぜひ参加をご検討ください」は誘いなので見ません。題が「(諮問)」の文書は、審議会に期限を付けずに審議を頼む文書なので見ません。しないように頼む文(「送らないでください」「ご遠慮ください」)は禁止なので見ません。ビジネスの文書でだけ動きます。
|
|
64
|
+
en: Only requests for an action whose completion can be checked (review, reply, send) are read. Courtesy requests, conditional offers ("If you have questions, let me know"), open offers ("Please send any questions to me"), invitations ("Please come and register") and a request on a contact line (a "Fax" or "Phone" label and its number) are not. A deadline or owner in the same or the next sentence is enough; so is a timing in the request itself ("after you pay"), or a heading above it that names the deadline. A section of its own for the deadline (headed only "DATES:" or "Deadline", with a deadline word and a date in it) gives that deadline to every request after it, and to the requests in the sections before it at its own level under the same heading (a proposal's "Summary"). In Japanese, 「ぜひ参加をご検討ください」 ("do consider joining") is an invitation, and a document titled 「(諮問)」, which asks a council to deliberate, carries no deadline by its kind. A request not to do something ("Please do not submit comments by email") forbids and is not read. Business documents only.
|
|
65
65
|
rewrite:
|
|
66
66
|
depth: light
|
|
67
67
|
ja:
|
|
@@ -74,5 +74,5 @@ example:
|
|
|
74
74
|
config: { genre: technical/spec }
|
|
75
75
|
|
|
76
76
|
not_flagged:
|
|
77
|
-
ja: 要求の文でない文(説明や背景)、法令、ブログやビジネス文書は見ません。語彙表にない言い方は指しません。文書が定めた名前の「等」(以下「委託先等」という、銀行等(…をいう。)、定義の号の頭の語、次の段落で定義する項目だけを書いた語(9
|
|
78
|
-
en: Sentences that state no requirement (background, explanation), statutes, and blogs and business documents are not checked. Phrases not on chaff's lists are not reported. In Japanese, an open word in the clause that describes what the requirement is about (SNSなどを通じて…行う取引は、…必要があります) is not reported, since it is not in what the reader is asked to do. An open-ended word inside a name the document defines (a quoted term, one defined in the brackets after it, or one an item of a definition list holds alone and the next paragraph defines) is not reported. "As soon as possible" followed in the same sentence by a limit in numbers ("but in any event no later than two days after") is bounded, and not reported. In a contract, "including, but not limited to" is a term of art that keeps the listed examples from narrowing the class, and is not reported. In Japanese, 等 right before the words that name the kind it gives examples of (印刷等、二次的に利用, "secondary use, such as printing") is not reported either. Nor is a Japanese 等 in a condition (訂正等を行った際に), a right the writer grants (できるものとする) or a prohibition or disclaimer (てはならない, ないものとする), because such a list is kept wide on purpose, or an open list in brackets right after a condition word (場合(…等), "in cases (…, etc.)"), which gives examples of when the requirement applies.
|
|
77
|
+
ja: 要求の文でない文(説明や背景)、法令、ブログやビジネス文書は見ません。語彙表にない言い方は指しません。文書が定めた名前の「等」(以下「委託先等」という、銀行等(…をいう。)、定義の号の頭の語、次の段落で定義する項目だけを書いた語(9 書面等)と、監査等委員会のように後ろへ語が続く「等」は、列挙を閉じているので指しません。すぐ後ろで種類を名指す「等」(印刷等、二次的に利用される場合/印刷等の二次的利用)も、一覧がその種類の例なので指しません。条件(訂正等を行った際に)、与える権利(消去等できるものとします)、禁止や免責(転載等をしてはならない、責任を負わないものとします)の中の「等」も、わざと広く取った一覧なので指しません。「しないこと。」「ではないこと。」で閉じる文(禁止や否定)、権利が誰のものかを定める文(帰属するものとする、留保されるものとします)、「次の行為をしてはならない。」の下に並ぶ項目の中の「等」も同じです。「当該」「前記」で始まる一覧(当該改良、改善等)は前に挙げた一覧を指し直すだけなので、そこでは指しません。要求が何についてかを説明する節の中の「など」(SNSなどを通じて知り合った人と行う取引は、…必要があります)も、果たす義務の中にないので指しません。条件の語のすぐ後ろの括弧の中の「等」(不要な場合(一つの表だけを読むとき等)も付けること)は、いつ当てはまるかの例なので指しません。英語の as soon as possible は、同じ文に日数の期限(no later than two days after)があれば、期限が決まっているので指しません。英語の but not limited to(including, but not limited to)は、契約書では例の一覧で範囲を狭めないための決まった言い方なので、契約書では指しません。
|
|
78
|
+
en: Sentences that state no requirement (background, explanation), statutes, and blogs and business documents are not checked. Phrases not on chaff's lists are not reported. In Japanese, an open word in the clause that describes what the requirement is about (SNSなどを通じて…行う取引は、…必要があります) is not reported, since it is not in what the reader is asked to do. An open-ended word inside a name the document defines (a quoted term, one defined in the brackets after it, or one an item of a definition list holds alone and the next paragraph defines) is not reported. "As soon as possible" followed in the same sentence by a limit in numbers ("but in any event no later than two days after") is bounded, and not reported. In a contract, "including, but not limited to" is a term of art that keeps the listed examples from narrowing the class, and is not reported. In Japanese, 等 right before the words that name the kind it gives examples of (印刷等、二次的に利用, "secondary use, such as printing") is not reported either. Nor is a Japanese 等 in a condition (訂正等を行った際に), a right the writer grants (できるものとする) or a prohibition or disclaimer (てはならない, ないものとする), because such a list is kept wide on purpose; the same holds for a sentence closed by a negation (しないこと, ではないこと), one that says who holds a right (帰属するものとする, 留保されるものとします), and the items of a list under a lead that forbids them (次の行為をしてはならない). A Japanese list opened by a pointing word (当該改良、改善等, "the said improvements, etc.") names one given before and is not reported again; or an open list in brackets right after a condition word (場合(…等), "in cases (…, etc.)"), which gives examples of when the requirement applies.
|
|
@@ -12,8 +12,8 @@ name:
|
|
|
12
12
|
en: British and American spellings are mixed
|
|
13
13
|
|
|
14
14
|
why:
|
|
15
|
-
ja: colour と color、centre と center、organise と organize のように、イギリスとアメリカの綴りはどちらも正しい英語です。困るのは一つの文書の中で混ざることで、検索で別の語になり、別の人が書いた段落がそこだけ違って見えます。chaff はどちらが正しいかを決めず、文書の中で少ないほうを指摘します。-ise と -ize は別に比べます(Oxford の綴りは colour と organize を一緒に使うため)。文の頭でないのに大文字で始まる語(Labor Day、World Health Organization)は名前なので数えず、引用符の中と引用符で引いた語(‘organize
|
|
16
|
-
en: British and American spellings (colour and color, centre and center, organise and organize) are both correct English. What reads badly is mixing them in one document, which makes search treat them as different words and makes another writer's paragraph stand out. chaff does not decide which is right; it points at whichever the document uses less. -ise and -ize are compared on their own, since Oxford spelling writes colour with organize. A word capitalised in the middle of a sentence (Labor Day, World Health Organization) is a name and is not counted, nor is anything in quotation marks
|
|
15
|
+
ja: colour と color、centre と center、organise と organize のように、イギリスとアメリカの綴りはどちらも正しい英語です。困るのは一つの文書の中で混ざることで、検索で別の語になり、別の人が書いた段落がそこだけ違って見えます。chaff はどちらが正しいかを決めず、文書の中で少ないほうを指摘します。-ise と -ize は別に比べます(Oxford の綴りは colour と organize を一緒に使うため)。文の頭でないのに大文字で始まる語(Labor Day、World Health Organization)は名前なので数えず、引用符の中と引用符で引いた語(‘organize’)、斜線で並べた二つの綴り(analyse/analyze)、文献一覧の中(引いた文献の題や出版者の名前はその文献の綴り)も数えません。古い文学の綴りは時代のものなので、文学のジャンルでは既定で止めています。少ないほうが三分の一を超える文書は、使い分けている(引用や固有の用語)と見て言いません。
|
|
16
|
+
en: British and American spellings (colour and color, centre and center, organise and organize) are both correct English. What reads badly is mixing them in one document, which makes search treat them as different words and makes another writer's paragraph stand out. chaff does not decide which is right; it points at whichever the document uses less. -ise and -ize are compared on their own, since Oxford spelling writes colour with organize. A word capitalised in the middle of a sentence (Labor Day, World Health Organization) is a name and is not counted, nor is anything in quotation marks, a word quoted on its own (‘organize’), the two spellings named side by side (analyse/analyze), or a reference list (a cited title or publisher keeps its own spelling). The literature preset turns it off, since old spelling belongs to its time. It says nothing when the minority is more than a third, since the document then mixes them on purpose (quotations, fixed terms).
|
|
17
17
|
|
|
18
18
|
message:
|
|
19
19
|
ja: 「{matched}」と書いています(この文書はふつう「{other}」の綴り。{of} 箇所のうち {count} 箇所が違う)
|
|
@@ -42,8 +42,8 @@ example:
|
|
|
42
42
|
The colour of the logo is blue. The colour of the button is green. The colour of the link is red.
|
|
43
43
|
|
|
44
44
|
not_flagged:
|
|
45
|
-
ja: どちらの綴りが正しいかは決めません。-ise と -ize は別に比べるので、Oxford の綴り(colour と organize)はそろっていると見ます。文の途中で大文字で始まる名前(Labor Day
|
|
46
|
-
en: Neither spelling is called right. -ise and -ize are compared on their own, so Oxford spelling (colour with organize) is consistent. Names capitalised mid-sentence (Labor Day) and
|
|
45
|
+
ja: どちらの綴りが正しいかは決めません。-ise と -ize は別に比べるので、Oxford の綴り(colour と organize)はそろっていると見ます。文の途中で大文字で始まる名前(Labor Day)、引用符の中、斜線で並べた二つの綴り(analyse/analyze)、文献一覧の中は数えません。
|
|
46
|
+
en: Neither spelling is called right. -ise and -ize are compared on their own, so Oxford spelling (colour with organize) is consistent. Names capitalised mid-sentence (Labor Day), quotations, the two spellings side by side (analyse/analyze) and reference lists are not counted.
|
|
47
47
|
level_meaning:
|
|
48
48
|
ja: 少ないほうが組の {limit}% 以下のとき指摘
|
|
49
49
|
en: reported when the minority spelling is {limit}% of its group or less
|
package/rules/teki-overuse.yaml
CHANGED
|
@@ -40,8 +40,8 @@ example:
|
|
|
40
40
|
問い合わせを半分に減らす施策を、四月から全店で始めます。
|
|
41
41
|
|
|
42
42
|
not_flagged:
|
|
43
|
-
ja:
|
|
44
|
-
en: Only the suffix 的 is counted; words such as 目的 and 的確, terms the law defines (電磁的方法, 反社会的勢力), and anything in 「」 are not. The options of one choice joined by か (連続的か断続的か、一時的) count once.
|
|
43
|
+
ja: 接尾の「的」だけを数えます。「目的」「的確」「標的」のように一語になったもの、法令が定めた語(電磁的方法、反社会的勢力)、鉤括弧で引いたものの中は数えません。「か」で並べた選択肢(連続的か断続的か、一時的)と、間に名詞だけを挟んで続けて書いた組(信仰的主観的、時間的空間的)は、一つの事柄なので一つと数えます。文の中に丸数字で並べた箇条(①…、②…)は、項目ごとに数えます。
|
|
44
|
+
en: Only the suffix 的 is counted; words such as 目的 and 的確, terms the law defines (電磁的方法, 反社会的勢力), and anything in 「」 are not. The options of one choice joined by か (連続的か断続的か、一時的) and a pair written together with only nouns between (信仰的主観的, 時間的空間的) count once. A list written inside the sentence with circled numbers (①…、②…) is counted item by item.
|
|
45
45
|
level_meaning:
|
|
46
46
|
ja: 一文の「〜的」{limit} 個まで
|
|
47
47
|
en: up to {limit} 〜的 words in a sentence
|
|
@@ -45,8 +45,8 @@ example:
|
|
|
45
45
|
来週は、新しい担当者の紹介、先月から続く予算の見直し、春の本社移転の準備、秋の採用計画の確認、年末の懇親会の段取りを話し合います。そのため定例会議は二時間に延長します。
|
|
46
46
|
|
|
47
47
|
not_flagged:
|
|
48
|
-
ja:
|
|
49
|
-
en: Sentences with no topic (noun + は), quotations in 「」, and distances up to the limit are not counted. When the topic gets its own predicate in an earlier clause (〜ではありませんが, 〜であって; 〜ではなく, 〜であるため, 〜は〜で with no comma between, 〜であるならば, 〜にあるところ or 〜ており followed by a clause with its own subject; a passive report 〜だと言われているが; 〜ますが or 〜ましたが with no other subject between the topic and it, followed by a clause with a subject of its own (〜が) and then a new topic; 〜ことから, 〜つつ, 〜としても or 〜こととし with no other subject between the topic and it, from the topic-clause-close word list; a circled number (③) after a predicate, where a list run into one line starts its next item), the count stops at that clause's end. A later clause's subject may be a part, as in 〜のほとんどは. When a は that sets the time or the case (今夜は, 当日は, 〜ときは) is followed by another topic, the count starts from that topic. An article of a statute that a document of another kind quotes as it stands (第7条 …, the forms in the statute-article-opener word list) is not the writer's sentence and is not counted. Not used on English documents.
|
|
48
|
+
ja: 主題(名詞+は)の無い文、鉤括弧で引いたものの中、上限までの距離は見ません。主題の述語が先の節で閉じる文(「この計画は簡単ではありませんが、…」「〜であって、…」、後ろの節に別の主語がある「〜ではなく、」「〜であるため、」、読点を挟まない「〜は〜で、」「〜であるならば、」「〜にあるところ、」「〜ており、」、受け身で伝える引用「〜だと言われているが」、主題と「〜ますが、」「〜ましたが、」の間に別の主語が無く、その後ろが別の主語(〜が)の節を経て新しい主題に移る文か、直後に名前の新しい主題(〜ましたが、赤澤大臣は…)が立って文末まで続く文、主題からそこまでに別の主語が無い「〜ことから、」「〜つつ、」「〜としても、」「〜こととし、」(語は語彙表 topic-clause-close)、述語の後ろに丸数字の番号(③)が来て一行に詰まった箇条の次の項目が始まるところ)は、その節の終わりまでを数えます。後ろの節の主語には「〜のほとんどは」も数えます。時や場面を言う「は」(今夜は、当日は、〜ときは)の後ろに別の主題があれば、その主題から数えます。法令でも契約でもない文書が条文をそのまま載せた文(「第7条 …」、形は語彙表 statute-article-opener)は、書き手が直せる文ではないので数えません。英語の文書には使いません。
|
|
49
|
+
en: Sentences with no topic (noun + は), quotations in 「」, and distances up to the limit are not counted. When the topic gets its own predicate in an earlier clause (〜ではありませんが, 〜であって; 〜ではなく, 〜であるため, 〜は〜で with no comma between, 〜であるならば, 〜にあるところ or 〜ており followed by a clause with its own subject; a passive report 〜だと言われているが; 〜ますが or 〜ましたが with no other subject between the topic and it, followed by a clause with a subject of its own (〜が) and then a new topic, or straight away by a name as a new topic that runs to the end (〜ましたが、赤澤大臣は…); 〜ことから, 〜つつ, 〜としても or 〜こととし with no other subject between the topic and it, from the topic-clause-close word list; a circled number (③) after a predicate, where a list run into one line starts its next item), the count stops at that clause's end. A later clause's subject may be a part, as in 〜のほとんどは. When a は that sets the time or the case (今夜は, 当日は, 〜ときは) is followed by another topic, the count starts from that topic. An article of a statute that a document of another kind quotes as it stands (第7条 …, the forms in the statute-article-opener word list) is not the writer's sentence and is not counted. Not used on English documents.
|
|
50
50
|
level_meaning:
|
|
51
51
|
ja: 主題から述語まで {limit} 字まで
|
|
52
52
|
en: up to {limit} characters between the topic and the predicate
|
|
@@ -20,6 +20,7 @@ extra_word_lists:
|
|
|
20
20
|
name-title,
|
|
21
21
|
date-time-unit,
|
|
22
22
|
http-method,
|
|
23
|
+
sql-keyword,
|
|
23
24
|
reference-list-heading,
|
|
24
25
|
legal-form,
|
|
25
26
|
company-form,
|
|
@@ -87,8 +88,8 @@ example:
|
|
|
87
88
|
after: Our key goal indicator (KGI) this term is to reach product-market fit (PMF).
|
|
88
89
|
|
|
89
90
|
not_flagged:
|
|
90
|
-
ja: 誰でも知っている略語(URL、PDF など)と、前後の括弧で説明した略語、会社の名前の中の英字(㈱ADEKA、CO.,LTD.)は指しません。ひな形の名前の置き場所(OOOO、XX 月)と、外のページへのリンクを並べた一覧の題名の中の略語も指しません(題名の略語は数には入れます)。大文字の違うだけの書き方で説明した略語(TCoP と TCOP)、略語を話題にする文で語に書き出した略語(略語の DOB … date of birth)、一覧で語のすぐ下にその語を名指すリンクを入れ子にした語(- GPL の下の GNU General Public License)も指しません。判例の引用の中の当事者と裁判所の名前(Ashwander v. TVA, 297 U.S. 288、MCI Telecomms. Corp. v. AT&T、(SDNY 1952))、引用の中の行政機関の事件番号(NOV/CFA 01-01)も指しません(引用の略語は数には入れます)。判決の頭の MR. JUSTICE も指しません。括弧の中で略語に「or」で別の呼び名を添えたもの(Department of Health and Human Services (HHS or the Department))、ハイフンで繋いだ字まで名前と揃うもの(Agency for Health (ARPA-H))は説明したと読み、メールアドレスの中の英字(OASH-RFI@hhs.gov)は略語と読みません。文書の中に書いた ABNF の文法の規則の名前と値(CRLF、%x0D)、等級の並び(A と AA)、番号で引く官報や判例集(80 FR 66128、2022 WL 4447293)、日付の付いた識別子の前の種類(WD WD-ABC1-20200101)、PO Box の PO も指しません。文献を引いて始まる注(1. See L. Summers (2015), "…," IMF Economic Review)の中の略語は、引いた文献の題名や誌名の書き方なので指しません(数には入れます)。角括弧の見出しで始まる文献の項目([FETCH] WHATWG, …)の中の略語も同じです。2 つ以上の番号で引く続き物の名前(BCP 78 と BCP 14、DR 4339 と DR 4340)、同じ文の前のほうで名前を書き出した略語(U.S. Small Business Administration … SBA)、肩書きの後ろの判事の姓(Lord HOLT、Mr. Justice BULLER)、商標の印の付いた名前(Acrobat DC®)、条で引く法令集(44 USC. 3502、15 USCA § 709)と、編と区分で引く法令集(21 CFR subpart J)も指しません。ショートメッセージで送るキーワード(texting GNPCGS to 333111)、名前のまま書いた製品の版(Adobe Acrobat Reader DC)、頭だけ大文字の語に繋いだ名前の中の大文字(NITE SAFE-Lite)も指しません。同じ文の前のほうで、同じ名詞の前に小文字で書き出した略語(incident response plan … IR plans)と、括弧の中で小文字の語を添えた略語の名前の頭の頭文字が揃うもの(… Partnerships to Stimulate Cybersecurity Education (RAMPS program))は説明したと読みます。貼り付けたチャットの発言(<jinxer-wm> FIRING
|
|
91
|
-
en: Common acronyms (URL, PDF), acronyms spelled out in brackets next to them, and the letters of a company name (㈱ADEKA, CO.,LTD.) are not reported. Neither are a template's placeholders (OOOO, XX 月) or an acronym in the title of a page in a list of links (it still counts towards the limit). Nor are an acronym explained under another capitalisation (TCoP, then TCOP), one a sentence about the abbreviation writes out (the abbreviation DOB … date of birth), or a term in a list whose nested link names it (- GPL above GNU General Public License). Nor are the parties and courts of a case citation (Ashwander v. TVA, 297 U.S. 288; MCI Telecomms. Corp. v. AT&T; (SDNY 1952)), an agency's docket number in a citation (NOV/CFA 01-01); a citation's acronyms still count towards the limit. Nor is the MR. JUSTICE that opens a line of an opinion. An acronym given another name after "or" in its parenthesis (Department of Health and Human Services (HHS or the Department)) or spelled out with its hyphened letter (Agency for Health (ARPA-H)) counts as expanded, and the letters of an email address (OASH-RFI@hhs.gov) are not an acronym. Nor are the rule names and values of an ABNF grammar in the text (CRLF, %x0D), the rungs of a grade ladder (A and AA), a register or reporter cited by number (80 FR 66128, 2022 WL 4447293), the kind written before a dated identifier (WD WD-ABC1-20200101), or the PO of a PO Box. A note that opens with a citation (1. See L. Summers (2015), "…," IMF Economic Review) is written in the cited work's words, and its acronyms are not reported (they still count towards the limit); so is an entry of a reference list keyed by a bracketed label ([FETCH] WHATWG, …). Nor are capitals the document cites by two or more numbers (BCP 78 and BCP 14, DR 4339 and DR 4340), an acronym whose name the same sentence writes out before it (U.S. Small Business Administration … SBA), a judge's surname after his title (Lord HOLT, Mr. Justice BULLER), a name marked as a trademark (Acrobat DC®), a code cited by section (44 USC. 3502, 15 USCA § 709), or a code cited by title and division (21 CFR subpart J). Nor are a keyword to send by text message (texting GNPCGS to 333111), a product's edition written with the product's name (Adobe Acrobat Reader DC), or capitals joined to a capitalised word in a name (NITE SAFE-Lite). An acronym the same sentence writes out in lower case before the same noun (incident response plan … IR plans), and one bracketed with a word in lower case after a name whose head gives its letters (… Partnerships to Stimulate Cybersecurity Education (RAMPS program)), count as expanded. An acronym in a pasted chat line (<jinxer-wm> FIRING …) is the speaker's or the bot's words, and is not reported (it still counts towards the limit).
|
|
91
|
+
ja: 誰でも知っている略語(URL、PDF など)と、前後の括弧で説明した略語、会社の名前の中の英字(㈱ADEKA、CO.,LTD.)は指しません。ひな形の名前の置き場所(OOOO、XX 月)と、外のページへのリンクを並べた一覧の題名の中の略語も指しません(題名の略語は数には入れます)。大文字の違うだけの書き方で説明した略語(TCoP と TCOP)、略語を話題にする文で語に書き出した略語(略語の DOB … date of birth)、一覧で語のすぐ下にその語を名指すリンクを入れ子にした語(- GPL の下の GNU General Public License)も指しません。判例の引用の中の当事者と裁判所の名前(Ashwander v. TVA, 297 U.S. 288、MCI Telecomms. Corp. v. AT&T、(SDNY 1952))、引用の中の行政機関の事件番号(NOV/CFA 01-01)も指しません(引用の略語は数には入れます)。判決の頭の MR. JUSTICE も指しません。括弧の中で略語に「or」で別の呼び名を添えたもの(Department of Health and Human Services (HHS or the Department))、ハイフンで繋いだ字まで名前と揃うもの(Agency for Health (ARPA-H))は説明したと読み、メールアドレスの中の英字(OASH-RFI@hhs.gov)は略語と読みません。文書の中に書いた ABNF の文法の規則の名前と値(CRLF、%x0D)、等級の並び(A と AA)、番号で引く官報や判例集(80 FR 66128、2022 WL 4447293)、日付の付いた識別子の前の種類(WD WD-ABC1-20200101)、PO Box の PO も指しません。文献を引いて始まる注(1. See L. Summers (2015), "…," IMF Economic Review)の中の略語は、引いた文献の題名や誌名の書き方なので指しません(数には入れます)。角括弧の見出しで始まる文献の項目([FETCH] WHATWG, …)の中の略語も同じです。2 つ以上の番号で引く続き物の名前(BCP 78 と BCP 14、DR 4339 と DR 4340)、同じ文の前のほうで名前を書き出した略語(U.S. Small Business Administration … SBA)、肩書きの後ろの判事の姓(Lord HOLT、Mr. Justice BULLER)、商標の印の付いた名前(Acrobat DC®)、条で引く法令集(44 USC. 3502、15 USCA § 709)と、編と区分で引く法令集(21 CFR subpart J)も指しません。ショートメッセージで送るキーワード(texting GNPCGS to 333111)、名前のまま書いた製品の版(Adobe Acrobat Reader DC)、頭だけ大文字の語に繋いだ名前の中の大文字(NITE SAFE-Lite)も指しません。同じ文の前のほうで、同じ名詞の前に小文字で書き出した略語(incident response plan … IR plans)と、括弧の中で小文字の語を添えた略語の名前の頭の頭文字が揃うもの(… Partnerships to Stimulate Cybersecurity Education (RAMPS program))は説明したと読みます。貼り付けたチャットの発言(<jinxer-wm> FIRING …)の中の略語は、発言した人やボットの言葉なので指しません(数には入れます)。番地から州と郵便番号まで揃った所在地の中の大文字(1600 Elm Rd. NE, MS K12-3, Springfield, GA 30329 の NE と MS)、SQL のキーワード(VIEW、WHERE)、文の中で頭だけ大文字の語にも書いた名前を大文字で書いたもの(a hotel / Airbnb と書いた文書の AIRBNB)も指しません。
|
|
92
|
+
en: Common acronyms (URL, PDF), acronyms spelled out in brackets next to them, and the letters of a company name (㈱ADEKA, CO.,LTD.) are not reported. Neither are a template's placeholders (OOOO, XX 月) or an acronym in the title of a page in a list of links (it still counts towards the limit). Nor are an acronym explained under another capitalisation (TCoP, then TCOP), one a sentence about the abbreviation writes out (the abbreviation DOB … date of birth), or a term in a list whose nested link names it (- GPL above GNU General Public License). Nor are the parties and courts of a case citation (Ashwander v. TVA, 297 U.S. 288; MCI Telecomms. Corp. v. AT&T; (SDNY 1952)), an agency's docket number in a citation (NOV/CFA 01-01); a citation's acronyms still count towards the limit. Nor is the MR. JUSTICE that opens a line of an opinion. An acronym given another name after "or" in its parenthesis (Department of Health and Human Services (HHS or the Department)) or spelled out with its hyphened letter (Agency for Health (ARPA-H)) counts as expanded, and the letters of an email address (OASH-RFI@hhs.gov) are not an acronym. Nor are the rule names and values of an ABNF grammar in the text (CRLF, %x0D), the rungs of a grade ladder (A and AA), a register or reporter cited by number (80 FR 66128, 2022 WL 4447293), the kind written before a dated identifier (WD WD-ABC1-20200101), or the PO of a PO Box. A note that opens with a citation (1. See L. Summers (2015), "…," IMF Economic Review) is written in the cited work's words, and its acronyms are not reported (they still count towards the limit); so is an entry of a reference list keyed by a bracketed label ([FETCH] WHATWG, …). Nor are capitals the document cites by two or more numbers (BCP 78 and BCP 14, DR 4339 and DR 4340), an acronym whose name the same sentence writes out before it (U.S. Small Business Administration … SBA), a judge's surname after his title (Lord HOLT, Mr. Justice BULLER), a name marked as a trademark (Acrobat DC®), a code cited by section (44 USC. 3502, 15 USCA § 709), or a code cited by title and division (21 CFR subpart J). Nor are a keyword to send by text message (texting GNPCGS to 333111), a product's edition written with the product's name (Adobe Acrobat Reader DC), or capitals joined to a capitalised word in a name (NITE SAFE-Lite). An acronym the same sentence writes out in lower case before the same noun (incident response plan … IR plans), and one bracketed with a word in lower case after a name whose head gives its letters (… Partnerships to Stimulate Cybersecurity Education (RAMPS program)), count as expanded. An acronym in a pasted chat line (<jinxer-wm> FIRING …) is the speaker's or the bot's words, and is not reported (it still counts towards the limit). Nor are the capitals inside a postal address that runs from a street number to a state and ZIP code (the NE and MS of 1600 Elm Rd. NE, MS K12-3, Springfield, GA 30329), a keyword of SQL (VIEW, WHERE), or a name in capitals that the document also writes inside a sentence with only its first letter a capital (AIRBNB in a text that writes a hotel / Airbnb).
|
|
92
93
|
level_meaning:
|
|
93
94
|
ja: 説明のない略語が {limit} 種類あれば指摘。文書が自分で略語を {limit} 個展開していれば、1 つの抜けから指摘
|
|
94
95
|
en: reported once {limit} different acronyms go unexplained, or from the first one when the document itself spells out {limit} others
|
|
@@ -69,8 +69,8 @@ example:
|
|
|
69
69
|
1. The Supplier shall provide the hosting services (the "Services") to the Customer.
|
|
70
70
|
|
|
71
71
|
not_flagged:
|
|
72
|
-
ja: 文書が「本」を付けた語を一つも定義していなければ見ません。定義した語とその言い換え(本件業務、defined-term-form が見ます)、定義した語で始まる語(本サービス上、本報告書提出後)、この文書やその一部を指す語(本条、本項、本書、本契約、本利用規約、本サイト)、どこかでかぎ括弧に入れた語と、定義の箇条書きの項目に語だけを書いたもの(② 本報告書。定義の書き方を chaff が読めなかったもの)とそれで始まる語、一語の言葉(本人、本日、本社)は見ません。定義した語に「等」を付けた語(本報告書等)は、まとめて呼ぶ別の語なので指します。同じ語は最初の一か所だけ指します。英語は、大文字は法令・組織・方針の名前(the Federal Trade Commission Act、Acceptable Use Policies)にも使うので、狭く読みます。"X" means や (the "X") の形の定義が二つ未満の文書は見ません。文の頭や記号の後ろの語、小文字の名詞の前に付けた語(the Premium plan)、名前の一覧(proper-name-word、地名、曜日と月、会社の形、当事者の役割)の語を含むもの、条の参照(Section 4、Schedule A)、前後の語から名前と分かるもの(後ろに番号が付く Proposition 65、長い名前の頭 Post Holdings, Inc. や Canton, Ohio や the Federal Food, Drug, and Cosmetic Act、直後の括弧で定義するもの Certificate of Analysis (“COA”) や the Closing (as defined in the Merger Agreement)、文書が定義した略語の頭文字になるもの “IRS” means the Internal Revenue Service、当事者の立場 Citibank, N.A., as Administrative Agent、すぐ後ろの attached hereto などで添付した書式の題と分かるもの the Termination Certificate attached hereto)、見出し・リンク・太字・HTML の要素・表・箇条書きの見出し・条の頭の見出し(5.8 No Representation or Warranty.)の中、どこかで引用符か太字に入れた語、定義した語を含むもの(大文字小文字を問いません)、文書のどこかで小文字でも書いた語(your Account と your account
|
|
73
|
-
en: "A document that defines no term with the prefix is not read. Defined terms and their other-prefix forms (本件業務, which defined-term-form reads), terms that start with a defined term (本サービス上, 本報告書提出後), the document's names for itself and its parts (本条, 本項, 本書, 本契約, 本利用規約, 本サイト), terms set in quotes anywhere or alone on an item of a definition list (② 本報告書: a definition chaff could not read) and terms that start with one, and single words (本人, 本日, 本社) are not reported. A defined term with 等 added (本報告書等) names a group, another term, and is reported. Each term is reported once, at its first use. English is read narrowly, since capitals also name laws, organisations and policies (the Federal Trade Commission Act, Acceptable Use Policies): a document with fewer than two definitions written with a defining word (“X” means, (the “X”)) is not read; and a word at the start of a sentence or after a mark, a modifier of a lower-case noun (the Premium plan), a run holding a word of the name lists (proper-name-word, places, weekdays and months, company forms, party roles), a reference to a part (Section 4, Schedule A), a name shown by the words around it (a number after it: Proposition 65; a longer name it starts: Post Holdings, Inc., Canton, Ohio, the Federal Food, Drug, and Cosmetic Act; brackets right after it that define it: Certificate of Analysis (“COA”), the Closing (as defined in the Merger Agreement); initials that spell a term the document defines: “IRS” means the Internal Revenue Service; a party's capacity: Citibank, N.A., as Administrative Agent; words right after it that make it the title of an attached form: the Termination Certificate attached hereto), anything inside a heading, a link, bold, an HTML element, a table, a list item's label or a clause's run-in caption (5.8 No Representation or Warranty.), a word set in quotes or bold anywhere, a run holding a defined term in any case, and a word the document also writes in lower case (your Account and your account: an ordinary word or a screen's name) are not reported. Statutes, court decisions and patents are not read; the contract genre runs this rule."
|
|
72
|
+
ja: 文書が「本」を付けた語を一つも定義していなければ見ません。定義した語とその言い換え(本件業務、defined-term-form が見ます)、定義した語で始まる語(本サービス上、本報告書提出後)、この文書やその一部を指す語(本条、本項、本書、本契約、本利用規約、本サイト)、どこかでかぎ括弧に入れた語と、定義の箇条書きの項目に語だけを書いたもの(② 本報告書。定義の書き方を chaff が読めなかったもの)とそれで始まる語、一語の言葉(本人、本日、本社)は見ません。定義した語に「等」を付けた語(本報告書等)は、まとめて呼ぶ別の語なので指します。同じ語は最初の一か所だけ指します。英語は、大文字は法令・組織・方針の名前(the Federal Trade Commission Act、Acceptable Use Policies)にも使うので、狭く読みます。"X" means や (the "X") の形の定義が二つ未満の文書は見ません。文の頭や記号の後ろの語、小文字の名詞の前に付けた語(the Premium plan)、名前の一覧(proper-name-word、地名、曜日と月、会社の形、当事者の役割)の語を含むもの、条の参照(Section 4、Schedule A)、前後の語から名前と分かるもの(後ろに番号が付く Proposition 65、長い名前の頭 Post Holdings, Inc. や Canton, Ohio や the Federal Food, Drug, and Cosmetic Act、直後の括弧で定義するもの Certificate of Analysis (“COA”) や the Closing (as defined in the Merger Agreement)、文書が定義した略語の頭文字になるもの “IRS” means the Internal Revenue Service、当事者の立場 Citibank, N.A., as Administrative Agent、すぐ後ろの attached hereto などで添付した書式の題と分かるもの the Termination Certificate attached hereto)、見出し・リンク・太字・HTML の要素・表・箇条書きの見出し・条の頭の見出し(5.8 No Representation or Warranty.)の中、どこかで引用符か太字に入れた語、定義した語を含むもの(大文字小文字を問いません)、文書のどこかで小文字でも書いた語(your Account と your account。普通の語か画面の名前)、空白の続きで分かれた語(Normal Business Hours は一つの語)、句点や斜線で次の語と続けて書いたもの(Borrowmoney.com、Leased/rent)、小さな語まで大文字で始めたもの(Maintenance And Deployment。語ごとに大文字にした書き方)は見ません。「本共同研究開発契約において定義した用語は…同契約内の定義に従う」のように別の文書の定義に従うと書いた文書では、定義の多くが向こうにあるので、ほかの語の書き誤りに見える語(「本学習済みモデル」の横の「本学習モデル」)だけを指します。文書の名前(本共同開発契約)は、定義した文書名(本共同研究開発契約)の書き誤りに見えれば指します。法令・判決・特許は見ません。契約書・規約のジャンルで見ます。
|
|
73
|
+
en: "A document that defines no term with the prefix is not read. Defined terms and their other-prefix forms (本件業務, which defined-term-form reads), terms that start with a defined term (本サービス上, 本報告書提出後), the document's names for itself and its parts (本条, 本項, 本書, 本契約, 本利用規約, 本サイト), terms set in quotes anywhere or alone on an item of a definition list (② 本報告書: a definition chaff could not read) and terms that start with one, and single words (本人, 本日, 本社) are not reported. A defined term with 等 added (本報告書等) names a group, another term, and is reported. Each term is reported once, at its first use. English is read narrowly, since capitals also name laws, organisations and policies (the Federal Trade Commission Act, Acceptable Use Policies): a document with fewer than two definitions written with a defining word (“X” means, (the “X”)) is not read; and a word at the start of a sentence or after a mark, a modifier of a lower-case noun (the Premium plan), a run holding a word of the name lists (proper-name-word, places, weekdays and months, company forms, party roles), a reference to a part (Section 4, Schedule A), a name shown by the words around it (a number after it: Proposition 65; a longer name it starts: Post Holdings, Inc., Canton, Ohio, the Federal Food, Drug, and Cosmetic Act; brackets right after it that define it: Certificate of Analysis (“COA”), the Closing (as defined in the Merger Agreement); initials that spell a term the document defines: “IRS” means the Internal Revenue Service; a party's capacity: Citibank, N.A., as Administrative Agent; words right after it that make it the title of an attached form: the Termination Certificate attached hereto), anything inside a heading, a link, bold, an HTML element, a table, a list item's label or a clause's run-in caption (5.8 No Representation or Warranty.), a word set in quotes or bold anywhere, a run holding a defined term in any case, and a word the document also writes in lower case (your Account and your account: an ordinary word or a screen's name) are not reported, and neither are words split only by a run of spaces read apart (Normal Business Hours is one term), a word glued to more letters by a full stop or a slash (Borrowmoney.com, Leased/rent), or a phrase that capitalises its small words too (Maintenance And Deployment: every word capitalised). In Japanese, a document that says it follows another document's definitions (…同契約内の定義に従う) has most of its terms defined there, so only a term that looks like a slip for another of its terms (本学習モデル beside 本学習済みモデル) is reported; a document's name (本共同開発契約) is reported when it looks like a slip for a defined name (本共同研究開発契約). Statutes, court decisions and patents are not read; the contract genre runs this rule."
|
|
74
74
|
rewrite:
|
|
75
75
|
depth: light
|
|
76
76
|
ja:
|
|
@@ -10,8 +10,8 @@ name:
|
|
|
10
10
|
en: Unfilled placeholder
|
|
11
11
|
|
|
12
12
|
why:
|
|
13
|
-
ja: "「【会社名】」「[Your Name]」「(ここに会社名を書く)」は、雛形や生成した下書きに残る空欄です。値に「TODO: …」「未定」とだけ書いたものも、後で埋めるつもりの空欄です。英語の雛形の指示の行(OPTIONAL: General conclusions
|
|
14
|
-
en: '"[Your Name]" and "[Insert Date]" are the blanks a template or a generated draft leaves. A value that only says "TODO: …" or "TBD" is a blank too, left to fill in later, and so is an instruction line from the template left in a filled report ("OPTIONAL: General conclusions …"). This is not a matter of style: the blank was never filled. In a Japanese business document, the blank marks (〇〇) left where a name, a sum or a
|
|
13
|
+
ja: "「【会社名】」「[Your Name]」「(ここに会社名を書く)」は、雛形や生成した下書きに残る空欄です。値に「TODO: …」「未定」とだけ書いたものも、後で埋めるつもりの空欄です。英語の雛形の指示の行(OPTIONAL: General conclusions …)が、埋めた報告書に残ったものも同じです。文体の好みではなく、埋め忘れです。ビジネス文書の宛名・署名・金額・日付・住所・電話番号の位置に残った「〇〇様」「株式会社〇〇」「〇万円」「氏名:〇〇」「03-〇〇〇〇」も同じ空欄です。表の升に残った空欄も数えます。文の中で例として置いた「○○」は正しい書き方なので数えません。"
|
|
14
|
+
en: '"[Your Name]" and "[Insert Date]" are the blanks a template or a generated draft leaves. A value that only says "TODO: …" or "TBD" is a blank too, left to fill in later, and so is an instruction line from the template left in a filled report ("OPTIONAL: General conclusions …"). This is not a matter of style: the blank was never filled. In a Japanese business document, the blank marks (〇〇) left where a name, a sum, a date, an address or a phone number belongs (〇〇様, 株式会社〇〇, 〇万円, 氏名:〇〇, 03-〇〇〇〇) are blanks too. A blank left in a table cell counts as well.'
|
|
15
15
|
|
|
16
16
|
message:
|
|
17
17
|
ja: 「{matched}」が埋まっていません
|
package/rules/unknown-word.yaml
CHANGED
|
@@ -47,8 +47,8 @@ example:
|
|
|
47
47
|
The report is attached to this email.
|
|
48
48
|
|
|
49
49
|
not_flagged:
|
|
50
|
-
ja: 大文字を含む語、四字より短い語、コード・URL・メールアドレスの中の語、強調や角括弧で頭の字を分けた語の残り(**G**lobally の lobally、[e]xpressions の xpressions)、文書で二度以上使う語、一字違いの辞書の語が無い語、chaff.yaml の names に並べた語、語彙表 known-misspelling が別に言う語は指しません。同じ文書がコード(`tidyq check` やコードの区画)にも書いた語も、その文書の名前なので指しません。検索の語の後に * を付けた形(vaccin*)と、それと同じ行に並べた検索の語も、語ではないので指しません。文書がほかの語尾で使う語(rightsize と rightsized)、引用符や括弧の中に一語だけ書いた語("mailto"、(jchaplin))、文書が URL にも書いた語、他の言語の語の隣の語(bête noire)、角括弧や括弧の字を続けた語(handl[e]、neuro(a)typicality)、= の前の変数の名(nboot=2,000)、四字以上の辞書の語二つを続けた語(crowdwork)、薬の国際一般名の語幹で終わる語(paroxetine の -oxetine
|
|
51
|
-
en: Words with a capital letter, words shorter than four letters, words in code, URLs and email addresses, the rest of a word whose first letter is set apart by emphasis or brackets (lobally in **G**lobally, xpressions in [e]xpressions), words used twice or more in the document, words with no dictionary word one letter away, words listed under names in chaff.yaml, and the misspellings known-misspelling reports are not reported. Nor is a word the document also writes in code (`tidyq check`, a code block), since it is a name the document uses. Nor is a search stem ending in a wildcard (vaccin*), or any search term on the same line. Nor is a word the document uses with another ending (rightsize and rightsized), a word alone in quotes or brackets ("mailto", (jchaplin)), a word the document also writes in a URL, a word beside a word of another language (bête noire), a word joined to a bracketed letter (handl[e], neuro(a)typicality), a variable name before = (nboot=2,000), two dictionary words of four letters or more written as one (crowdwork),
|
|
50
|
+
ja: 大文字を含む語、四字より短い語、コード・URL・メールアドレスの中の語、強調や角括弧で頭の字を分けた語の残り(**G**lobally の lobally、[e]xpressions の xpressions)、文書で二度以上使う語、一字違いの辞書の語が無い語、chaff.yaml の names に並べた語、語彙表 known-misspelling が別に言う語は指しません。同じ文書がコード(`tidyq check` やコードの区画)にも書いた語も、その文書の名前なので指しません。検索の語の後に * を付けた形(vaccin*)と、それと同じ行に並べた検索の語も、語ではないので指しません。文書がほかの語尾で使う語(rightsize と rightsized)、引用符や括弧の中に一語だけ書いた語("mailto"、(jchaplin))、文書が URL にも書いた語、他の言語の語の隣の語(bête noire)、角括弧や括弧の字を続けた語(handl[e]、neuro(a)typicality)、= の前の変数の名(nboot=2,000)、四字以上の辞書の語二つを続けた語(crowdwork)、薬の国際一般名の語幹で終わる語(paroxetine の -oxetine)、版の番号の前の語(golang 1.21.5)、辞書に無い別の語と一字だけ違う語(pthread と bthread、同じ作りの名前)も指しません。
|
|
51
|
+
en: Words with a capital letter, words shorter than four letters, words in code, URLs and email addresses, the rest of a word whose first letter is set apart by emphasis or brackets (lobally in **G**lobally, xpressions in [e]xpressions), words used twice or more in the document, words with no dictionary word one letter away, words listed under names in chaff.yaml, and the misspellings known-misspelling reports are not reported. Nor is a word the document also writes in code (`tidyq check`, a code block), since it is a name the document uses. Nor is a search stem ending in a wildcard (vaccin*), or any search term on the same line. Nor is a word the document uses with another ending (rightsize and rightsized), a word alone in quotes or brackets ("mailto", (jchaplin)), a word the document also writes in a URL, a word beside a word of another language (bête noire), a word joined to a bracketed letter (handl[e], neuro(a)typicality), a variable name before = (nboot=2,000), two dictionary words of four letters or more written as one (crowdwork), a word ending in the stem of a drug's international name (-oxetine in paroxetine), a word before a release number (golang 1.21.5), or a word one letter from another word of the document the dictionary does not know either (pthread and bthread, names on one scheme).
|
|
52
52
|
rewrite:
|
|
53
53
|
depth: light
|
|
54
54
|
en:
|
package/skills/chaff/SKILL.md
CHANGED
|
@@ -179,7 +179,8 @@ Use this section when asked to make a text sound less generated: 「AIっぽさ
|
|
|
179
179
|
chaff marks the shapes common in generated text (group "Signs of generated text" in `npx chaffjs rules`: `ai-tell`,
|
|
180
180
|
`contrast-framing`, `stock-transition`, `announcing-opener`, `colon-lead-in`, `over-general-claim` (English only),
|
|
181
181
|
`q-fragment-answer` (English only), `assistant-residue`, `email-stock-courtesy` (English emails: stacked "I hope this email finds
|
|
182
|
-
you well"-type courtesies), `
|
|
182
|
+
you well"-type courtesies), `honesty-marker` ("Honestly,", 「正直、」: one is reported in blog posts and business documents),
|
|
183
|
+
`closing-exhortation` (a closing that cheers the reader on: 「ぜひ〜してみてください」,
|
|
183
184
|
"You've got this"), `cold-open` (an opening that piles a bare wish, a quoted echo of the previous sentence and a teaser),
|
|
184
185
|
`unprompted-denial` (sentences that deny a premise nobody stated: 「〜の話ではありません」, "This isn't about tooling."), and the signals
|
|
185
186
|
`ai-generated-composite` reads, among others). Most of them do not run in `technical/spec` or in the legal, docs, literature and
|
|
@@ -160,6 +160,7 @@ export const HUMAN_SHARES: HumanShares = {
|
|
|
160
160
|
speech: { documents: 7, fired: 0 },
|
|
161
161
|
technical: { documents: 49, fired: 0 },
|
|
162
162
|
},
|
|
163
|
+
"honesty-marker": { blog: { documents: 23, fired: 0 }, business: { documents: 80, fired: 0 } },
|
|
163
164
|
"no-em-dash": {
|
|
164
165
|
academic: { documents: 10, fired: 0 },
|
|
165
166
|
blog: { documents: 23, fired: 0 },
|
package/src/alternative-words.ts
CHANGED
|
@@ -18,3 +18,18 @@ export const laterAlternatives = (tokens: readonly Token[], counted: readonly nu
|
|
|
18
18
|
return tokens.slice(previous + 2, at).every(isSkippable);
|
|
19
19
|
}),
|
|
20
20
|
);
|
|
21
|
+
|
|
22
|
+
const isJoiningNoun = (token: Token): boolean => token.pos === "NOUN" || token.pos === "PROPN";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Of the counted tokens, those written straight onto the one before with only nouns between (信仰的主観的, 時間的空間的,
|
|
26
|
+
* 気候学的地理学的): the pair names one combined quality, so only the first counts. A particle, a comma or な between them
|
|
27
|
+
* (効果的かつ効率的, 経済的、社会的) keeps them two.
|
|
28
|
+
*/
|
|
29
|
+
export const laterJoined = (tokens: readonly Token[], counted: readonly number[]): ReadonlySet<number> =>
|
|
30
|
+
new Set(
|
|
31
|
+
counted.filter((at, k) => {
|
|
32
|
+
const previous = counted[k - 1];
|
|
33
|
+
return previous !== undefined && at - previous > 1 && tokens.slice(previous + 1, at).every(isJoiningNoun);
|
|
34
|
+
}),
|
|
35
|
+
);
|