chaffjs 0.46.0 → 0.48.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.
Files changed (192) hide show
  1. package/dist/bound-word-particles.d.ts +1 -0
  2. package/dist/bound-word-particles.d.ts.map +1 -1
  3. package/dist/bound-word-particles.js +1 -1
  4. package/dist/bound-word-particles.js.map +1 -1
  5. package/dist/clause-particles.d.ts +11 -0
  6. package/dist/clause-particles.d.ts.map +1 -0
  7. package/dist/clause-particles.js +20 -0
  8. package/dist/clause-particles.js.map +1 -0
  9. package/dist/detectors/acronym-definition.d.ts.map +1 -1
  10. package/dist/detectors/acronym-definition.js +14 -6
  11. package/dist/detectors/acronym-definition.js.map +1 -1
  12. package/dist/detectors/acronym-expansion.d.ts +2 -0
  13. package/dist/detectors/acronym-expansion.d.ts.map +1 -1
  14. package/dist/detectors/acronym-expansion.js +18 -7
  15. package/dist/detectors/acronym-expansion.js.map +1 -1
  16. package/dist/detectors/acronym-mention.d.ts.map +1 -1
  17. package/dist/detectors/acronym-mention.js +3 -1
  18. package/dist/detectors/acronym-mention.js.map +1 -1
  19. package/dist/detectors/acronym-parent-item.d.ts +6 -0
  20. package/dist/detectors/acronym-parent-item.d.ts.map +1 -0
  21. package/dist/detectors/acronym-parent-item.js +50 -0
  22. package/dist/detectors/acronym-parent-item.js.map +1 -0
  23. package/dist/detectors/bold-label.d.ts +6 -1
  24. package/dist/detectors/bold-label.d.ts.map +1 -1
  25. package/dist/detectors/bold-label.js +12 -1
  26. package/dist/detectors/bold-label.js.map +1 -1
  27. package/dist/detectors/broken-link.d.ts.map +1 -1
  28. package/dist/detectors/broken-link.js +14 -0
  29. package/dist/detectors/broken-link.js.map +1 -1
  30. package/dist/detectors/char-shape.js +1 -1
  31. package/dist/detectors/char-shape.js.map +1 -1
  32. package/dist/detectors/citation-sentence.d.ts +8 -0
  33. package/dist/detectors/citation-sentence.d.ts.map +1 -1
  34. package/dist/detectors/citation-sentence.js +24 -0
  35. package/dist/detectors/citation-sentence.js.map +1 -1
  36. package/dist/detectors/closing-cliche.d.ts +2 -1
  37. package/dist/detectors/closing-cliche.d.ts.map +1 -1
  38. package/dist/detectors/closing-cliche.js +10 -2
  39. package/dist/detectors/closing-cliche.js.map +1 -1
  40. package/dist/detectors/concrete-evidence-density.d.ts.map +1 -1
  41. package/dist/detectors/concrete-evidence-density.js +13 -6
  42. package/dist/detectors/concrete-evidence-density.js.map +1 -1
  43. package/dist/detectors/concrete-evidence.d.ts +7 -1
  44. package/dist/detectors/concrete-evidence.d.ts.map +1 -1
  45. package/dist/detectors/concrete-evidence.js +45 -0
  46. package/dist/detectors/concrete-evidence.js.map +1 -1
  47. package/dist/detectors/doubled-punctuation.d.ts.map +1 -1
  48. package/dist/detectors/doubled-punctuation.js +14 -4
  49. package/dist/detectors/doubled-punctuation.js.map +1 -1
  50. package/dist/detectors/en-shape.d.ts.map +1 -1
  51. package/dist/detectors/en-shape.js +9 -5
  52. package/dist/detectors/en-shape.js.map +1 -1
  53. package/dist/detectors/fullwidth-alnum.d.ts +4 -0
  54. package/dist/detectors/fullwidth-alnum.d.ts.map +1 -1
  55. package/dist/detectors/fullwidth-alnum.js +31 -9
  56. package/dist/detectors/fullwidth-alnum.js.map +1 -1
  57. package/dist/detectors/law-governed.d.ts +10 -0
  58. package/dist/detectors/law-governed.d.ts.map +1 -0
  59. package/dist/detectors/law-governed.js +41 -0
  60. package/dist/detectors/law-governed.js.map +1 -0
  61. package/dist/detectors/lexicon.d.ts.map +1 -1
  62. package/dist/detectors/lexicon.js +17 -3
  63. package/dist/detectors/lexicon.js.map +1 -1
  64. package/dist/detectors/name-variant-two-things.d.ts +2 -1
  65. package/dist/detectors/name-variant-two-things.d.ts.map +1 -1
  66. package/dist/detectors/name-variant-two-things.js +9 -3
  67. package/dist/detectors/name-variant-two-things.js.map +1 -1
  68. package/dist/detectors/open-end-names.d.ts +7 -2
  69. package/dist/detectors/open-end-names.d.ts.map +1 -1
  70. package/dist/detectors/open-end-names.js +14 -4
  71. package/dist/detectors/open-end-names.js.map +1 -1
  72. package/dist/detectors/requirement-smell.d.ts.map +1 -1
  73. package/dist/detectors/requirement-smell.js +6 -2
  74. package/dist/detectors/requirement-smell.js.map +1 -1
  75. package/dist/detectors/sentence-length.js +5 -5
  76. package/dist/detectors/sentence-length.js.map +1 -1
  77. package/dist/detectors/sentence-parts.d.ts +2 -0
  78. package/dist/detectors/sentence-parts.d.ts.map +1 -1
  79. package/dist/detectors/sentence-parts.js +10 -0
  80. package/dist/detectors/sentence-parts.js.map +1 -1
  81. package/dist/detectors/signals.d.ts.map +1 -1
  82. package/dist/detectors/signals.js +3 -0
  83. package/dist/detectors/signals.js.map +1 -1
  84. package/dist/detectors/space-before-punctuation.js +3 -3
  85. package/dist/detectors/space-before-punctuation.js.map +1 -1
  86. package/dist/detectors/token-shape.d.ts.map +1 -1
  87. package/dist/detectors/token-shape.js +21 -5
  88. package/dist/detectors/token-shape.js.map +1 -1
  89. package/dist/detectors/topic-predicate-distance.d.ts.map +1 -1
  90. package/dist/detectors/topic-predicate-distance.js +3 -1
  91. package/dist/detectors/topic-predicate-distance.js.map +1 -1
  92. package/dist/detectors/unbalanced-bracket.d.ts.map +1 -1
  93. package/dist/detectors/unbalanced-bracket.js +31 -6
  94. package/dist/detectors/unbalanced-bracket.js.map +1 -1
  95. package/dist/detectors/unknown-word-context.d.ts +8 -0
  96. package/dist/detectors/unknown-word-context.d.ts.map +1 -1
  97. package/dist/detectors/unknown-word-context.js +38 -6
  98. package/dist/detectors/unknown-word-context.js.map +1 -1
  99. package/dist/detectors/unknown-word.d.ts.map +1 -1
  100. package/dist/detectors/unknown-word.js +11 -4
  101. package/dist/detectors/unknown-word.js.map +1 -1
  102. package/dist/detectors/vague-density.d.ts +4 -2
  103. package/dist/detectors/vague-density.d.ts.map +1 -1
  104. package/dist/detectors/vague-density.js +17 -9
  105. package/dist/detectors/vague-density.js.map +1 -1
  106. package/dist/document.js +2 -2
  107. package/dist/document.js.map +1 -1
  108. package/dist/name-variant-shapes.d.ts +22 -0
  109. package/dist/name-variant-shapes.d.ts.map +1 -1
  110. package/dist/name-variant-shapes.js +63 -0
  111. package/dist/name-variant-shapes.js.map +1 -1
  112. package/dist/paragraph-length.d.ts.map +1 -1
  113. package/dist/paragraph-length.js +5 -6
  114. package/dist/paragraph-length.js.map +1 -1
  115. package/dist/sentence-load.d.ts.map +1 -1
  116. package/dist/sentence-load.js +20 -6
  117. package/dist/sentence-load.js.map +1 -1
  118. package/dist/structure/definition-use.d.ts.map +1 -1
  119. package/dist/structure/definition-use.js +13 -0
  120. package/dist/structure/definition-use.js.map +1 -1
  121. package/dist/structure/universal.d.ts.map +1 -1
  122. package/dist/structure/universal.js +9 -1
  123. package/dist/structure/universal.js.map +1 -1
  124. package/dist/structure/unread-label.d.ts.map +1 -1
  125. package/dist/structure/unread-label.js +3 -1
  126. package/dist/structure/unread-label.js.map +1 -1
  127. package/dist/topic-clause.d.ts +2 -0
  128. package/dist/topic-clause.d.ts.map +1 -1
  129. package/dist/topic-clause.js.map +1 -1
  130. package/package.json +3 -3
  131. package/rules/adverb-overuse.yaml +2 -2
  132. package/rules/ai-tell.yaml +2 -2
  133. package/rules/bold-label-list.yaml +2 -2
  134. package/rules/bracket-nesting.yaml +2 -2
  135. package/rules/broken-link.yaml +2 -2
  136. package/rules/closing-cliche.yaml +2 -2
  137. package/rules/concrete-evidence-density.yaml +2 -2
  138. package/rules/date-outside-period.yaml +1 -1
  139. package/rules/doubled-punctuation.yaml +2 -2
  140. package/rules/fullwidth-alnum-consistency.yaml +2 -2
  141. package/rules/max-kanji-continuous.yaml +4 -3
  142. package/rules/max-sentence-length.yaml +2 -2
  143. package/rules/name-variant.yaml +2 -2
  144. package/rules/ngram-repetition.yaml +2 -2
  145. package/rules/no-doubled-joshi.yaml +2 -2
  146. package/rules/requirement-smell.yaml +2 -2
  147. package/rules/space-before-punctuation.yaml +4 -4
  148. package/rules/taigen-dome-in-prose.yaml +2 -2
  149. package/rules/topic-predicate-distance.yaml +3 -3
  150. package/rules/unbalanced-bracket.yaml +4 -4
  151. package/rules/undefined-acronym.yaml +2 -0
  152. package/rules/unknown-word.yaml +2 -2
  153. package/rules/vague-word-density.yaml +2 -2
  154. package/src/bound-word-particles.ts +2 -1
  155. package/src/clause-particles.ts +35 -0
  156. package/src/detectors/acronym-definition.ts +14 -6
  157. package/src/detectors/acronym-expansion.ts +26 -7
  158. package/src/detectors/acronym-mention.ts +6 -1
  159. package/src/detectors/acronym-parent-item.ts +60 -0
  160. package/src/detectors/bold-label.ts +17 -2
  161. package/src/detectors/broken-link.ts +16 -0
  162. package/src/detectors/char-shape.ts +2 -2
  163. package/src/detectors/citation-sentence.ts +30 -0
  164. package/src/detectors/closing-cliche.ts +19 -3
  165. package/src/detectors/concrete-evidence-density.ts +18 -7
  166. package/src/detectors/concrete-evidence.ts +56 -1
  167. package/src/detectors/doubled-punctuation.ts +20 -4
  168. package/src/detectors/en-shape.ts +9 -5
  169. package/src/detectors/fullwidth-alnum.ts +39 -10
  170. package/src/detectors/law-governed.ts +50 -0
  171. package/src/detectors/lexicon.ts +19 -4
  172. package/src/detectors/name-variant-two-things.ts +18 -3
  173. package/src/detectors/open-end-names.ts +21 -4
  174. package/src/detectors/requirement-smell.ts +6 -2
  175. package/src/detectors/sentence-length.ts +5 -5
  176. package/src/detectors/sentence-parts.ts +12 -0
  177. package/src/detectors/signals.ts +3 -0
  178. package/src/detectors/space-before-punctuation.ts +3 -3
  179. package/src/detectors/token-shape.ts +27 -7
  180. package/src/detectors/topic-predicate-distance.ts +3 -1
  181. package/src/detectors/unbalanced-bracket.ts +39 -7
  182. package/src/detectors/unknown-word-context.ts +44 -6
  183. package/src/detectors/unknown-word.ts +16 -3
  184. package/src/detectors/vague-density.ts +25 -10
  185. package/src/document.ts +2 -2
  186. package/src/name-variant-shapes.ts +74 -0
  187. package/src/paragraph-length.ts +8 -9
  188. package/src/sentence-load.ts +29 -6
  189. package/src/structure/definition-use.ts +15 -0
  190. package/src/structure/universal.ts +10 -1
  191. package/src/structure/unread-label.ts +3 -1
  192. package/src/topic-clause.ts +2 -0
@@ -46,8 +46,8 @@ example:
46
46
  申込は2024年4月10日までです。説明会は2024年4月3日と2024年4月5日に開きます。
47
47
 
48
48
  not_flagged:
49
- ja: 鉤括弧で引いたもの、項目と注の番号(「1.」「(1)」「※1」)、箇条書きの頭の番号、版の番号の続き(TLS1.2 の 2)、注や URL を含む文、文書の頭の日付の行(更新日:令和7年9月27日)、番号の札(TEL:03…)、アポストロフィでつないだ英字の語のかけら(Van't Hoff の t)は数えません。小文字を含む半角の英語の語(AI for Science の for と Science)は、英字の書き方の票には入れますが、少ないほうとしては指摘しません。英語の語は、略語を全角で書く文書でも半角で書くためです。英字一字・英字の語・数字一字・数字の並びは別々に比べるので、「1桁は全角、2桁以上は半角」はそろっていると見ます。英字一字と数字を違う幅で書いた並び(Q5、H30)は、Q と 5 に分けてそれぞれの組で数えます。ほかの混ざった並び(IoT)は数えません。三桁ごとに区切った数(5,500)は一つの数で、5 を一桁の数とは数えません。有価証券報告書の項目の番号(4【経営者による…】)も数えません。表のセルの数字が続いてしまったもの(8,457 と 95.7 の 8,45795.7)の中の並びは、書き方の票には入れますが、少ないほうとしては指摘しません。セルの切れ目が見えず、8 を一桁の数と読めないためです。全角の英字の語が一つの語(BAR)しかない文書では、別の語(DELICATE)を少ないほうとして指摘しません(同じ語を半角で書いた BAR は指摘します)。どちらの書き方が正しいかは決めません。
50
- en: Quotations in brackets, item and note numbers (1., (1), ※1), a number at the head of a list item, the rest of a version number (the 2 of TLS1.2), a date line at the head of the document (更新日:令和7年9月27日), the label of a number (TEL:03…), a piece of a word joined by an apostrophe (the t of Van't Hoff), and notes or sentences with a URL are not counted. A half-width English word with lower case (the for and Science of AI for Science) counts toward the document's way of writing letters but is never reported itself, since English words stay half-width even where acronyms are full-width. Single letters, words, single digits and longer numbers are compared separately, so "one digit full-width, more digits half-width" counts as consistent. A single letter and a number written in different widths (Q5, H30) are split, and Q and 5 each count in their own group; other mixed runs (IoT) are not counted. A number grouped in thousands (5,500) is one number, so its 5 is not a single digit. Nor is the item number of an annual securities report (4【経営者による…】) counted. Digits inside numbers of table cells run together (8,45795.7 for 8,457 and 95.7) count toward the document's way of writing but are never reported, since the cell boundary cannot be seen and the 8 cannot be read as a single digit. Where the usual way of writing words rests on one word alone (BAR), a different word (DELICATE) is not reported as the minority; the same word written the other way (BAR) still is. Neither way is called right.
49
+ ja: 鉤括弧で引いたもの、項目と注の番号(「1.」「(1)」「※1」)、箇条書きの頭の番号、版の番号の続き(TLS1.2 の 2)、注や URL を含む文、文書の頭の日付の行(更新日:令和7年9月27日)、番号の札(TEL:03…)、アポストロフィでつないだ英字の語のかけら(Van't Hoff の t)は数えません。小文字を含む半角の英語の語(AI for Science の for と Science)は、英字の書き方の票には入れますが、少ないほうとしては指摘しません。英語の語は、略語を全角で書く文書でも半角で書くためです。英字一字・英字の語・数字一字・数字の並びは別々に比べるので、「1桁は全角、2桁以上は半角」はそろっていると見ます。英字一字と数字を違う幅で書いた並び(Q5、H30)は、Q と 5 に分けてそれぞれの組で数えます。ほかの混ざった並び(IoT)は数えません。三桁ごとに区切った数(5,500)は一つの数で、5 を一桁の数とは数えません。見出しからは、英字一字と数字を違う幅で書いた並び(### Q5:…)だけを本文と同じに数え、ほかの英数字(## 1 概要)と文書の頭の題(# …Q&A)は数えません。多いほうが電話番号一つ(0570 - 064 - 556)の組だけなら、それはその番号の書き方なので、少ないほうを指摘しません。有価証券報告書の項目の番号(4【経営者による…】)も数えません。表のセルの数字が続いてしまったもの(8,457 と 95.7 の 8,45795.7)の中の並びは、書き方の票には入れますが、少ないほうとしては指摘しません。セルの切れ目が見えず、8 を一桁の数と読めないためです。全角の英字の語が一つの語(BAR)しかない文書では、別の語(DELICATE)を少ないほうとして指摘しません(同じ語を半角で書いた BAR は指摘します)。どちらの書き方が正しいかは決めません。
50
+ en: Quotations in brackets, item and note numbers (1., (1), ※1), a number at the head of a list item, the rest of a version number (the 2 of TLS1.2), a date line at the head of the document (更新日:令和7年9月27日), the label of a number (TEL:03…), a piece of a word joined by an apostrophe (the t of Van't Hoff), and notes or sentences with a URL are not counted. A half-width English word with lower case (the for and Science of AI for Science) counts toward the document's way of writing letters but is never reported itself, since English words stay half-width even where acronyms are full-width. Single letters, words, single digits and longer numbers are compared separately, so "one digit full-width, more digits half-width" counts as consistent. A single letter and a number written in different widths (Q5, H30) are split, and Q and 5 each count in their own group; other mixed runs (IoT) are not counted. A number grouped in thousands (5,500) is one number, so its 5 is not a single digit. From headings, only a single letter and a number written in different widths (### Q5:…) count like the text; other letters and digits in headings (## 1 概要) and the title at the head of the document (# …Q&A) do not. When the usual way rests only on the groups of one phone number (0570 - 064 - 556), that is the number's own way of writing, and the other way is not reported. Nor is the item number of an annual securities report (4【経営者による…】) counted. Digits inside numbers of table cells run together (8,45795.7 for 8,457 and 95.7) count toward the document's way of writing but are never reported, since the cell boundary cannot be seen and the 8 cannot be read as a single digit. Where the usual way of writing words rests on one word alone (BAR), a different word (DELICATE) is not reported as the minority; the same word written the other way (BAR) still is. Neither way is called right.
51
51
  level_meaning:
52
52
  ja: 少ないほうが組の {limit}% 以下のとき指摘
53
53
  en: reported when the minority form is {limit}% of its group or less
@@ -16,7 +16,7 @@ uses: [pos]
16
16
  # 文書のどこかで括弧の中身がまるごとその連なりである名前は、文の中で使っても数えない。法令の題(〜に関する法律)を囲む括弧の中の連なりも数えない。
17
17
  # 文書が単独で使う法令・制度の名前(政治資金規正法)と、法令が名に取った語(愛玩動物看護師法の「愛玩動物看護師」)は、連なりの中でも割る。
18
18
  # 職名(kanji-known-word)のすぐ前か後ろの人の姓と名も割る。元号の付いた年(令和元年)と、仮名へ続く接続の語の漢字(及び の「及」)は外す。
19
- # 連なりの中ほどの list-suffix(高齢運転者等専用駐車区間の「等」)は語の終わりを見せるので、そこでも割る。
19
+ # 連なりの中ほどの list-suffix(高齢運転者等専用駐車区間の「等」)は語の終わりを見せるので、そこでも割る。range-suffix(以外、以上)も同じに読む。
20
20
  # すぐ後ろに designation-phrase(として認定)が続く連なりは、制度が決めた区分の名前なので数えない。
21
21
  # 句点の無い一行が「〜の」と notice-title-ending(お知らせ、ご案内)で終われば、「の」の前の連なりは送り手が付けた題の名前なので数えない。
22
22
  extra_word_lists:
@@ -31,6 +31,7 @@ extra_word_lists:
31
31
  addressee-title,
32
32
  reference-prefix,
33
33
  list-suffix,
34
+ range-suffix,
34
35
  kanji-known-word,
35
36
  designation-phrase,
36
37
  notice-title-ending,
@@ -89,8 +90,8 @@ example:
89
90
  after: 来週、新しい顧客を増やす施策を話し合う会議を開きます。
90
91
 
91
92
  not_flagged:
92
- ja: 組織の正式名称(国立研究開発法人産業技術総合研究所、経済産業省製造産業局自動車課、東日本青葉自動車販売株式会社)、題の名前(要綱・試験・事業・法令などで終わり、一行だけで書くか括弧でくくるか見出しにあるか、文書の中で繰り返すもの。大阪市鶴見区役所公募型比較見積実施要綱など)、法令・制度・給付・基金・指定区域の名前(住民基本台帳法施行令、勤労者財産形成貯蓄制度、社会資本整備総合交付金、地域医療介護総合確保基金、特定復興再生拠点区域。文のどこにあっても)、chaff.yaml の names に書いた組織名や製品名、法令の条番号(第二十二条第二項、学校教育法第三十条第二項の「第三十条第二項」)は数えません。空白を挟んで法人格か組織の区切りの後ろに立つ組織の名前(一般社団法人 全国〜センター、〜局 〜課 〜係)と、鉤括弧の中身が漢字の連なりとカタカナや英数字の語だけの名前(「登録業者情報検索入力ページ」)も数えません。頭の、前を指す語(上記、当該)と代の序数(第百二代、初代)と漢数字の日付(令和七年六月二十三日、令和元年)、尻の「等」と、仮名へ続く接続の語の漢字(方針及び基本構想の「及」)は数えません。連なりの中ほどの「等」(高齢運転者等専用駐車区間)は語の終わりを見せるので、その前と後ろを別に数えます。文書のどこかで括弧でまるごとくくった名前(「署名用電子証明書確認画面」、[当事者系審判請求人])は文の中で使っても数えず、法令の題を囲む括弧((〜に関する法律))の中の連なりも数えません。文書が単独で使う法令の名前(政治資金規正法)と法令が名に取った語(愛玩動物看護師法の「愛玩動物看護師」)、職名のすぐ前か後ろの人の姓と名(小泉純一郎内閣総理大臣、内閣総理大臣石破茂)は、連なりを割ります。序数で始まる組織の単位(方式審査室第三担当、東京電力福島第一原子力発電所)と、中黒の後ろで組織の語で閉じる名前の前半(社会保障審議会企業年金・個人年金部会の「社会保障審議会企業年金」)も数えません。文書がほかで単独で使う組織の名前(安全保障理事会常任理事国の「安全保障理事会」)、連なりを閉じる決まった語(日本国内閣総理大臣の「内閣総理大臣」、〜許可事業者)は、その前後を別の連なりとして数えます。用語集(headword_genres)の、一行が漢字の連なりだけの見出し語は数えません。出席者の並び(区長、副区長、〜委員会事務局長)のように文で終わらない名前の並びの項目は、宛名と同じく、組織の名前の後ろの役職を数えません。注の中の文献の記述(著者. 題. 出版者, 2025, p. 369.)は、引いた文献の題と名前なので数えません。
93
- en: Official organisation names (a legal form or a place name followed by a name that ends in a unit such as 研究所 or 協会, or a chain of units such as 省・局・課, or a name with a proper noun closed by a legal form such as 株式会社), titles of named things (a run ending in 要綱, 試験, 事業, 法 and the like that stands on a line of its own, closes a bracket, is followed by a bracketed note, appears in a heading, or recurs in the document), names of statutes, schemes, grants, funds and designated zones wherever they stand (住民基本台帳法施行令, 勤労者財産形成貯蓄制度, 社会資本整備総合交付金, 地域医療介護総合確保基金, 特定復興再生拠点区域), names listed under names in chaff.yaml, and provision numbers in statutes (第二十二条第二項, and 第三十条第二項 after the statute name in 学校教育法第三十条第二項) are not counted. Nor is an organisation name that follows a legal form or an organisation unit across a space (一般社団法人 全国〜センター, 〜局 〜課 〜係), or a name in 「」 made of the kanji run and words with no kanji or hiragana (「登録業者情報検索入力ページ」). A leading word that points back or ahead (上記, 当該), a leading ordinal (第百二代, 初代), a leading date in kanji numerals (令和七年六月二十三日, 令和元年), a trailing 等 and the kanji of a conjunction that continues in kana (及 in 方針及び基本構想) are not counted. A 等 in the middle of a run (高齢運転者等専用駐車区間) shows where a word ends, so what is before and after it is counted apart. A name the document puts whole in brackets somewhere (「署名用電子証明書確認画面」, [当事者系審判請求人]) is not counted where it is used in a sentence either, nor is a run inside the brackets around a statute's title ((〜に関する法律)). A statute name the document uses on its own (政治資金規正法), the term a statute is named after (愛玩動物看護師 in 愛玩動物看護師法), and a person's full name right before or after an official title (小泉純一郎内閣総理大臣, 内閣総理大臣石破茂) split the run. Nor is an organisation unit that starts with an ordinal (方式審査室第三担当, 東京電力福島第一原子力発電所), or the first half of an organisation name that continues after a ・ and closes in an organisation unit (社会保障審議会企業年金 in 社会保障審議会企業年金・個人年金部会). An organisation name the document uses on its own elsewhere (安全保障理事会 in 安全保障理事会常任理事国), and a fixed word that closes the run (内閣総理大臣 in 日本国内閣総理大臣, 〜許可事業者) split the run, and what is before and after them is counted apart. In a glossary (headword_genres), a line that holds only a run of kanji is the headword and is not counted. In a list of names with no sentence end (an attendee list such as 区長、副区長、〜委員会事務局長), the title after an organisation name in an item is not counted, as in an addressee line. A bibliographic entry in a note (著者. 題. 出版者, 2025, p. 369.) holds the cited work's titles and names, and is not counted.
93
+ ja: 組織の正式名称(国立研究開発法人産業技術総合研究所、経済産業省製造産業局自動車課、東日本青葉自動車販売株式会社)、題の名前(要綱・試験・事業・法令などで終わり、一行だけで書くか括弧でくくるか見出しにあるか、文書の中で繰り返すもの。大阪市鶴見区役所公募型比較見積実施要綱など)、法令・制度・給付・基金・指定区域の名前(住民基本台帳法施行令、勤労者財産形成貯蓄制度、社会資本整備総合交付金、地域医療介護総合確保基金、特定復興再生拠点区域。文のどこにあっても)、chaff.yaml の names に書いた組織名や製品名、法令の条番号(第二十二条第二項、学校教育法第三十条第二項の「第三十条第二項」)は数えません。空白を挟んで法人格か組織の区切りの後ろに立つ組織の名前(一般社団法人 全国〜センター、〜局 〜課 〜係)と、鉤括弧の中身が漢字の連なりとカタカナや英数字の語だけの名前(「登録業者情報検索入力ページ」)も数えません。頭の、前を指す語(上記、当該)と代の序数(第百二代、初代)と漢数字の日付(令和七年六月二十三日、令和元年)、尻の「等」と範囲を示す語(自動車保険契約以外の「以外」、基準以上の「以上」)と、仮名へ続く接続の語の漢字(方針及び基本構想の「及」)は数えません。連なりの中ほどの「等」と範囲を示す語(高齢運転者等専用駐車区間、関係者以外立入禁止)は語の終わりを見せるので、その前と後ろを別に数えます。文書のどこかで括弧でまるごとくくった名前(「署名用電子証明書確認画面」、[当事者系審判請求人])は文の中で使っても数えず、法令の題を囲む括弧((〜に関する法律))の中の連なりも数えません。文書が単独で使う法令の名前(政治資金規正法)と法令が名に取った語(愛玩動物看護師法の「愛玩動物看護師」)、職名のすぐ前か後ろの人の姓と名(小泉純一郎内閣総理大臣、内閣総理大臣石破茂)は、連なりを割ります。序数で始まる組織の単位(方式審査室第三担当、東京電力福島第一原子力発電所)と、中黒の後ろで組織の語で閉じる名前の前半(社会保障審議会企業年金・個人年金部会の「社会保障審議会企業年金」)も数えません。文書がほかで単独で使う組織の名前(安全保障理事会常任理事国の「安全保障理事会」)、連なりを閉じる決まった語(日本国内閣総理大臣の「内閣総理大臣」、〜許可事業者)は、その前後を別の連なりとして数えます。用語集(headword_genres)の、一行が漢字の連なりだけの見出し語は数えません。出席者の並び(区長、副区長、〜委員会事務局長)のように文で終わらない名前の並びの項目は、宛名と同じく、組織の名前の後ろの役職を数えません。注の中の文献の記述(著者. 題. 出版者, 2025, p. 369.)は、引いた文献の題と名前なので数えません。
94
+ en: Official organisation names (a legal form or a place name followed by a name that ends in a unit such as 研究所 or 協会, or a chain of units such as 省・局・課, or a name with a proper noun closed by a legal form such as 株式会社), titles of named things (a run ending in 要綱, 試験, 事業, 法 and the like that stands on a line of its own, closes a bracket, is followed by a bracketed note, appears in a heading, or recurs in the document), names of statutes, schemes, grants, funds and designated zones wherever they stand (住民基本台帳法施行令, 勤労者財産形成貯蓄制度, 社会資本整備総合交付金, 地域医療介護総合確保基金, 特定復興再生拠点区域), names listed under names in chaff.yaml, and provision numbers in statutes (第二十二条第二項, and 第三十条第二項 after the statute name in 学校教育法第三十条第二項) are not counted. Nor is an organisation name that follows a legal form or an organisation unit across a space (一般社団法人 全国〜センター, 〜局 〜課 〜係), or a name in 「」 made of the kanji run and words with no kanji or hiragana (「登録業者情報検索入力ページ」). A leading word that points back or ahead (上記, 当該), a leading ordinal (第百二代, 初代), a leading date in kanji numerals (令和七年六月二十三日, 令和元年), a trailing 等 or a word that marks a range (以外 in 自動車保険契約以外, 以上 in 基準以上), and the kanji of a conjunction that continues in kana (及 in 方針及び基本構想) are not counted. A 等 or a range word in the middle of a run (高齢運転者等専用駐車区間, 関係者以外立入禁止) shows where a word ends, so what is before and after it is counted apart. A name the document puts whole in brackets somewhere (「署名用電子証明書確認画面」, [当事者系審判請求人]) is not counted where it is used in a sentence either, nor is a run inside the brackets around a statute's title ((〜に関する法律)). A statute name the document uses on its own (政治資金規正法), the term a statute is named after (愛玩動物看護師 in 愛玩動物看護師法), and a person's full name right before or after an official title (小泉純一郎内閣総理大臣, 内閣総理大臣石破茂) split the run. Nor is an organisation unit that starts with an ordinal (方式審査室第三担当, 東京電力福島第一原子力発電所), or the first half of an organisation name that continues after a ・ and closes in an organisation unit (社会保障審議会企業年金 in 社会保障審議会企業年金・個人年金部会). An organisation name the document uses on its own elsewhere (安全保障理事会 in 安全保障理事会常任理事国), and a fixed word that closes the run (内閣総理大臣 in 日本国内閣総理大臣, 〜許可事業者) split the run, and what is before and after them is counted apart. In a glossary (headword_genres), a line that holds only a run of kanji is the headword and is not counted. In a list of names with no sentence end (an attendee list such as 区長、副区長、〜委員会事務局長), the title after an organisation name in an item is not counted, as in an addressee line. A bibliographic entry in a note (著者. 題. 出版者, 2025, p. 369.) holds the cited work's titles and names, and is not counted.
94
95
  level_meaning:
95
96
  ja: 漢字の連続 {limit} 字まで
96
97
  en: up to {limit} kanji in a row
@@ -104,9 +104,9 @@ example:
104
104
 
105
105
  not_flagged:
106
106
  ja: >-
107
- 見出し、表のセル、コードは数えません。句点の無い、名前や肩書きを「、」で並べただけの行(出席者の一覧)も数えません。印刷版を文字にした文書が文の途中に残すページの印(「( printed page 52044)」「- 12 -」)も数えません。脚注の文献の記載(著者 (2025), "題," 出版者)は、その前に書き手が置いた言葉(For example, see …)だけを数えます。句点で閉じた文を二つ以上引いた「」(「…転落。…入院。」)は、引いた文を一つずつ、括弧の外を別に測ります。句点の無い「項目:値」の行が続くもの(日時:…/場所:…)は一行ずつ、変換で区切りが消えて一続きになった表(桁区切りの崩れた数字の列、行頭の年月が前のセルに続く年表)はセルごとに測ります。コロンの後に引いた「"…"」は括弧の外と別に測ります。仕様書の文法(name = a / b)、引用記号で始まる法令や文書の列挙(See, e.g., 12 C.F.R. § …; …)は数えません。英文の題名の後の括弧書きは括弧の中だけを、文書の参照(番号、"題名"、(日付))は題名を除いて数えます。引用記号で始まる脚注(See …)は、引いた法令や文書の名前・"題名"・略称や番号の括弧を除いた言葉だけを数えます。他の文書をそのまま写した文(文書がほかで名前を挙げて引いている法律を見出しにした節の条、「reads as follows:」のような前置きの次の段落)は数えません。法令や論文のように長い一文が普通の種類では、ジャンルが上限を長くします。
107
+ 見出し、表のセル、コードは数えません。句点の無い、名前や肩書きを「、」で並べただけの行(出席者の一覧)も数えません。印刷版を文字にした文書が文の途中に残すページの印(「( printed page 52044)」「- 12 -」)も数えません。脚注の文献の記載(著者 (2025), "題," 出版者)は、その前に書き手が置いた言葉(For example, see …)だけを数え、前の文献の終わり((Washington: …); and)から始まる文は、そこまでを数えません。姓と頭文字で並べた文献の著者(Kreimer AR, Porras C, …)は一語として数えます。括弧の中で閉じた文(「….)」)は、後ろの文と別に測ります。句点で閉じた文を二つ以上引いた「」(「…転落。…入院。」)は、引いた文を一つずつ、括弧の外を別に測ります。句点の無い「項目:値」の行が続くもの(日時:…/場所:…)は一行ずつ、変換で区切りが消えて一続きになった表(桁区切りの崩れた数字の列、行頭の年月が前のセルに続く年表)はセルごとに測ります。コロンの後に引いた「"…"」は括弧の外と別に測ります。仕様書の文法(name = a / b)、引用記号で始まる法令や文書の列挙(See, e.g., 12 C.F.R. § …; …)は数えません。英文の題名の後の括弧書きは括弧の中だけを、文書の参照(番号、"題名"、(日付))は題名を除いて数えます。引用記号で始まる脚注(See …)は、引いた法令や文書の名前・"題名"・略称や番号の括弧を除いた言葉だけを数えます。他の文書をそのまま写した文(文書がほかで名前を挙げて引いている法律を見出しにした節の条、「reads as follows:」のような前置きの次の段落)は数えません。法令や論文のように長い一文が普通の種類では、ジャンルが上限を長くします。
108
108
  en: >-
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.
109
+ Headings, table cells and code are not counted, nor is a line that only lists names or titles with 、 and has no full stop (an attendee list), nor are the page markers a converted print edition leaves inside a sentence ("( printed page 52044)", "[[Page 52044]]"). A footnote that is a bibliographic citation (authors (2025), "Title," publisher) counts only the words the writer puts before it ("For example, see …"), and not the end of an earlier reference it begins inside ("(Washington: …); and"). The authors of a reference written as surname and initials (Kreimer AR, Porras C, …) count as one word. A sentence closed inside parentheses ("….)") is measured apart from the sentence after it. A 「」 quotation holding two or more sentences closed by 。 is measured sentence by sentence, apart from the words around it. Lines of a label and a value with no full stop (When: … / Where: …) are measured one line at a time, and a table a converter ran together (numbers whose digit groups broke, a chronology whose dates run into the cell before) cell by cell. A quotation opened after a colon (has observed: "…") is measured apart from the writer's words. A grammar in a specification (name = a / b), a citation string after a signal (See, e.g., 12 C.F.R. § …; …), the title before a remark in parentheses and the quoted title of a reference line (Letter 21-8, "Title" (April 9, 2021).) are not counted. A footnote that opens with a signal (See …) counts only its words outside the names, "titles" and parentheses of codes it cites. Text copied word for word from another document is not counted: the articles of a statute under a heading that names it, where the document cites that statute elsewhere, and the paragraph after a lead-in such as "reads as follows:". Genres where long sentences are normal (statutes, papers) raise the limit.
110
110
  level_meaning:
111
111
  ja: 一文 {limit} 字まで
112
112
  en: up to {limit} words in a sentence
@@ -103,8 +103,8 @@ example:
103
103
  The code lives on GitHub. Reviews happen on GitHub, and releases are tagged on GitHub.
104
104
 
105
105
  not_flagged:
106
- ja: 品詞解析が固有名詞と読んだ語だけを見ます。大文字だけの名前(ACME INC、NASA)と、大文字で書いた一節の中の名前(eGAIN AND ITS SUPPLIERS … の eGAIN)は見ません。略語の後ろの括弧の中で、大文字の字が略語をつづる語(axle (Axis-guided eXperience ELicitation) の ELicitation)も見ません。リンクの角括弧は名前に入れません。一字違いの英字の名前は、6 字以上で、多いほうが二度以上、少ないほうが一度だけのときに限ります(Iran と Iraq は別の名前)。名の違う二人の一字違いの姓(Jeffrey D. Walker と Christopher J. Waller)は別の人です。終わりの重なった字の一つの有る無し(License と Licensee)は、どちらかを文書が小文字で書くなら別の語です。人の名前どうしは、字体の違う同じ字(斎藤 と 斉藤、渡辺 と 渡邊)か、読みが同じで一字だけ違い、多いほうが二度以上、少ないほうが一度だけのとき(松本 と 松元)に限ります(伊藤 と 伊東 は別の人のことがある)。解析器が読みを持たない名前の字(健汰 の 汰)は、語彙表 name-char-reading の読みで読みます(健太 と 健汰。表の升の名前も同じ)。人の名前とは、品詞解析が人名と読んだ語か、「様」「さん」「氏」の付いた名前です(解析器が名前と読めない字体の字を含む名前は、敬称の前の 2〜4 字の漢字を名前と読みます)。敬称は名前とのあいだの空白を越えて見ます。品詞解析が名と読まない語も、姓のあとに空白を挟んで書き、敬称が付けば名と読みます(森下 千尋 様)。姓の後ろに空白を挟んでかなで書いた名も、敬称か肩書きが付くか、人を書く欄の行の終わりにあれば、姓とつないで一つの名前と読みます(松本 あかり 様)。敬称の無い名前も、前後に漢字が続かない 2〜4 字の漢字で、片方の書き方に「担当の」「私、」などの前置きか敬称が付き、もう片方が「です」「が」「までご連絡」などの前にあれば比べます(担当の斎藤です と 斉藤までご連絡ください)。地名にも同じ組がある(鹿島 と 鹿嶋)ので、どちらにも前置きも敬称も無いときは比べません。会社の名前は、語彙表の会社の種類の語(株式会社、(株)、有限会社)の隣にあるものを、品詞と関係なく比べます。名前が同じで種類の語が違うもの(株式会社 と 有限会社)、種類の語を名前の反対側に置いたもの(株式会社アオバ と アオバ株式会社)、記号・幅だけが違うものを指します。三つ以上の種類の語で書いた名前(Aoba Inc、Aoba Ltd、Aoba GmbH)は会社のグループで、種類の違いは比べません。同じ種類の語の略した形(株式会社 と (株))、種類の語を省いた呼び名(アオバシステム、以下「アオバ」)は指しません。名前の一字違いは、7 字以上の名前で、違う字が漢字でないときに限ります(日本電気 と 日本電機 は別の会社のことがある)。漢字を含む名前は、7 字に満たなくても、4 字以上のかなの語の中のかな一字違いを、多いほうが二度以上、少ないほうが一度だけのときに指します(コモレビ電機 と コモレピ電機)。名前の漢字一字を、品詞解析が言うその読みのかなで書いた所(みどり野生命 と みどりの生命)も、多いほうが二度以上、かなのほうが一度だけのときに指します。読みは、かなと漢字一字の語からだけ取ります。名前の頭でない字は、頭の音を濁らせた読みで書いたもの(こむぎ畑 と こむぎばたけ)も同じに指します。漢字だけの名前は、品詞解析が固有名詞と読んだときだけ会社の名前と見ます(清算株式会社、当該株式会社)。場所の名前は、語彙表の場所の語(口、駅、センター、ホール)で終わる名前を、品詞と関係なく比べます。記号・幅だけが違うもの(コンベンションセンター と コンベンション・センター)を指し、名前の読みが同じかかなで書いた読みのもの(筑紫口 と ちくし口)と、固有名詞の字の一字違い(八重洲中央口 と 八重州中央口)は、多いほうが二度以上、少ないほうが一度だけのときに限ります。方角や数字の違い(北口 と 南口、第1会議室 と 第2会議室)は別の所なので指しません。表の升は升ごとに品詞解析し、名前の形をした升(空白を挟んだ二つか三つの漢字・カタカナの語)を本文の名前と比べます。記号・幅だけの違い(佐々木 美穂 と 佐々木 美穂)と、本文と同じく読みが同じで一語だけ違うもの(佐々木 美穂 と 佐々木 美保)を指し、後者は本文の形が二度以上、升の形が一度だけのときに限ります。読みの違う一字違い(佐藤 太郎 と 佐藤 次郎)は別の人のことが多いので指しません(英字の名前は一字違いも指します)。場所の名前は表の升の中のものも比べます。英字の人の名前は、名が同じで、7 字以上の姓の頭 4 字以上がそろい、あいだの 2 字(長いほうは 3 字)までだけ違うもの(Rachel Whitford と Rachel Whitfield)も、多いほうが二度以上、少ないほうが一度だけのときに指します。語の順を入れ替えた名前(統計学基礎 と 基礎統計学)は、同じ語(形態素)を違う順に並べ、どちらも他方を含まず、どちらかが括弧の中か「前提科目:」のような欄の後ろか表の升まるごとに書いた名前のときだけ指します(統計学基礎 と 統計学応用 は別の名前)。同じ文に並べて書いた二つ(画面の二つの項目、定義する語とその中身)と、文書が定義した語は比べません。冠詞だけを挟んだ二つの語(this Agreement the Stockholders)は一つの名前にしません。製品の名前は、語彙表の製品の形の語(錠、カプセル、クリーム)のすぐ前の 4 字以上のカタカナを、品詞と関係なく比べます(見出しと表の升の中のものも数えます)。形の語が同じで、名前が一字の置き換えか長音の記号一つの有る無しだけ違い(ミナモール錠 と ミナモル錠)、多いほうが二度以上、少ないほうが一度だけのときに指します。名前が同じで形の語だけが違うもの(ミナモール錠 と ミナモール顆粒)は、同じ製品の別の形のことが多いので指しません。一語の名前の中で同じ音を書く字(桜ヶ丘・桜ケ丘、霞ヶ関・霞が関)は、漢字に挟まれたときだけ同じ字と見ます。品詞解析が一語と読まない書き方(桜・が・丘)は見ません。字を抜いた形(桜丘)や、違う漢字の名前(桜ヶ岡)は別の名前です。この違いだけは、表の升の中の名前とも比べます。型番(英大文字と数字を合わせた 4 字以上の語)は、文書の題か、語彙表の型番の欄の語(型番、品番、型式)の後ろに書いたものだけを文書の型番と読み、文書の中に二度以上出てくるとき、ハイフン・空白・字の大小・幅だけを変えた形(KM-SP300 と KM-SP-300、KMSP300、km-sp300)を指します。字や数の違う型番(KM-SP300 と KM-SP310、比べる表の兄弟機種、部品表の品番)は別の型番なので指しません。英小文字を含む語(iOS17)、版(v1.2 と v1.20)、より長い型番・URL・パス・ファイル名の一部(KM-SP300-B、km-sp300.pdf)は型番と読みません。空白で区切って書く規格の番号(JIS C 8714)は一つの語でないので、題や欄に書いても型番と読みません。一度ずつ書いた二つの形は、片方だけが人を書く欄(語彙表 person-label の語と「:」の後ろで、名前で行が終わるもの。氏名:山下 美咲)にあれば、欄の形を正しい形と見て、もう片方を同じ決まりで比べます(山下 美咲 と 山下 未咲)。どちらも欄にあるか、どちらも欄に無ければ比べません。欄に書いた名と同じ名を空白の後ろに書いたもの(受託者:西村 亮 の文書の 西邑 亮が)は、敬称が無くても人の名前と読みます。読みの違う一字違いでも、姓と名のそろった名前で、違う二字が語彙表 name-lookalike-char の形の似た字の組(太 と 大、未 と 末)なら、多いほうが二度以上、少ないほうが一度だけのときに指します(山本 健太 と 山本 健大。名だけの名前は兄弟のことがあるので比べません)。英字の名前で、ほかの語が同じ二語以上の名前の一語が、終わりの一字の抜けか足しだけ違うもの(Rachel Whitmore と Rachel Whitmor)も、多いほうが二度以上か人を書く欄にあり、少ないほうが一度だけのときに指します。違うのが最後の語(姓)なら、前の語がどれも、文書の中で小文字でも普通名詞としても書かない語のときに限り(Hurricane Hanna と Hurricane Hannah は別の嵐)、4 字の姓の一字違いも指します(Daniel Reyes と Daniel Reys。Reyes と Reyna は別の姓)。最後でない語は、8 字以上で、名前の最後の語がふつうの語のときに限ります(Hollybrook Residences と Hollybrooke Residences。人の名の Christian と Christiane は別の人)。足した字が s(複数)か母音の後ろの n(Korea と Korean)のもの、違う語のどちらかがふつうの語のもの(Green と Greene)は指しません。会社の名前は、形の語も側も同じで、一語だけが、8 字以上の語の終わりの 2 字まで違うもの(Brightmoor と Brightmore)か、最後の語の単数と複数(Water Utility と Water Utilities)も、多いほうが二度以上、少ないほうが一度だけのときに指します。一語の名前の二つがどちらも辞書の語で、片方の語尾を外した語がもう片方の頭にあるもの(民と国の Germans と Germany、単数と複数の Englishman と Englishmen)は、別の二つの語なので指しません。名簿が大文字で組んだ名前(MICHAEL T. McCAUL、SCOTT DesJARLAIS。語彙表 name-capitals-prefix の姓の頭だけを小文字で残す)は、大文字だけの名前と同じく見ません。大文字の語を含む、字の大小だけの違いが引用符の中にあれば、出典の題をそのまま写したもの("The TRIDENT Conference")なので指しません。一字違いの名前でも、語彙表 name-word-ending の言う語尾の一字だけの違い(Texan と Texas、Romano と Romans)、多いほうと同じ文に並べたもの(Constantinus と Constantius の兄弟)、違う語を文書が二度以上書くもの(Bindle のそばの Mrs. Bandle と Richard Bandle)、文か行の頭にあって、どちらも辞書の語のもの(Sprang と Spring)は指しません。語彙表 name-direction-word の向きの語を挟んで同じ二つを逆の順に並べた名前(ASCII to binary と binary to ASCII)は、ある向きとその逆です。漢字に挟まれた「・」は二つを並べる印です(動物園・水族館 と 動物園水族館)。同じ読みの名前でも、語彙表 name-copula に無い助動詞がすぐ後ろに続くもの(白華咲けり)は動詞の語幹で、名前ではありません。大文字で始まる三語以上で、語彙表 name-title-head の語(Act、Commission)で終わるものは、品詞解析の読みと関係なく題と読み、一度だけ書いた題が、二度以上書いた題と一語だけ一字違うもの(National Industrial Recover Act と National Industrial Recovery Act)を指します。
107
- en: Only words the tagger reads as proper nouns are checked. Names in capitals only (ACME INC, NASA) are left out, and so is a name inside a passage written in capitals (eGAIN in "eGAIN AND ITS SUPPLIERS MAKE NO WARRANTY"). So is a word whose capitals spell out an acronym in the bracket after it ("axle (Axis-guided eXperience ELicitation)"). A link's brackets are not part of a name. Names one letter apart are reported only when six letters or longer, with the usual form used at least twice and the other once (Iran and Iraq are different names). Two surnames one letter apart under different given names (Jeffrey D. Walker and Christopher J. Waller) belong to two people, and a doubled last letter dropped (License and Licensee) makes another word when the document writes either in lower case. Two Japanese person names are compared only when written with another form of the same character (斎藤 and 斉藤), or read the same with one character different, the usual form used at least twice and the other once (松本 and 松元); 伊藤 and 伊東 can be two people. A name character the tagger has no reading for (汰 in 健汰) is read with its reading from the lexicon name-char-reading (健太 and 健汰), in table cells as well. A person's name is one the tagger reads as such, or one followed by 様, さん or 氏 (when a name holds a character form the tagger cannot read, the two to four kanji before the honorific are taken as the name). The honorific may follow the name after a space. A word the tagger does not read as a given name is taken as one when it follows a surname after a space and carries an honorific (森下 千尋 様). A given name written in kana after a surname and a space is joined with the surname when an honorific or a title follows it, or when it ends a line in a field that names a person (松本 あかり 様). A name without an honorific is compared too when it is two to four kanji standing alone, one form has a lead such as 担当の or 私、 or an honorific, and the other stands before a word such as です, が or までご連絡 (担当の斎藤です and 斉藤までご連絡ください). Places have such pairs as well (鹿島 and 鹿嶋), so two forms with neither a lead nor an honorific are not compared. A company name is one next to a company form from the lexicon (Inc., Ltd., Co., Ltd., LLC), whatever the tagger reads it as. The same name with forms of two kinds (Inc. and Ltd.), and the same name written with other punctuation or width, are reported. A name written with three forms or more (Aoba Inc, Aoba Ltd, Aoba GmbH) is a group of companies, and its forms are not compared. The short and long spelling of one form (Inc and Incorporated) and a name written without its form (Aoba Systems, the "Company") are not. Two names one letter apart are reported only when seven letters or longer, with the same form, and the letter is not a kanji. A name holding kanji is compared when shorter too, for one kana apart inside a kana word of four or more (コモレビ電機 and コモレピ電機), with the usual form used at least twice and the other once. One kanji of a name written in its kana reading (みどり野生命 and みどりの生命) is reported the same way; the reading is the tagger's, taken only from a word of kana and one kanji. A kanji that does not start the name is also matched with its reading voiced at the start (こむぎ畑 and こむぎばたけ). A place name is one ending in a place word from the lexicon (Street, St., Avenue, Station, Center), whatever the tagger reads it as. The same place written with other punctuation (King's Cross and Kings Cross) or with the place word short and long (11th Street and 11th St.) is reported; a place whose name is one letter away (Union Station and Unoin Station) only when the usual form is used at least twice and the other once. Other numbers and other names (1st Street and 2nd Street, North Hall and South Hall) are different places. Table cells are tagged cell by cell, and a cell holding only a name (two to four capitalised words, or two or three kanji or katakana words with a space) is compared with the names read in the prose. Reported are the same name with other punctuation or case, or one word different with the other words the same, either a letter away (Sofia Mendes in the text, Sofia Mendez in the table) or, for a Japanese name, read the same as the prose name (佐々木 美穂 and 佐々木 美保); these only when the prose form is used at least twice and the cell form once. Place names inside table cells are compared too. A word next to a name that the tagger did not read as a name (to Rachel Whitford, with Rachel read as a verb) is read with it when the two together are read as a name elsewhere. Two names with the same given name and a surname of seven letters or more, whose first four letters match and which differ in at most two letters between the shared start and end (three in the longer one), are reported when the usual form is used at least twice and the other once (Rachel Whitford and Rachel Whitfield). A different given name (Daniel Whitfield) or a surname alone is not compared this way. A name with its words in another order (Foundations of Statistics and Statistical Foundations) is reported only when both hold the same words (by stem) and neither contains the other, and one of them is written as a name, in quotation marks, after a label such as "Prerequisite" and a colon, or as a whole table cell. Two Title Case runs alone are not compared (Florida Supreme Court and Supreme Court of Florida), nor are two names joined by "and", two forms written in one sentence (two menu labels side by side, a term and its definition), or a term the document defines. An article alone does not join two words into a name ("this Agreement the Stockholders"). In Japanese, a product name is four or more katakana right before a product-form word from the lexicon (錠, カプセル, クリーム), whatever the tagger reads it as, counted in headings and table cells as well. Two such names with the same form word, differing by one replaced kana or one long-vowel mark (ミナモール錠 and ミナモル錠), are reported when the usual form is used at least twice and the other once. The same name with another form word (ミナモール錠 and ミナモール顆粒) is not, as a product line often has both. In a Japanese name, a character for the same sound (桜ヶ丘 and 桜ケ丘, 霞ヶ関 and 霞が関) is the same only between two kanji, in a name the tagger reads as one word (not 桜が丘, read as 桜, が, 丘). A name without it (桜丘) or with other kanji (桜ヶ岡) is another name. This difference alone is also looked for in the names inside table cells. A model number (four or more capitals and digits, as one word) is read as the document's model only when it is in the title or after a model label from the lexicon (Model, Model No., Part No.); when it appears twice or more, a form that changes only hyphens, spaces, case or width (KM-SP300 and KM-SP-300, KMSP300, km-sp300) is reported. Codes with other letters or digits (KM-SP300 and KM-SP310, a sibling model in a comparison table, the part numbers of a parts list) are different models and are not compared. A word with small letters (iOS17), a version (v1.2 and v1.20), and a code inside a longer code, a URL, a path or a file name (KM-SP300-B, km-sp300.pdf) are not read as model numbers. A standard number written with spaces (JIS C 8714) is not one word, so it is not read as a model even in the title or after a label. Two forms written once each are compared when exactly one of them is in a field that names a person (a label from the lexicon person-label and a colon, with the name ending the line, as in "Contractor:" followed by Priya Raman); the field's form is taken as the usual one and the other is held to the same rules (Priya Raman and Priya Rahman). Two forms both in such fields, or neither, are not compared. Read differently, two full names (surname and given name) are still reported when they differ by one character and the two characters are a lookalike pair from the lexicon name-lookalike-char (太 and 大, 未 and 末), with the usual form used at least twice and the other once (山本 健太 and 山本 健大); a given name alone is not compared this way, as siblings can have such names. In a Latin-script name of two or more words with the other words the same, one word with its last letter dropped or added (Rachel Whitmore and Rachel Whitmor) is reported when the usual form is used at least twice, or is in a field that names the person, and the other once. When that word is the last one (the surname), only if no word before it is written in lower case, or read as a common noun, anywhere in the document (Hurricane Hanna and Hurricane Hannah are two storms); a surname of four letters is then also compared for one letter apart (Daniel Reyes and Daniel Reys; Reyes and Reyna are different surnames). Another word is compared only when eight letters or longer and the name ends in an ordinary word (Hollybrook Residences and Hollybrooke Residences; the given names Christian and Christiane belong to different people). An added s (a plural) or an n after a vowel (Korea and Korean), and a pair where either word is an ordinary word (Green and Greene), are not reported. Two company names with the same form on the same side, differing in one word only, by at most its last two letters in a word of eight or more (Brightmoor and Brightmore) or as the singular and plural of the last word (Water Utility and Water Utilities), are reported when the usual form is used at least twice and the other once. Two one-word names that are both dictionary words, where one with its ending taken off starts the other (a people and its country, Germans and Germany; a singular and its plural, Englishman and Englishmen), are two words and are not reported. A name set in capitals as a roster sets it, with only a surname prefix from the lexicon name-capitals-prefix kept small (MICHAEL T. McCAUL, SCOTT DesJARLAIS), is left out like a name in capitals. A difference of case alone, in a form holding a word in capitals inside quotation marks, is a cited title kept as published ("The TRIDENT Conference") and is not reported. Two names one letter apart are not reported when they differ only in a last letter that the lexicon name-word-ending calls another form (Texan and Texas, Romano and Romans), when the usual form stands in the same sentence (Constantinus and Constantius, two brothers), when the document writes the differing word twice or more (Mrs. Bandle and Richard Bandle beside Bindle), or when the form starts a sentence or a line and both are dictionary words (Sprang and Spring). Two names with the same two sides in the two orders around a direction word from the lexicon name-direction-word (ASCII to binary, binary to ASCII) are a direction and its inverse. ・ between two kanji lists two things (動物園・水族館 beside 動物園水族館). A Japanese name read the same that stands right before an auxiliary not in the lexicon name-copula (白華咲けり) is a verb stem, not a name. Three or more capitalised words ending in a word from the lexicon name-title-head (Act, Commission) are read as a title, whatever the tagger reads the words as, and a title written once with one word one letter away from a title written twice or more (National Industrial Recover Act and National Industrial Recovery Act) is reported.
106
+ ja: 品詞解析が固有名詞と読んだ語だけを見ます。大文字だけの名前(ACME INC、NASA)と、大文字で書いた一節の中の名前(eGAIN AND ITS SUPPLIERS … の eGAIN)は見ません。略語の後ろの括弧の中で、大文字の字が略語をつづる語(axle (Axis-guided eXperience ELicitation) の ELicitation)も見ません。リンクの角括弧は名前に入れません。一字違いの英字の名前は、6 字以上で、多いほうが二度以上、少ないほうが一度だけのときに限ります(Iran と Iraq は別の名前)。名の違う二人の一字違いの姓(Jeffrey D. Walker と Christopher J. Waller)は別の人です。終わりの重なった字の一つの有る無し(License と Licensee)は、どちらかを文書が小文字で書くなら別の語です。人の名前どうしは、字体の違う同じ字(斎藤 と 斉藤、渡辺 と 渡邊)か、読みが同じで一字だけ違い、多いほうが二度以上、少ないほうが一度だけのとき(松本 と 松元)に限ります(伊藤 と 伊東 は別の人のことがある)。解析器が読みを持たない名前の字(健汰 の 汰)は、語彙表 name-char-reading の読みで読みます(健太 と 健汰。表の升の名前も同じ)。人の名前とは、品詞解析が人名と読んだ語か、「様」「さん」「氏」の付いた名前です(解析器が名前と読めない字体の字を含む名前は、敬称の前の 2〜4 字の漢字を名前と読みます)。敬称は名前とのあいだの空白を越えて見ます。品詞解析が名と読まない語も、姓のあとに空白を挟んで書き、敬称が付けば名と読みます(森下 千尋 様)。姓の後ろに空白を挟んでかなで書いた名も、敬称か肩書きが付くか、人を書く欄の行の終わりにあれば、姓とつないで一つの名前と読みます(松本 あかり 様)。敬称の無い名前も、前後に漢字が続かない 2〜4 字の漢字で、片方の書き方に「担当の」「私、」などの前置きか敬称が付き、もう片方が「です」「が」「までご連絡」などの前にあれば比べます(担当の斎藤です と 斉藤までご連絡ください)。地名にも同じ組がある(鹿島 と 鹿嶋)ので、どちらにも前置きも敬称も無いときは比べません。会社の名前は、語彙表の会社の種類の語(株式会社、(株)、有限会社)の隣にあるものを、品詞と関係なく比べます。名前が同じで種類の語が違うもの(株式会社 と 有限会社)、種類の語を名前の反対側に置いたもの(株式会社アオバ と アオバ株式会社)、記号・幅だけが違うものを指します。三つ以上の種類の語で書いた名前(Aoba Inc、Aoba Ltd、Aoba GmbH)は会社のグループで、種類の違いは比べません。同じ種類の語の略した形(株式会社 と (株))、種類の語を省いた呼び名(アオバシステム、以下「アオバ」)は指しません。名前の一字違いは、7 字以上の名前で、違う字が漢字でないときに限ります(日本電気 と 日本電機 は別の会社のことがある)。漢字を含む名前は、7 字に満たなくても、4 字以上のかなの語の中のかな一字違いを、多いほうが二度以上、少ないほうが一度だけのときに指します(コモレビ電機 と コモレピ電機)。名前の漢字一字を、品詞解析が言うその読みのかなで書いた所(みどり野生命 と みどりの生命)も、多いほうが二度以上、かなのほうが一度だけのときに指します。読みは、かなと漢字一字の語からだけ取ります。名前の頭でない字は、頭の音を濁らせた読みで書いたもの(こむぎ畑 と こむぎばたけ)も同じに指します。漢字だけの名前は、品詞解析が固有名詞と読んだときだけ会社の名前と見ます(清算株式会社、当該株式会社)。場所の名前は、語彙表の場所の語(口、駅、センター、ホール)で終わる名前を、品詞と関係なく比べます。記号・幅だけが違うもの(コンベンションセンター と コンベンション・センター)を指し、名前の読みが同じかかなで書いた読みのもの(筑紫口 と ちくし口)と、固有名詞の字の一字違い(八重洲中央口 と 八重州中央口)は、多いほうが二度以上、少ないほうが一度だけのときに限ります。方角や数字の違い(北口 と 南口、第1会議室 と 第2会議室)は別の所なので指しません。表の升は升ごとに品詞解析し、名前の形をした升(空白を挟んだ二つか三つの漢字・カタカナの語)を本文の名前と比べます。記号・幅だけの違い(佐々木 美穂 と 佐々木 美穂)と、本文と同じく読みが同じで一語だけ違うもの(佐々木 美穂 と 佐々木 美保)を指し、後者は本文の形が二度以上、升の形が一度だけのときに限ります。読みの違う一字違い(佐藤 太郎 と 佐藤 次郎)は別の人のことが多いので指しません(英字の名前は一字違いも指します)。場所の名前は表の升の中のものも比べます。英字の人の名前は、名が同じで、7 字以上の姓の頭 4 字以上がそろい、あいだの 2 字(長いほうは 3 字)までだけ違うもの(Rachel Whitford と Rachel Whitfield)も、多いほうが二度以上、少ないほうが一度だけのときに指します。語の順を入れ替えた名前(統計学基礎 と 基礎統計学)は、同じ語(形態素)を違う順に並べ、どちらも他方を含まず、どちらかが括弧の中か「前提科目:」のような欄の後ろか表の升まるごとに書いた名前のときだけ指します(統計学基礎 と 統計学応用 は別の名前)。同じ文に並べて書いた二つ(画面の二つの項目、定義する語とその中身)と、文書が定義した語は比べません。冠詞だけを挟んだ二つの語(this Agreement the Stockholders)は一つの名前にしません。製品の名前は、語彙表の製品の形の語(錠、カプセル、クリーム)のすぐ前の 4 字以上のカタカナを、品詞と関係なく比べます(見出しと表の升の中のものも数えます)。形の語が同じで、名前が一字の置き換えか長音の記号一つの有る無しだけ違い(ミナモール錠 と ミナモル錠)、多いほうが二度以上、少ないほうが一度だけのときに指します。名前が同じで形の語だけが違うもの(ミナモール錠 と ミナモール顆粒)は、同じ製品の別の形のことが多いので指しません。一語の名前の中で同じ音を書く字(桜ヶ丘・桜ケ丘、霞ヶ関・霞が関)は、漢字に挟まれたときだけ同じ字と見ます。品詞解析が一語と読まない書き方(桜・が・丘)は見ません。字を抜いた形(桜丘)や、違う漢字の名前(桜ヶ岡)は別の名前です。この違いだけは、表の升の中の名前とも比べます。型番(英大文字と数字を合わせた 4 字以上の語)は、文書の題か、語彙表の型番の欄の語(型番、品番、型式)の後ろに書いたものだけを文書の型番と読み、文書の中に二度以上出てくるとき、ハイフン・空白・字の大小・幅だけを変えた形(KM-SP300 と KM-SP-300、KMSP300、km-sp300)を指します。字や数の違う型番(KM-SP300 と KM-SP310、比べる表の兄弟機種、部品表の品番)は別の型番なので指しません。英小文字を含む語(iOS17)、版(v1.2 と v1.20)、より長い型番・URL・パス・ファイル名の一部(KM-SP300-B、km-sp300.pdf)は型番と読みません。空白で区切って書く規格の番号(JIS C 8714)は一つの語でないので、題や欄に書いても型番と読みません。一度ずつ書いた二つの形は、片方だけが人を書く欄(語彙表 person-label の語と「:」の後ろで、名前で行が終わるもの。氏名:山下 美咲)にあれば、欄の形を正しい形と見て、もう片方を同じ決まりで比べます(山下 美咲 と 山下 未咲)。どちらも欄にあるか、どちらも欄に無ければ比べません。欄に書いた名と同じ名を空白の後ろに書いたもの(受託者:西村 亮 の文書の 西邑 亮が)は、敬称が無くても人の名前と読みます。読みの違う一字違いでも、姓と名のそろった名前で、違う二字が語彙表 name-lookalike-char の形の似た字の組(太 と 大、未 と 末)なら、多いほうが二度以上、少ないほうが一度だけのときに指します(山本 健太 と 山本 健大。名だけの名前は兄弟のことがあるので比べません)。英字の名前で、ほかの語が同じ二語以上の名前の一語が、終わりの一字の抜けか足しだけ違うもの(Rachel Whitmore と Rachel Whitmor)も、多いほうが二度以上か人を書く欄にあり、少ないほうが一度だけのときに指します。違うのが最後の語(姓)なら、前の語がどれも、文書の中で小文字でも普通名詞としても書かない語のときに限り(Hurricane Hanna と Hurricane Hannah は別の嵐)、4 字の姓の一字違いも指します(Daniel Reyes と Daniel Reys。Reyes と Reyna は別の姓)。最後でない語は、8 字以上で、名前の最後の語がふつうの語のときに限ります(Hollybrook Residences と Hollybrooke Residences。人の名の Christian と Christiane は別の人)。足した字が s(複数)か母音の後ろの n(Korea と Korean)のもの、違う語のどちらかがふつうの語のもの(Green と Greene)は指しません。会社の名前は、形の語も側も同じで、一語だけが、8 字以上の語の終わりの 2 字まで違うもの(Brightmoor と Brightmore)か、最後の語の単数と複数(Water Utility と Water Utilities)も、多いほうが二度以上、少ないほうが一度だけのときに指します。一語の名前の二つがどちらも辞書の語で、片方の語尾を外した語がもう片方の頭にあるもの(民と国の Germans と Germany、単数と複数の Englishman と Englishmen)は、別の二つの語なので指しません。名簿が大文字で組んだ名前(MICHAEL T. McCAUL、SCOTT DesJARLAIS。語彙表 name-capitals-prefix の姓の頭だけを小文字で残す)は、大文字だけの名前と同じく見ません。大文字の語を含む、字の大小だけの違いが引用符の中にあれば、出典の題をそのまま写したもの("The TRIDENT Conference")なので指しません。一字違いの名前でも、語彙表 name-word-ending の言う語尾の一字だけの違い(Texan と Texas、Romano と Romans)、多いほうと同じ文に並べたもの(Constantinus と Constantius の兄弟)、違う語を文書が二度以上書くもの(Bindle のそばの Mrs. Bandle と Richard Bandle)、文か行の頭にあって、どちらも辞書の語のもの(Sprang と Spring)は指しません。一語の二つの形のうち、指す形を文書がほかで小文字で書くもの(stain のある Stain と Spain)か、多いほうの形を小文字で書き、指す形も辞書の語のもの(vigil のある Vigil と Virgil。affiliates のある Affliates は書き損じとして指します)と、複数の s の付いた大文字の略語どうし(SBLCs と SBDCs)も指しません。小文字で書く語の後ろのアポストロフィの有る無しだけの違い(Look’ee と Lookee)と、それより長いファイル名や URL の一部(Low-Tax-Rates-to-Create-American-Economic-Prosperity.pdf の American-Economic-Prosperity。Borrowmoney.com の Borrowmoney は名前)も指しません。語彙表 name-direction-word の向きの語を挟んで同じ二つを逆の順に並べた名前(ASCII to binary と binary to ASCII)は、ある向きとその逆です。漢字に挟まれた「・」は二つを並べる印です(動物園・水族館 と 動物園水族館)。同じ読みの名前でも、語彙表 name-copula に無い助動詞がすぐ後ろに続くもの(白華咲けり)は動詞の語幹で、名前ではありません。大文字で始まる三語以上で、語彙表 name-title-head の語(Act、Commission)で終わるものは、品詞解析の読みと関係なく題と読み、一度だけ書いた題が、二度以上書いた題と一語だけ一字違うもの(National Industrial Recover Act と National Industrial Recovery Act)を指します。
107
+ en: Only words the tagger reads as proper nouns are checked. Names in capitals only (ACME INC, NASA) are left out, and so is a name inside a passage written in capitals (eGAIN in "eGAIN AND ITS SUPPLIERS MAKE NO WARRANTY"). So is a word whose capitals spell out an acronym in the bracket after it ("axle (Axis-guided eXperience ELicitation)"). A link's brackets are not part of a name. Names one letter apart are reported only when six letters or longer, with the usual form used at least twice and the other once (Iran and Iraq are different names). Two surnames one letter apart under different given names (Jeffrey D. Walker and Christopher J. Waller) belong to two people, and a doubled last letter dropped (License and Licensee) makes another word when the document writes either in lower case. Two Japanese person names are compared only when written with another form of the same character (斎藤 and 斉藤), or read the same with one character different, the usual form used at least twice and the other once (松本 and 松元); 伊藤 and 伊東 can be two people. A name character the tagger has no reading for (汰 in 健汰) is read with its reading from the lexicon name-char-reading (健太 and 健汰), in table cells as well. A person's name is one the tagger reads as such, or one followed by 様, さん or 氏 (when a name holds a character form the tagger cannot read, the two to four kanji before the honorific are taken as the name). The honorific may follow the name after a space. A word the tagger does not read as a given name is taken as one when it follows a surname after a space and carries an honorific (森下 千尋 様). A given name written in kana after a surname and a space is joined with the surname when an honorific or a title follows it, or when it ends a line in a field that names a person (松本 あかり 様). A name without an honorific is compared too when it is two to four kanji standing alone, one form has a lead such as 担当の or 私、 or an honorific, and the other stands before a word such as です, が or までご連絡 (担当の斎藤です and 斉藤までご連絡ください). Places have such pairs as well (鹿島 and 鹿嶋), so two forms with neither a lead nor an honorific are not compared. A company name is one next to a company form from the lexicon (Inc., Ltd., Co., Ltd., LLC), whatever the tagger reads it as. The same name with forms of two kinds (Inc. and Ltd.), and the same name written with other punctuation or width, are reported. A name written with three forms or more (Aoba Inc, Aoba Ltd, Aoba GmbH) is a group of companies, and its forms are not compared. The short and long spelling of one form (Inc and Incorporated) and a name written without its form (Aoba Systems, the "Company") are not. Two names one letter apart are reported only when seven letters or longer, with the same form, and the letter is not a kanji. A name holding kanji is compared when shorter too, for one kana apart inside a kana word of four or more (コモレビ電機 and コモレピ電機), with the usual form used at least twice and the other once. One kanji of a name written in its kana reading (みどり野生命 and みどりの生命) is reported the same way; the reading is the tagger's, taken only from a word of kana and one kanji. A kanji that does not start the name is also matched with its reading voiced at the start (こむぎ畑 and こむぎばたけ). A place name is one ending in a place word from the lexicon (Street, St., Avenue, Station, Center), whatever the tagger reads it as. The same place written with other punctuation (King's Cross and Kings Cross) or with the place word short and long (11th Street and 11th St.) is reported; a place whose name is one letter away (Union Station and Unoin Station) only when the usual form is used at least twice and the other once. Other numbers and other names (1st Street and 2nd Street, North Hall and South Hall) are different places. Table cells are tagged cell by cell, and a cell holding only a name (two to four capitalised words, or two or three kanji or katakana words with a space) is compared with the names read in the prose. Reported are the same name with other punctuation or case, or one word different with the other words the same, either a letter away (Sofia Mendes in the text, Sofia Mendez in the table) or, for a Japanese name, read the same as the prose name (佐々木 美穂 and 佐々木 美保); these only when the prose form is used at least twice and the cell form once. Place names inside table cells are compared too. A word next to a name that the tagger did not read as a name (to Rachel Whitford, with Rachel read as a verb) is read with it when the two together are read as a name elsewhere. Two names with the same given name and a surname of seven letters or more, whose first four letters match and which differ in at most two letters between the shared start and end (three in the longer one), are reported when the usual form is used at least twice and the other once (Rachel Whitford and Rachel Whitfield). A different given name (Daniel Whitfield) or a surname alone is not compared this way. A name with its words in another order (Foundations of Statistics and Statistical Foundations) is reported only when both hold the same words (by stem) and neither contains the other, and one of them is written as a name, in quotation marks, after a label such as "Prerequisite" and a colon, or as a whole table cell. Two Title Case runs alone are not compared (Florida Supreme Court and Supreme Court of Florida), nor are two names joined by "and", two forms written in one sentence (two menu labels side by side, a term and its definition), or a term the document defines. An article alone does not join two words into a name ("this Agreement the Stockholders"). In Japanese, a product name is four or more katakana right before a product-form word from the lexicon (錠, カプセル, クリーム), whatever the tagger reads it as, counted in headings and table cells as well. Two such names with the same form word, differing by one replaced kana or one long-vowel mark (ミナモール錠 and ミナモル錠), are reported when the usual form is used at least twice and the other once. The same name with another form word (ミナモール錠 and ミナモール顆粒) is not, as a product line often has both. In a Japanese name, a character for the same sound (桜ヶ丘 and 桜ケ丘, 霞ヶ関 and 霞が関) is the same only between two kanji, in a name the tagger reads as one word (not 桜が丘, read as 桜, が, 丘). A name without it (桜丘) or with other kanji (桜ヶ岡) is another name. This difference alone is also looked for in the names inside table cells. A model number (four or more capitals and digits, as one word) is read as the document's model only when it is in the title or after a model label from the lexicon (Model, Model No., Part No.); when it appears twice or more, a form that changes only hyphens, spaces, case or width (KM-SP300 and KM-SP-300, KMSP300, km-sp300) is reported. Codes with other letters or digits (KM-SP300 and KM-SP310, a sibling model in a comparison table, the part numbers of a parts list) are different models and are not compared. A word with small letters (iOS17), a version (v1.2 and v1.20), and a code inside a longer code, a URL, a path or a file name (KM-SP300-B, km-sp300.pdf) are not read as model numbers. A standard number written with spaces (JIS C 8714) is not one word, so it is not read as a model even in the title or after a label. Two forms written once each are compared when exactly one of them is in a field that names a person (a label from the lexicon person-label and a colon, with the name ending the line, as in "Contractor:" followed by Priya Raman); the field's form is taken as the usual one and the other is held to the same rules (Priya Raman and Priya Rahman). Two forms both in such fields, or neither, are not compared. Read differently, two full names (surname and given name) are still reported when they differ by one character and the two characters are a lookalike pair from the lexicon name-lookalike-char (太 and 大, 未 and 末), with the usual form used at least twice and the other once (山本 健太 and 山本 健大); a given name alone is not compared this way, as siblings can have such names. In a Latin-script name of two or more words with the other words the same, one word with its last letter dropped or added (Rachel Whitmore and Rachel Whitmor) is reported when the usual form is used at least twice, or is in a field that names the person, and the other once. When that word is the last one (the surname), only if no word before it is written in lower case, or read as a common noun, anywhere in the document (Hurricane Hanna and Hurricane Hannah are two storms); a surname of four letters is then also compared for one letter apart (Daniel Reyes and Daniel Reys; Reyes and Reyna are different surnames). Another word is compared only when eight letters or longer and the name ends in an ordinary word (Hollybrook Residences and Hollybrooke Residences; the given names Christian and Christiane belong to different people). An added s (a plural) or an n after a vowel (Korea and Korean), and a pair where either word is an ordinary word (Green and Greene), are not reported. Two company names with the same form on the same side, differing in one word only, by at most its last two letters in a word of eight or more (Brightmoor and Brightmore) or as the singular and plural of the last word (Water Utility and Water Utilities), are reported when the usual form is used at least twice and the other once. Two one-word names that are both dictionary words, where one with its ending taken off starts the other (a people and its country, Germans and Germany; a singular and its plural, Englishman and Englishmen), are two words and are not reported. A name set in capitals as a roster sets it, with only a surname prefix from the lexicon name-capitals-prefix kept small (MICHAEL T. McCAUL, SCOTT DesJARLAIS), is left out like a name in capitals. A difference of case alone, in a form holding a word in capitals inside quotation marks, is a cited title kept as published ("The TRIDENT Conference") and is not reported. Two names one letter apart are not reported when they differ only in a last letter that the lexicon name-word-ending calls another form (Texan and Texas, Romano and Romans), when the usual form stands in the same sentence (Constantinus and Constantius, two brothers), when the document writes the differing word twice or more (Mrs. Bandle and Richard Bandle beside Bindle), or when the form starts a sentence or a line and both are dictionary words (Sprang and Spring). Nor are two one-word forms when the document writes the pointed form in small letters elsewhere (Stain beside stain and Spain), or writes the usual form so and the pointed form is a dictionary word too (Virgil beside Vigil and vigil; Affliates beside affiliates is still a slip), or two acronyms in capitals with a plural s (SBLCs and SBDCs). A contraction printed with and without its apostrophe after a word the document writes in small letters (Look’ee and Lookee), and a form inside a longer file name or a URL (American-Economic-Prosperity in Low-Tax-Rates-to-Create-American-Economic-Prosperity.pdf, but not Borrowmoney in Borrowmoney.com), are not reported. Two names with the same two sides in the two orders around a direction word from the lexicon name-direction-word (ASCII to binary, binary to ASCII) are a direction and its inverse. ・ between two kanji lists two things (動物園・水族館 beside 動物園水族館). A Japanese name read the same that stands right before an auxiliary not in the lexicon name-copula (白華咲けり) is a verb stem, not a name. Three or more capitalised words ending in a word from the lexicon name-title-head (Act, Commission) are read as a title, whatever the tagger reads the words as, and a title written once with one word one letter away from a title written twice or more (National Industrial Recover Act and National Industrial Recovery Act) is reported.
108
108
  rewrite:
109
109
  depth: light
110
110
  ja:
@@ -52,8 +52,8 @@ example:
52
52
  We listen to our customers. Regulars try every prototype, and store staff ask shoppers what they thought.
53
53
 
54
54
  not_flagged:
55
- ja: 一覧の飾り(各項目に付くタグやリンクの文字)、欄の名前(Cited by:)、かぎ括弧で引いた題や言葉、文書が定義した語と、名前にかかる語句は数えません。英語の、名詞と形容詞と略語だけが並ぶ用語(the federal funds rate、extended AI assistant)は言い回しではないので数えません。一つの文の中の繰り返しは 1 回と数えます。文書の題と見出しにある言い回しは主題なので数えません。よくある質問の答えは、問いの見出しごとに別々に数えます。節の最初の文にある言い回し(節ごとのひな形の書き出し)、番号を振った項目の見出し((1)…に係る規定に関する改正)、参照の項目の説明の段落(`max-age` の節、定義の並び)、句点の無い名詞で終わる一行(表の欄)に出たぶんは数えません。項目ごとの決まった結び(〜ものとすること。原案のとおり決定する。が表示されます。)も、文の終わりにあれば数えません。文書が引いた題の後ろで決まって使う短い結び(詳しくは「…」を確認してください。)、文書の部分を指す名前(Section 3.1、表2)にかかる語句、表の欄が 2 つ続いた後ろの一行の文(表の行の最後の欄)も数えません。枠ごとにまったく同じ形で付けるコロンで終わる一行の札(The following rule has the force of law:)、平文の仕様書の定義の並びの項目(行の頭の短い名前とコロンのあとに空白を 2 つ置いて書く定義)、リンクのすぐ後ろで決まって使う結び([…](…)を参照してください。)、数字だけを入れ替えた報告の行(There are currently 17 committers …)も、書き手の言い回しではないので数えません。英語で、名詞の入る所の -ing 形の句(what occupying the anticipatory mode requires)と、用語の後ろの be(the anticipatory mode is)は用語で、言い回しではありません。手順書が手順ごとに役割を名指しする、名詞の主語と助動詞だけの語句(the manager should)も、何をするかが毎回違うので数えません。長い文書の中で何千語も離れて使う語句(報告が測る出来事の名前 adopted a budget resolution)は、前の出現を覚えているうちに次が来ないので数えません。見出しが名付けた句に前後の語が 1 つ付いただけの語句(見出し Create a ConfigMap の下の to create a ConfigMap、見出し 旧氏を併記した場合 の下の 旧氏を併記した氏名)も主題で、数えません。角括弧でくくった画面の部品の名前に付いた語句([許可]をクリックすると、[ブックマーク]をクリックすると)は、手順ごとに違う部品を指す書き方で、数えません。中黒で並べた名詞を飾る節(育成すべき資質・能力)も、文書の決まった用語で、言い回しではありません。短い文書は測りません。見出しが一つの複合語に書いた主題を、本文が助詞を入れて書いた語句(見出しの「旧氏併記」に対する「旧氏を併記した氏」)も、主題なので数えません。
56
- en: Tags, link text and symbols that a listing repeats on every entry, field labels (Cited by:), titles and words quoted in Japanese brackets, terms the document defines, and the words around a repeated name are not counted. A term made only of nouns, adjectives and acronyms ("the federal funds rate", "extended AI assistant") is not a phrasing and is not counted. A phrase repeated inside one sentence counts once, and one in the document's title or headings is its subject and is not counted. The answers in a FAQ are counted one question at a time. Uses in the first sentence of sections (each section's template opening), in numbered item titles ((1) ... amendment of the provision on ...), in the first paragraph of a reference entry (a section headed `max-age`, a definition list) and in a line without a full stop that ends in a noun (a table cell) are not counted, nor a fixed closing line repeated per item at the end of a Japanese sentence (〜ものとすること。, 原案のとおり決定する。, が表示されます。). Nor are the short closing a document uses mostly right after a quoted title (詳しくは「…」を確認してください。), the words around a reference to a numbered part (set out in Section 3.1, 表2), or a one-line sentence after two table cells (the last cell of a table run into lines). Nor are a one-line label ending in a colon repeated verbatim before each box (The following rule has the force of law:), an entry of a plain-text definition list (a short name, a colon and two spaces, then the definition), the short closing a document uses mostly right after a link ([…](…)を参照してください。), or a report line filled in with different numbers (There are currently 17 committers …). In English, an -ing phrase in a noun's place (what occupying the anticipatory mode requires) and a term followed by be (the anticipatory mode is) are terms, not phrasing. Nor is a noun subject followed only by a modal (the manager should), the way a process manual names the role for each step, since what the role must do follows and differs each time. A phrase whose uses lie thousands of words apart in a long document (the event a report times, adopted a budget resolution) is not counted, since the reader has forgotten one use before the next comes. A phrase that is a heading's phrase with a word attached (to create a ConfigMap under the heading Create a ConfigMap, 旧氏を併記した氏名 under 旧氏を併記した場合) is the subject too, and is not counted. In Japanese, the words attached to a bracketed screen label ([許可]をクリックすると) are the step wording of a screen manual, each naming a different button, and are not counted. In Japanese, a clause modifying nouns joined by a nakaguro (育成すべき資質・能力) is part of one fixed term, not phrasing. Short documents are not measured. Nor is a Japanese phrase that spells out with particles a compound a heading names (旧氏を併記した氏 under a heading holding 旧氏併記), since it is the subject.
55
+ ja: 一覧の飾り(各項目に付くタグやリンクの文字)、欄の名前(Cited by:)、かぎ括弧で引いた題や言葉、文書が定義した語と、名前にかかる語句は数えません。英語の、名詞と形容詞と略語だけが並ぶ用語(the federal funds rate、extended AI assistant)は言い回しではないので数えません。一つの文の中の繰り返しは 1 回と数えます。文書の題と見出しにある言い回しは主題なので数えません。よくある質問の答えは、問いの見出しごとに別々に数えます。節の最初の文にある言い回し(節ごとのひな形の書き出し)、番号を振った項目の見出し((1)…に係る規定に関する改正)、参照の項目の説明の段落(`max-age` の節、定義の並び)、句点の無い名詞で終わる一行(表の欄)に出たぶんは数えません。項目ごとの決まった結び(〜ものとすること。原案のとおり決定する。が表示されます。を記載してください。)も、文の終わりにあれば数えません。文書が引いた題の後ろで決まって使う短い結び(詳しくは「…」を確認してください。)、文書の部分を指す名前(Section 3.1、表2)にかかる語句、表の欄が 2 つ続いた後ろの一行の文(表の行の最後の欄)も数えません。枠ごとにまったく同じ形で付けるコロンで終わる一行の札(The following rule has the force of law:)、平文の仕様書の定義の並びの項目(行の頭の短い名前とコロンのあとに空白を 2 つ置いて書く定義)、リンクのすぐ後ろで決まって使う結び([…](…)を参照してください。)、数字だけを入れ替えた報告の行(There are currently 17 committers …)も、書き手の言い回しではないので数えません。英語で、名詞の入る所の -ing 形の句(what occupying the anticipatory mode requires)と、用語の後ろの be(the anticipatory mode is)は用語で、言い回しではありません。手順書が手順ごとに役割を名指しする、名詞の主語と助動詞だけの語句(the manager should)も、何をするかが毎回違うので数えません。長い文書の中で何千語も離れて使う語句(報告が測る出来事の名前 adopted a budget resolution)は、前の出現を覚えているうちに次が来ないので数えません。見出しが名付けた句に前後の語が 1 つ付いただけの語句(見出し Create a ConfigMap の下の to create a ConfigMap、見出し 旧氏を併記した場合 の下の 旧氏を併記した氏名)も主題で、数えません。角括弧でくくった画面の部品の名前に付いた語句([許可]をクリックすると、[ブックマーク]をクリックすると)は、手順ごとに違う部品を指す書き方で、数えません。中黒で並べた名詞を飾る節(育成すべき資質・能力)も、文書の決まった用語で、言い回しではありません。短い文書は測りません。見出しが一つの複合語に書いた主題を、本文が助詞を入れて書いた語句(見出しの「旧氏併記」に対する「旧氏を併記した氏」)も、主題なので数えません。
56
+ en: Tags, link text and symbols that a listing repeats on every entry, field labels (Cited by:), titles and words quoted in Japanese brackets, terms the document defines, and the words around a repeated name are not counted. A term made only of nouns, adjectives and acronyms ("the federal funds rate", "extended AI assistant") is not a phrasing and is not counted. A phrase repeated inside one sentence counts once, and one in the document's title or headings is its subject and is not counted. The answers in a FAQ are counted one question at a time. Uses in the first sentence of sections (each section's template opening), in numbered item titles ((1) ... amendment of the provision on ...), in the first paragraph of a reference entry (a section headed `max-age`, a definition list) and in a line without a full stop that ends in a noun (a table cell) are not counted, nor a fixed closing line repeated per item at the end of a Japanese sentence (〜ものとすること。, 原案のとおり決定する。, が表示されます。, を記載してください。). Nor are the short closing a document uses mostly right after a quoted title (詳しくは「…」を確認してください。), the words around a reference to a numbered part (set out in Section 3.1, 表2), or a one-line sentence after two table cells (the last cell of a table run into lines). Nor are a one-line label ending in a colon repeated verbatim before each box (The following rule has the force of law:), an entry of a plain-text definition list (a short name, a colon and two spaces, then the definition), the short closing a document uses mostly right after a link ([…](…)を参照してください。), or a report line filled in with different numbers (There are currently 17 committers …). In English, an -ing phrase in a noun's place (what occupying the anticipatory mode requires) and a term followed by be (the anticipatory mode is) are terms, not phrasing. Nor is a noun subject followed only by a modal (the manager should), the way a process manual names the role for each step, since what the role must do follows and differs each time. A phrase whose uses lie thousands of words apart in a long document (the event a report times, adopted a budget resolution) is not counted, since the reader has forgotten one use before the next comes. A phrase that is a heading's phrase with a word attached (to create a ConfigMap under the heading Create a ConfigMap, 旧氏を併記した氏名 under 旧氏を併記した場合) is the subject too, and is not counted. In Japanese, the words attached to a bracketed screen label ([許可]をクリックすると) are the step wording of a screen manual, each naming a different button, and are not counted. In Japanese, a clause modifying nouns joined by a nakaguro (育成すべき資質・能力) is part of one fixed term, not phrasing. Short documents are not measured. Nor is a Japanese phrase that spells out with particles a compound a heading names (旧氏を併記した氏 under a heading holding 旧氏併記), since it is the subject.
57
57
  level_meaning:
58
58
  ja: 同じ言い回し {limit} 回まで
59
59
  en: up to {limit} uses of the same phrase
@@ -42,8 +42,8 @@ example:
42
42
  after: 本社営業部にある第二課の方針を確認しました。
43
43
 
44
44
  not_flagged:
45
- ja: 読点で区切った並び、=・:・→ で区切った句、「」や『』の中の題名や引用、行の頭のリンクで引いた外のページの題名、文の中に書いた法律の題名(障害者等の移動等の円滑化の促進に関する法律)、短い呼び名を付けた長い名前(被害者のための相談センター(以下「センター」という。))、文書が一度鉤括弧で引いた名前を括弧なしで書き直したもの(「地域のための共通の指針」と引いた後の、地域のための共通の指針の改定)は数えません。括弧(】や ))は、解析器が次の語とつなげて読んでも連なりを切ります。人の集まりを敬って呼ぶ語の前の「の」も、その呼び方が「の」で次の語に係るとき(国民の皆様の期待、被災者の方々の暮らし)は一つの呼び方の中なので数えません。置き場所を前の語との関係で言う語(下、上、横、裏)の前の「の」も、その場所が「の」で次の語に係るとき(ラックの下の段)は一つの場所の名前の中なので数えません。決まった言い回しの中の「の」(絶滅のおそれのある種の「おそれのある」)も、一語のように読むので数えません。表を一続きの文に平らにしたもの(セルの数字がつながった 8,45795.7 や、見出しのセルが単位の括弧で閉じる 割合(%)被所有割合(%)…)は、セルの切れ目が見えないので数えません。
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 (障害者等の移動等の円滑化の促進に関する法律), a long name given a short one (被害者のための相談センター(以下「センター」という。)), a name the document quotes once and writes again without brackets, and the の before an honorific for a group of people when that form of address goes on with の (国民の皆様の期待, 被災者の方々の暮らし), are not counted. Nor is the の before a word that places something against another (下, 上, 横, 裏) when the place goes on with の (ラックの下の段, the shelf under the rack). Nor is the の inside a set phrase read as one word (おそれのある, "at risk of", in 絶滅のおそれのある種). Nor is a table flattened into one run of text (numbers of two cells run together, 8,45795.7, or header cells each closed by a unit in brackets, 割合(%)被所有割合(%)…), whose cell boundaries cannot be seen. A bracket (】 or ")") ends the run even when the parser joins it to the next word.
45
+ ja: 読点で区切った並び、=・:・→ で区切った句、「」や『』の中の題名や引用、行の頭のリンクで引いた外のページの題名、文の中に書いた法律の題名(障害者等の移動等の円滑化の促進に関する法律)、短い呼び名を付けた長い名前(被害者のための相談センター(以下「センター」という。))、文書が一度鉤括弧で引いた名前を括弧なしで書き直したもの(「地域のための共通の指針」と引いた後の、地域のための共通の指針の改定)は数えません。括弧(】や ))は、解析器が次の語とつなげて読んでも連なりを切ります。人の集まりを敬って呼ぶ語の前の「の」も、その呼び方が「の」で次の語に係るとき(国民の皆様の期待、被災者の方々の暮らし)は一つの呼び方の中なので数えません。置き場所を前の語との関係で言う語(下、上、横、裏)の前の「の」も、その場所が「の」で次の語に係るとき(ラックの下の段)は一つの場所の名前の中なので数えません。決まった言い回しの中の「の」(絶滅のおそれのある種の「おそれのある」、AとBとの間の「との間」)も、一語のように読むので数えません。「他の」の「の」も、名詞を名詞の中に入れず絞るだけなので数えません。「の」が節の主語を示すとき(番号のついた版の部品)は、節の前と後ろを別の句として数え、どちらかが上限を超えるときだけ言います。表を一続きの文に平らにしたもの(セルの数字がつながった 8,45795.7 や、見出しのセルが単位の括弧で閉じる 割合(%)被所有割合(%)…)は、セルの切れ目が見えないので数えません。
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 (障害者等の移動等の円滑化の促進に関する法律), a long name given a short one (被害者のための相談センター(以下「センター」という。)), a name the document quotes once and writes again without brackets, and the の before an honorific for a group of people when that form of address goes on with の (国民の皆様の期待, 被災者の方々の暮らし), are not counted. Nor is the の before a word that places something against another (下, 上, 横, 裏) when the place goes on with の (ラックの下の段, the shelf under the rack). Nor is the の inside a set phrase read as one word (おそれのある, "at risk of", in 絶滅のおそれのある種; との間, "between", in AとBとの間), nor the の of 他の ("other"), which narrows the noun rather than nesting it. When の marks the subject of a clause (番号のついた版の部品, the part of the version that has a number), the phrases before and after the clause are counted apart, and the run is reported only when one of them goes over the limit. Nor is a table flattened into one run of text (numbers of two cells run together, 8,45795.7, or header cells each closed by a unit in brackets, 割合(%)被所有割合(%)…), whose cell boundaries cannot be seen. 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
@@ -74,5 +74,5 @@ example:
74
74
  config: { genre: technical/spec }
75
75
 
76
76
  not_flagged:
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, nor is one written right after a term the document defines (秘密情報等 where 「秘密情報」 is defined), which widens a named thing rather than leaving a list open. "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. Nor is a Japanese 等 in a noun a heading of the document names (出願書類等 under 出願書類等の送付先), which is the page's subject rather than an open list.
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, nor is one written right after a term the document defines (秘密情報等 where 「秘密情報」 is defined), which widens a named thing rather than leaving a list open. "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. Nor is a Japanese 等 in a noun a heading of the document names (出願書類等 under 出願書類等の送付先), which is the page's subject rather than an open list. Nor is a Japanese 等 in a term that law or usage fixes with it (消費税等, 免許等, from the lexicon), which is no open list.
@@ -10,8 +10,8 @@ name:
10
10
  en: Space before punctuation
11
11
 
12
12
  why:
13
- ja: '英文では句読点を前の語に付けて書きます。「word .」「(word) ,」のように前に空白があると、行の折り返しで句読点だけが次の行の頭に落ちることがあり、書き換えの途中で残った空白に見えます。ピリオド・カンマ・セミコロン・疑問符・感嘆符を見ます。コロン("Note : ")、空白で区切った省略の点や目次の点線(". . .")、".NET" や ".5" のように次の語の頭の点、数の後ろ(式の "[ 1 , N ]")、コードと URL は数えません。前の空白が二つ以上の所(表のように並べた行)も数えません。'
14
- en: 'English attaches punctuation to the word before it. A space before it ("word .", "(word) ,") can leave the mark alone at the start of the next line, and reads as a space left over from an edit. Periods, commas, semicolons, question marks and exclamation marks are checked. A colon ("Note : "), dots spaced out as an ellipsis or a leader in a table of contents (". . ."), a dot that starts the next word (".NET", ".5"), a mark after a number ("[ 1 , N ]" in a formula), code and URLs are not counted, nor are two or more spaces before the mark (a line laid out like a table).'
13
+ ja: '英文では句読点を前の語に付けて書きます。「word .」「(word) ,」のように前に空白があると、行の折り返しで句読点だけが次の行の頭に落ちることがあり、書き換えの途中で残った空白に見えます。ピリオド・カンマ・セミコロン・疑問符・感嘆符を見ます。コロン("Note : ")、空白で区切った省略の点や目次の点線(". . ."、行の折り返しが点の間に入ったものも)、".NET" や ".5" のように次の語の頭の点、数の後ろ(式の "[ 1 , N ]")、コードと URL は数えません。前の空白が二つ以上の所(表のように並べた行)も数えません。'
14
+ en: 'English attaches punctuation to the word before it. A space before it ("word .", "(word) ,") can leave the mark alone at the start of the next line, and reads as a space left over from an edit. Periods, commas, semicolons, question marks and exclamation marks are checked. A colon ("Note : "), dots spaced out as an ellipsis or a leader in a table of contents (". . .", also when a line break falls between the dots), a dot that starts the next word (".NET", ".5"), a mark after a number ("[ 1 , N ]" in a formula), code and URLs are not counted, nor are two or more spaces before the mark (a line laid out like a table).'
15
15
 
16
16
  message:
17
17
  ja: 「{mark}」の前に空白があります
@@ -37,5 +37,5 @@ example:
37
37
  The form is ready, and the office has a copy.
38
38
 
39
39
  not_flagged:
40
- ja: コロン、空白で区切った省略の点や目次の点線(「. . .」)、「.NET」「.5」のような語の頭の点、数の後ろの句読点、二つ以上の空白の後ろの句読点、コードと URL、文献一覧で値の落ちた大文字の欄の後ろの読点(「ISBN ,」)は指しません。
41
- en: Colons, dots spaced out as an ellipsis or a leader (". . ."), a dot that starts a word (".NET", ".5"), a mark after a number or after two or more spaces, code and URLs, and a comma after a capitalised field left empty in a reference list ("ISBN ,") are not reported.
40
+ ja: コロン、空白で区切った省略の点や目次の点線(「. . .」、点の間で行を折り返したものも)、「.NET」「.5」のような語の頭の点、数の後ろの句読点、二つ以上の空白の後ろの句読点、コードと URL、文献一覧で値の落ちた大文字の欄の後ろの読点(「ISBN ,」)は指しません。
41
+ en: Colons, dots spaced out as an ellipsis or a leader (". . .", even across a line break), a dot that starts a word (".NET", ".5"), a mark after a number or after two or more spaces, code and URLs, and a comma after a capitalised field left empty in a reference list ("ISBN ,") are not reported.
@@ -44,8 +44,8 @@ example:
44
44
  今年の目標は売上の回復です。そのための施策は三つあります。最初に、店頭の品ぞろえを見直します。
45
45
 
46
46
  not_flagged:
47
- ja: 箇条書きの中の体言止めは、その書き方が普通なので数えません。段落の頭に (1)(2)(3) と順に番号を付け、URL や西暦の年で出典を書いた注や文献の一覧も、名前や題を並べた項目なので数えません。(注1)や「注:」で始まる表や図の注の段落と、箇条書きのすぐ前でそこへ渡す文(以下のとおり説明。)も、名詞で止めるのが書き方なので数えません。
48
- en: Noun endings in bullet lists, where the form is normal, are not counted. Nor are the entries of a list of notes or references written as paragraphs numbered (1), (2), (3) in order that cite sources (a URL or a year), which list names and titles. Nor are the paragraphs of a note to a table or a figure opened by its label ((注1), 注:), or the sentence right before a bullet list that hands the reader to it (以下のとおり説明。), which are written ending in a noun.
47
+ ja: 箇条書きの中の体言止めは、その書き方が普通なので数えません。段落の頭に (1)(2)(3) と順に番号を付け、URL や西暦の年で出典を書いた注や文献の一覧も、名前や題を並べた項目なので数えません。(注1)や「注:」で始まる表や図の注の段落と、箇条書きのすぐ前でそこへ渡す文(以下のとおり説明。)も、名詞で止めるのが書き方なので数えません。「どのような見直しが必要か。」のように問いの「か」で閉じた文は問いなので数えません。
48
+ en: Noun endings in bullet lists, where the form is normal, are not counted. Nor are the entries of a list of notes or references written as paragraphs numbered (1), (2), (3) in order that cite sources (a URL or a year), which list names and titles. Nor are the paragraphs of a note to a table or a figure opened by its label ((注1), 注:), or the sentence right before a bullet list that hands the reader to it (以下のとおり説明。), which are written ending in a noun. Nor is a question closed by the particle か (どのような見直しが必要か。).
49
49
  level_meaning:
50
50
  ja: 本文の体言止め {limit} 文まで
51
51
  en: up to {limit} noun-ending sentences in the body
@@ -3,7 +3,7 @@ layer: L3
3
3
  status: stable
4
4
  how_to_find: topic-predicate-distance
5
5
  requires: [pos]
6
- extra_word_lists: [topic-clause-close, statute-article-opener]
6
+ extra_word_lists: [topic-clause-close, statute-article-opener, topic-adverb]
7
7
  languages: [ja]
8
8
  severity: info
9
9
 
@@ -45,8 +45,8 @@ example:
45
45
  来週は、新しい担当者の紹介、先月から続く予算の見直し、春の本社移転の準備、秋の採用計画の確認、年末の懇親会の段取りを話し合います。そのため定例会議は二時間に延長します。
46
46
 
47
47
  not_flagged:
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; a 〜のは topic that gets its copula inside a clause という makes a noun's content, when that noun phrase ends at a comma, as in 〜来てほしいのは日本であったという調査の結果、…), 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)、述語の後ろに丸数字の番号(③)が来て一行に詰まった箇条の次の項目が始まるところ、「〜のは」の主題が「という」で名詞に掛かる節の中で繋辞の述語を得て、その名詞句が読点で終わるところ(〜来てほしいのは日本であったという調査の結果、…))は、その節の終わりまでを数えます。後ろの節の主語には「〜のほとんどは」も数えます。副詞になる「は」(最後は=結局のところ。語は語彙表 topic-adverb)は主題と読みません。前に名詞や「の」が付けば(交渉の最後は)主題です。時や場面を言う「は」(今夜は、当日は、〜ときは)の後ろに別の主題があれば、その主題から数えます。法令でも契約でもない文書が条文をそのまま載せた文(「第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; a 〜のは topic that gets its copula inside a clause という makes a noun's content, when that noun phrase ends at a comma, as in 〜来てほしいのは日本であったという調査の結果、…), the count stops at that clause's end. A later clause's subject may be a part, as in 〜のほとんどは. A は that makes an adverb of the noun before it (最後は, in the end; the words are in the topic-adverb word list) is not a topic; with a noun or の before it (交渉の最後は) it is. 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
@@ -9,8 +9,8 @@ name:
9
9
  en: Unbalanced bracket
10
10
 
11
11
  why:
12
- ja: 閉じ忘れた「(」や、開きの無い「」」があると、読み手はどこまでが括弧の中なのか分からなくなります。全角の「(」を半角の「)」で閉じるのも、書き換えの途中で残った印です。見出しで区切った節ごとに、「」『』()()[][]【】〔〕〈〉《》“” と半角の 「」 の組を数えます。詩の連や長い引用は段落をまたぐので、段落を越えて組にします。行の頭や空白の後ろの「1)」「a)」「事例)」のような三文字までの番号の印と数の後ろの「)」、括弧の中の番号の印(「(…以下、事例5)まで同じ。)」の「事例5)」。同じ字の印を行の頭でも使っていて、同じ行の後ろの閉じで括弧が閉じるときに限る)、コードと URL、引用の閉じのすぐ前の開き(法令の読替えの「取締役(」とあるのは)は数えません。英語の小説のように、次の段落も同じ開きで始まるなら、閉じない開きは続きとして数えません。
13
- en: A "(" never closed, or a ")" never opened, leaves the reader unsure where the aside ends. A full-width "(" closed by a half-width ")" is left over from an edit too. Brackets are paired within each section under a heading ((), [], “”, and the Japanese 「」『』()[]【】〔〕〈〉《》), across paragraphs, since a stanza or a long quotation may span several. A short label of up to three characters such as "1)", "a)" or "iv)" at the start of a line or after a space, a ")" right after a number, a numbered label inside an aside ("A3)" in "(see the notes; A3) and more)", when the same label is used at the start of a line and later closes on the same line still close the aside), code, URLs, and an opening bracket quoted as the last character of a quotation (「取締役(」, as statutes quote the text they amend) are not counted. An opening quotation mark carried into a paragraph that opens with the same mark, as in fiction, is not counted.
12
+ ja: 閉じ忘れた「(」や、開きの無い「」」があると、読み手はどこまでが括弧の中なのか分からなくなります。全角の「(」を半角の「)」で閉じるのも、書き換えの途中で残った印です。見出しで区切った節ごとに、「」『』()()[][]【】〔〕〈〉《》“” と半角の 「」 の組を数えます。詩の連や長い引用は段落をまたぐので、段落を越えて組にします。行の頭や空白の後ろの「1)」「a)」「事例)」のような三文字までの番号の印と数の後ろの「)」、括弧の中の番号の印(「(…以下、事例5)まで同じ。)」の「事例5)」。同じ字の印を行の頭でも使っていて、同じ行の後ろの閉じで括弧が閉じるときに限る)、コードと URL、引用の閉じのすぐ前の開き(法令の読替えの「取締役(」とあるのは)は数えません。英語の小説のように、次の段落も同じ開きで始まるなら、閉じない開きは続きとして数えません。詩の引用のように二行以上を続けて行の頭の同じ引用符で開き直し、終わりで一度だけ閉じるものも、続きとして数えません。
13
+ en: A "(" never closed, or a ")" never opened, leaves the reader unsure where the aside ends. A full-width "(" closed by a half-width ")" is left over from an edit too. Brackets are paired within each section under a heading ((), [], “”, and the Japanese 「」『』()[]【】〔〕〈〉《》), across paragraphs, since a stanza or a long quotation may span several. A short label of up to three characters such as "1)", "a)" or "iv)" at the start of a line or after a space, a ")" right after a number, a numbered label inside an aside ("A3)" in "(see the notes; A3) and more)", when the same label is used at the start of a line and later closes on the same line still close the aside), code, URLs, and an opening bracket quoted as the last character of a quotation (「取締役(」, as statutes quote the text they amend) are not counted. An opening quotation mark carried into a paragraph that opens with the same mark, as in fiction, is not counted, nor is a quotation of verse that reopens with the same mark at the start of two or more lines in a row and closes once at the end.
14
14
 
15
15
  message:
16
16
  ja: 「{mark}」が組になっていません
@@ -52,5 +52,5 @@ example:
52
52
  The plan (see below) is ready.
53
53
 
54
54
  not_flagged:
55
- ja: 行の頭や空白の後ろの「1)」「a)」「事例)」のような三文字までの番号の印、数の後ろの「)」、行の頭でも使う番号の印を括弧の中に書いたもの(「以下、事例5)まで同じ。」)、コードと URL は数えません。段落をまたいで閉じる括弧と、次の段落を同じ引用符で始める台詞も指しません。小数と単位の間の引用符はインチの印(.015 “Hg)として数えません。半角の「「」」も鉤括弧として組にし、全角との幅の違い(「…」)は hankaku-kana に任せます。
56
- en: Labels of up to three characters such as "1)" or "a)" at the start of a line or after a space, a ")" right after a number, a numbered label also used at the start of a line, written inside an aside ("(see the notes; A3) and more)"), code and URLs are not counted. A bracket closed in a later paragraph, and a quotation carried into a paragraph that opens with the same mark, are not reported. A curly quote between a decimal number and a unit is an inch mark (".015 “Hg") and is not counted. Half-width 「」 pair as Japanese brackets too; a width difference against 「」 (「…」) is left to hankaku-kana.
55
+ ja: 行の頭や空白の後ろの「1)」「a)」「事例)」のような三文字までの番号の印、数の後ろの「)」、行の頭でも使う番号の印を括弧の中に書いたもの(「以下、事例5)まで同じ。」)、コードと URL は数えません。段落をまたいで閉じる括弧と、次の段落を同じ引用符で始める台詞、行ごとに同じ引用符で開き直して終わりで一度だけ閉じる詩の引用も指しません。小数と単位の間の引用符はインチの印(.015 “Hg)として数えません。半角の「「」」も鉤括弧として組にし、全角との幅の違い(「…」)は hankaku-kana に任せます。
56
+ en: Labels of up to three characters such as "1)" or "a)" at the start of a line or after a space, a ")" right after a number, a numbered label also used at the start of a line, written inside an aside ("(see the notes; A3) and more)"), code and URLs are not counted. A bracket closed in a later paragraph, a quotation carried into a paragraph that opens with the same mark, and verse quoted with the same mark reopening each line and one close at the end, are not reported. A curly quote between a decimal number and a unit is an inch mark (".015 “Hg") and is not counted. Half-width 「」 pair as Japanese brackets too; a width difference against 「」 (「…」) is left to hankaku-kana.
@@ -68,6 +68,8 @@ by_genre:
68
68
  business: { strict: 1, normal: 2, relaxed: 5 }
69
69
  speech: { strict: 1, normal: 2, relaxed: 5 }
70
70
  docs/faq: { strict: 1, normal: 1, relaxed: 3 }
71
+ # 手引きも、日常の略語(HR)を数えなくなってから judged corpus で測り直して下げた。
72
+ docs/manual: { strict: 1, normal: 2, relaxed: 5 }
71
73
 
72
74
  use_for: [business, technical, legal, docs, academic, literature, speech]
73
75
  off_for:
@@ -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)、版の番号の前の語(golang 1.21.5)、誌の巻と号の前の語(Biochemia medica 22 (3) の medica)、辞書に無い別の語と一字だけ違う語(pthread と bthread、同じ作りの名前)、辞書が -nse と書く語を -nce と書いた古い綴りやイギリスの綴り(recompence、expence)も指しません。
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), a word before a journal's volume and issue (medica in Biochemia medica 22 (3)), a word one letter from another word of the document the dictionary does not know either (pthread and bthread, names on one scheme), or an older or British -nce spelling of a word the dictionary spells -nse (recompence, expence).
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。文書が別の所で三度以上分けて書いていれば(flag salute)、引用符の中でなければ、続けた形(flagsalute)を打ち間違いとして言います)、薬の国際一般名の語幹で終わる語(paroxetine の -oxetine)、版の番号の前の語(golang 1.21.5)、誌の巻と号の前の語(Biochemia medica 22 (3) の medica)、辞書に無い別の語と一字だけ違う語(pthread と bthread、同じ作りの名前)、辞書が -nse と書く語を -nce と書いた古い綴りやイギリスの綴り(recompence、expence)も指しません。
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; where the document writes the two apart three times or more elsewhere, as flag salute beside flagsalute, the joined form outside quotation marks is reported), 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), a word before a journal's volume and issue (medica in Biochemia medica 22 (3)), a word one letter from another word of the document the dictionary does not know either (pthread and bthread, names on one scheme), or an older or British -nce spelling of a word the dictionary spells -nse (recompence, expence).
52
52
  rewrite:
53
53
  depth: light
54
54
  en:
@@ -53,8 +53,8 @@ example:
53
53
  Report an incident within 30 minutes and notify the affected teams. Record it in the incident log and fix the cause by the next working day.
54
54
 
55
55
  not_flagged:
56
- ja: 文書の長さに対して少ないものは指しません。短すぎる文書も測りません。指すのは語のある文ごとに一度で、長い言い方の中の語(in a timely manner の timely)は一つと数えます。英語の法務の文書では、法律や慣行が意味を決めている言い方(reasonable、best efforts、from time to time)の中の語は数えません。要求の文の中の「可能な限り」「必要に応じて」は、要求の書き方として requirement-smell も見ます。すぐ後ろの括弧で中身を書いた語(一定の事項(請求書に書く事項))も数えません。括弧が名前を付けるだけ(以下「本措置」という。)なら数えます。目次の見出しの下の行(節の名前)は数えません。英語の reasonable accommodation は、どのジャンルでも法律が決めた義務の名前なので数えません。
57
- en: 'A few vague words for the document''s length are not reported, and very short documents are not measured. Each sentence is reported once, and a word inside a longer phrase ("timely" in "in a timely manner") counts once. In legal documents, a word inside a term that law and practice define ("reasonable", "best efforts", "from time to time") is not counted. Inside a requirement, requirement-smell also reads "where possible" and "as needed". A word that the bracket right after it pins down ("a reasonable fee (USD 50)") is not counted either; a bracket that only names it ("(hereinafter the ""Fee"")") pins nothing down. Lines under a table of contents heading (the sections'' names) are not counted, and "reasonable accommodation" is the name of a legal duty in any genre.'
56
+ ja: 文書の長さに対して少ないものは指しません。短すぎる文書も測りません。指すのは語のある文ごとに一度で、長い言い方の中の語(in a timely manner の timely)は一つと数えます。英語の法務の文書では、法律や慣行が意味を決めている言い方(reasonable、best efforts、from time to time)の中の語は数えません。要求の文の中の「可能な限り」「必要に応じて」は、要求の書き方として requirement-smell も見ます。すぐ後ろの括弧で中身を書いた語(一定の事項(請求書に書く事項))も数えません。括弧が名前を付けるだけ(以下「本措置」という。)なら数えます。目次の見出しの下の行(節の名前)は数えません。英語の reasonable accommodation は、どのジャンルでも法律が決めた義務の名前なので数えません。英語で、すぐ後ろに法律や条を名指す語が続くもの(as required by applicable law、as required under 45 CFR §164.528、as required under HIPAA)は、何が要るのかをその法律が決めているので数えません。当事者が決めるもの(as required by Licensor)は数えます。
57
+ en: 'A few vague words for the document''s length are not reported, and very short documents are not measured. Each sentence is reported once, and a word inside a longer phrase ("timely" in "in a timely manner") counts once. In legal documents, a word inside a term that law and practice define ("reasonable", "best efforts", "from time to time") is not counted. Inside a requirement, requirement-smell also reads "where possible" and "as needed". A word that the bracket right after it pins down ("a reasonable fee (USD 50)") is not counted either; a bracket that only names it ("(hereinafter the ""Fee"")") pins nothing down. Lines under a table of contents heading (the sections'' names) are not counted, and "reasonable accommodation" is the name of a legal duty in any genre. A word that a law or a section governs right after it ("as required by applicable law", "as required under 45 CFR §164.528", "as required under HIPAA") is not counted, since that law says what is required; one a party decides ("as required by Licensor") is.'
58
58
  level_meaning:
59
59
  ja: 1000 字あたりあいまいな語 {limit} 個まで
60
60
  en: up to {limit} vague words per 1000 words
@@ -1,6 +1,7 @@
1
1
  import type { Token } from "./plugin.ts";
2
2
 
3
- const touches = (left: Token | undefined, right: Token | undefined): boolean => left !== undefined && right !== undefined && left.span.end === right.span.start;
3
+ export const touches = (left: Token | undefined, right: Token | undefined): boolean =>
4
+ left !== undefined && right !== undefined && left.span.end === right.span.start;
4
5
 
5
6
  /**
6
7
  * 前の語と組んで一つの名前になる語(敬って呼ぶ語の皆様、置き場所を言う語の下)の直前の助詞で、組んだ名前がさらに同じ助詞で次の語に
@@ -0,0 +1,35 @@
1
+ import type { Token } from "./plugin.ts";
2
+ import { touches } from "./bound-word-particles.ts";
3
+
4
+ // Particles that look like a link of a nesting chain (の) but do not nest a noun in a noun, and the predicates that
5
+ // close a chain. Pure.
6
+
7
+ /** The counted particles (particles) written straight after a word that only picks out which ones (他の: words). */
8
+ export const determinerParticles = (tokens: readonly Token[], particles: readonly string[], words: readonly string[]): ReadonlySet<Token> =>
9
+ new Set(tokens.filter((token, at) => particles.includes(token.surface) && touches(tokens[at - 1], token) && words.includes(tokens[at - 1]?.surface ?? "")));
10
+
11
+ /** A verb that ends a clause: in its dictionary form (定める) or followed by an auxiliary (つい of ついた), not a stem that starts a compound noun (繰下げ of 繰下げ受給). */
12
+ const endsClause = (verb: Token, after: Token | undefined): boolean => verb.pos === "VERB" && (verb.surface === verb.lemma || after?.pos === "AUX");
13
+
14
+ /**
15
+ * The verbs written straight after a counted particle (番号のついた版): that の marks the subject of a clause as が would,
16
+ * and the clause ends at its verb, so the noun after it starts a new phrase. The の itself still counts, in the phrase before.
17
+ */
18
+ export const clauseEnds = (tokens: readonly Token[], particles: readonly string[]): ReadonlySet<Token> =>
19
+ new Set(
20
+ tokens.filter((token, at) => endsClause(token, tokens[at + 1]) && particles.includes(tokens[at - 1]?.surface ?? "") && touches(tokens[at - 1], token)),
21
+ );
22
+
23
+ const endsBetween = (left: Token, right: Token, ends: ReadonlySet<Token>): boolean =>
24
+ [...ends].some((verb) => verb.span.start >= left.span.end && verb.span.end <= right.span.start);
25
+
26
+ /** The most particles of a run (in order) that no clause end (ends) falls between: 2 for 特定の番号の|ついた版の. 0 for none. */
27
+ export const longestClausePart = (run: readonly Token[], ends: ReadonlySet<Token>): number =>
28
+ run.reduce<{ readonly current: number; readonly longest: number }>(
29
+ (acc, token, at) => {
30
+ const previous = run[at - 1];
31
+ const current = previous !== undefined && endsBetween(previous, token, ends) ? 1 : acc.current + 1;
32
+ return { current, longest: Math.max(acc.longest, current) };
33
+ },
34
+ { current: 0, longest: 0 },
35
+ ).longest;
@@ -113,11 +113,19 @@ const nameLineDefinitions = (source: string): string[] => {
113
113
  .filter((initials) => initials !== "");
114
114
  };
115
115
 
116
+ /**
117
+ * 文中の書式のタグ(<span id="13.18">**"GDPR"**</span> means)。読み手には見えず、語と定義の語の間を空けない。表の欄や段落のタグは
118
+ * 区切りなので外さない。
119
+ */
120
+ const INLINE_TAG = /<\/?(?:span|a|b|strong|em|i|u|mark|small|abbr|dfn)(?:\s[^<>\n]{0,200})?>/giu;
121
+
116
122
  /** 文書が括弧の展開の形をとらずに定義した略語。 */
117
- export const statedAcronyms = (source: string, words: DefinitionStatementWords): ReadonlySet<string> =>
118
- new Set([
119
- ...statementDefinitions(source, words.statements),
120
- ...labelDefinitions(source),
121
- ...markedDefinitions(source, words.markers),
122
- ...nameLineDefinitions(source),
123
+ export const statedAcronyms = (source: string, words: DefinitionStatementWords): ReadonlySet<string> => {
124
+ const text = source.replaceAll(INLINE_TAG, "");
125
+ return new Set([
126
+ ...statementDefinitions(text, words.statements),
127
+ ...labelDefinitions(text),
128
+ ...markedDefinitions(text, words.markers),
129
+ ...nameLineDefinitions(text),
123
130
  ]);
131
+ };