chaffjs 0.44.0 → 0.46.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 (575) hide show
  1. package/dist/announced-list.d.ts +2 -1
  2. package/dist/announced-list.d.ts.map +1 -1
  3. package/dist/announced-list.js +3 -1
  4. package/dist/announced-list.js.map +1 -1
  5. package/dist/body-section.d.ts +7 -0
  6. package/dist/body-section.d.ts.map +1 -1
  7. package/dist/body-section.js +15 -0
  8. package/dist/body-section.js.map +1 -1
  9. package/dist/derived/durations.d.ts +1 -0
  10. package/dist/derived/durations.d.ts.map +1 -1
  11. package/dist/derived/durations.js +2 -2
  12. package/dist/derived/durations.js.map +1 -1
  13. package/dist/derived/marked-dates.d.ts +2 -0
  14. package/dist/derived/marked-dates.d.ts.map +1 -1
  15. package/dist/derived/marked-dates.js +2 -0
  16. package/dist/derived/marked-dates.js.map +1 -1
  17. package/dist/detectors/abstract-length.d.ts +5 -1
  18. package/dist/detectors/abstract-length.d.ts.map +1 -1
  19. package/dist/detectors/abstract-length.js +13 -5
  20. package/dist/detectors/abstract-length.js.map +1 -1
  21. package/dist/detectors/acronym-capitals.d.ts +6 -0
  22. package/dist/detectors/acronym-capitals.d.ts.map +1 -0
  23. package/dist/detectors/acronym-capitals.js +30 -0
  24. package/dist/detectors/acronym-capitals.js.map +1 -0
  25. package/dist/detectors/adversative-ga.d.ts +1 -1
  26. package/dist/detectors/adversative-ga.d.ts.map +1 -1
  27. package/dist/detectors/adversative-ga.js +19 -2
  28. package/dist/detectors/adversative-ga.js.map +1 -1
  29. package/dist/detectors/bare-comparative.d.ts +1 -0
  30. package/dist/detectors/bare-comparative.d.ts.map +1 -1
  31. package/dist/detectors/bare-comparative.js +9 -2
  32. package/dist/detectors/bare-comparative.js.map +1 -1
  33. package/dist/detectors/bare-word-list.d.ts +7 -0
  34. package/dist/detectors/bare-word-list.d.ts.map +1 -0
  35. package/dist/detectors/bare-word-list.js +43 -0
  36. package/dist/detectors/bare-word-list.js.map +1 -0
  37. package/dist/detectors/bold-field-label.d.ts +8 -0
  38. package/dist/detectors/bold-field-label.d.ts.map +1 -0
  39. package/dist/detectors/bold-field-label.js +31 -0
  40. package/dist/detectors/bold-field-label.js.map +1 -0
  41. package/dist/detectors/bold-label.d.ts +15 -1
  42. package/dist/detectors/bold-label.d.ts.map +1 -1
  43. package/dist/detectors/bold-label.js +103 -20
  44. package/dist/detectors/bold-label.js.map +1 -1
  45. package/dist/detectors/broken-link.d.ts.map +1 -1
  46. package/dist/detectors/broken-link.js +22 -4
  47. package/dist/detectors/broken-link.js.map +1 -1
  48. package/dist/detectors/byline-list.d.ts +4 -0
  49. package/dist/detectors/byline-list.d.ts.map +1 -0
  50. package/dist/detectors/byline-list.js +19 -0
  51. package/dist/detectors/byline-list.js.map +1 -0
  52. package/dist/detectors/caps-screen-label.d.ts +3 -0
  53. package/dist/detectors/caps-screen-label.d.ts.map +1 -0
  54. package/dist/detectors/caps-screen-label.js +13 -0
  55. package/dist/detectors/caps-screen-label.js.map +1 -0
  56. package/dist/detectors/casual-voice.d.ts +8 -0
  57. package/dist/detectors/casual-voice.d.ts.map +1 -0
  58. package/dist/detectors/casual-voice.js +22 -0
  59. package/dist/detectors/casual-voice.js.map +1 -0
  60. package/dist/detectors/char-shape.d.ts +0 -6
  61. package/dist/detectors/char-shape.d.ts.map +1 -1
  62. package/dist/detectors/char-shape.js +4 -21
  63. package/dist/detectors/char-shape.js.map +1 -1
  64. package/dist/detectors/clause-shape.d.ts +2 -0
  65. package/dist/detectors/clause-shape.d.ts.map +1 -1
  66. package/dist/detectors/clause-shape.js +11 -2
  67. package/dist/detectors/clause-shape.js.map +1 -1
  68. package/dist/detectors/cleft-focus.d.ts +4 -0
  69. package/dist/detectors/cleft-focus.d.ts.map +1 -0
  70. package/dist/detectors/cleft-focus.js +31 -0
  71. package/dist/detectors/cleft-focus.js.map +1 -0
  72. package/dist/detectors/count-per-section.d.ts.map +1 -1
  73. package/dist/detectors/count-per-section.js +6 -2
  74. package/dist/detectors/count-per-section.js.map +1 -1
  75. package/dist/detectors/dangling-opener.d.ts.map +1 -1
  76. package/dist/detectors/dangling-opener.js +10 -1
  77. package/dist/detectors/dangling-opener.js.map +1 -1
  78. package/dist/detectors/date-year.d.ts.map +1 -1
  79. package/dist/detectors/date-year.js +11 -1
  80. package/dist/detectors/date-year.js.map +1 -1
  81. package/dist/detectors/defined-term-form.d.ts.map +1 -1
  82. package/dist/detectors/defined-term-form.js +17 -3
  83. package/dist/detectors/defined-term-form.js.map +1 -1
  84. package/dist/detectors/definition-use.d.ts.map +1 -1
  85. package/dist/detectors/definition-use.js +13 -3
  86. package/dist/detectors/definition-use.js.map +1 -1
  87. package/dist/detectors/document-shape.d.ts +4 -1
  88. package/dist/detectors/document-shape.d.ts.map +1 -1
  89. package/dist/detectors/document-shape.js +12 -2
  90. package/dist/detectors/document-shape.js.map +1 -1
  91. package/dist/detectors/doubled-punctuation.d.ts.map +1 -1
  92. package/dist/detectors/doubled-punctuation.js +24 -1
  93. package/dist/detectors/doubled-punctuation.js.map +1 -1
  94. package/dist/detectors/email-letter.d.ts.map +1 -1
  95. package/dist/detectors/email-letter.js +5 -2
  96. package/dist/detectors/email-letter.js.map +1 -1
  97. package/dist/detectors/email-subject-reference.d.ts +6 -0
  98. package/dist/detectors/email-subject-reference.d.ts.map +1 -0
  99. package/dist/detectors/email-subject-reference.js +31 -0
  100. package/dist/detectors/email-subject-reference.js.map +1 -0
  101. package/dist/detectors/empty-section.d.ts +1 -1
  102. package/dist/detectors/empty-section.d.ts.map +1 -1
  103. package/dist/detectors/empty-section.js +3 -2
  104. package/dist/detectors/empty-section.js.map +1 -1
  105. package/dist/detectors/fact-consistency.js +2 -2
  106. package/dist/detectors/fact-consistency.js.map +1 -1
  107. package/dist/detectors/figure-order.d.ts +1 -1
  108. package/dist/detectors/figure-order.d.ts.map +1 -1
  109. package/dist/detectors/figure-order.js +7 -2
  110. package/dist/detectors/figure-order.js.map +1 -1
  111. package/dist/detectors/fullwidth-alnum.d.ts +2 -2
  112. package/dist/detectors/fullwidth-alnum.d.ts.map +1 -1
  113. package/dist/detectors/fullwidth-alnum.js +19 -3
  114. package/dist/detectors/fullwidth-alnum.js.map +1 -1
  115. package/dist/detectors/gram-heading.d.ts.map +1 -1
  116. package/dist/detectors/gram-heading.js +13 -1
  117. package/dist/detectors/gram-heading.js.map +1 -1
  118. package/dist/detectors/heading-case.d.ts.map +1 -1
  119. package/dist/detectors/heading-case.js +6 -1
  120. package/dist/detectors/heading-case.js.map +1 -1
  121. package/dist/detectors/heading-echo.d.ts.map +1 -1
  122. package/dist/detectors/heading-echo.js +20 -7
  123. package/dist/detectors/heading-echo.js.map +1 -1
  124. package/dist/detectors/heading-number.d.ts +7 -0
  125. package/dist/detectors/heading-number.d.ts.map +1 -0
  126. package/dist/detectors/heading-number.js +21 -0
  127. package/dist/detectors/heading-number.js.map +1 -0
  128. package/dist/detectors/heading-numbering.d.ts.map +1 -1
  129. package/dist/detectors/heading-numbering.js +1 -7
  130. package/dist/detectors/heading-numbering.js.map +1 -1
  131. package/dist/detectors/hyphen-name-suffix.d.ts +3 -0
  132. package/dist/detectors/hyphen-name-suffix.d.ts.map +1 -0
  133. package/dist/detectors/hyphen-name-suffix.js +24 -0
  134. package/dist/detectors/hyphen-name-suffix.js.map +1 -0
  135. package/dist/detectors/katakana-density.d.ts.map +1 -1
  136. package/dist/detectors/katakana-density.js +7 -4
  137. package/dist/detectors/katakana-density.js.map +1 -1
  138. package/dist/detectors/lexicon.d.ts +1 -0
  139. package/dist/detectors/lexicon.d.ts.map +1 -1
  140. package/dist/detectors/lexicon.js +19 -1
  141. package/dist/detectors/lexicon.js.map +1 -1
  142. package/dist/detectors/link-shape.d.ts.map +1 -1
  143. package/dist/detectors/link-shape.js +10 -2
  144. package/dist/detectors/link-shape.js.map +1 -1
  145. package/dist/detectors/list-item-phrase.d.ts +20 -0
  146. package/dist/detectors/list-item-phrase.d.ts.map +1 -0
  147. package/dist/detectors/list-item-phrase.js +73 -0
  148. package/dist/detectors/list-item-phrase.js.map +1 -0
  149. package/dist/detectors/list-layout.d.ts +5 -0
  150. package/dist/detectors/list-layout.d.ts.map +1 -1
  151. package/dist/detectors/list-layout.js +12 -0
  152. package/dist/detectors/list-layout.js.map +1 -1
  153. package/dist/detectors/list-lead-in.d.ts.map +1 -1
  154. package/dist/detectors/list-lead-in.js +1 -17
  155. package/dist/detectors/list-lead-in.js.map +1 -1
  156. package/dist/detectors/list-parallel.d.ts.map +1 -1
  157. package/dist/detectors/list-parallel.js +29 -24
  158. package/dist/detectors/list-parallel.js.map +1 -1
  159. package/dist/detectors/lookalike-character.d.ts +2 -1
  160. package/dist/detectors/lookalike-character.d.ts.map +1 -1
  161. package/dist/detectors/lookalike-character.js +14 -1
  162. package/dist/detectors/lookalike-character.js.map +1 -1
  163. package/dist/detectors/mark-shape.d.ts +7 -2
  164. package/dist/detectors/mark-shape.d.ts.map +1 -1
  165. package/dist/detectors/mark-shape.js +41 -14
  166. package/dist/detectors/mark-shape.js.map +1 -1
  167. package/dist/detectors/measured-facts.d.ts +5 -1
  168. package/dist/detectors/measured-facts.d.ts.map +1 -1
  169. package/dist/detectors/measured-facts.js +7 -3
  170. package/dist/detectors/measured-facts.js.map +1 -1
  171. package/dist/detectors/middle-dot.d.ts +12 -0
  172. package/dist/detectors/middle-dot.d.ts.map +1 -1
  173. package/dist/detectors/middle-dot.js +46 -0
  174. package/dist/detectors/middle-dot.js.map +1 -1
  175. package/dist/detectors/missing-final-period.d.ts.map +1 -1
  176. package/dist/detectors/missing-final-period.js +13 -1
  177. package/dist/detectors/missing-final-period.js.map +1 -1
  178. package/dist/detectors/name-variant.d.ts.map +1 -1
  179. package/dist/detectors/name-variant.js +2 -1
  180. package/dist/detectors/name-variant.js.map +1 -1
  181. package/dist/detectors/named-by-context.d.ts +13 -0
  182. package/dist/detectors/named-by-context.d.ts.map +1 -0
  183. package/dist/detectors/named-by-context.js +10 -0
  184. package/dist/detectors/named-by-context.js.map +1 -0
  185. package/dist/detectors/number-style.d.ts +2 -0
  186. package/dist/detectors/number-style.d.ts.map +1 -1
  187. package/dist/detectors/number-style.js +19 -4
  188. package/dist/detectors/number-style.js.map +1 -1
  189. package/dist/detectors/numeral-opener.d.ts +1 -1
  190. package/dist/detectors/numeral-opener.d.ts.map +1 -1
  191. package/dist/detectors/numeral-opener.js +4 -2
  192. package/dist/detectors/numeral-opener.js.map +1 -1
  193. package/dist/detectors/open-end-names.d.ts +2 -0
  194. package/dist/detectors/open-end-names.d.ts.map +1 -1
  195. package/dist/detectors/open-end-names.js +8 -1
  196. package/dist/detectors/open-end-names.js.map +1 -1
  197. package/dist/detectors/ordinary-phrase.d.ts +5 -0
  198. package/dist/detectors/ordinary-phrase.d.ts.map +1 -1
  199. package/dist/detectors/ordinary-phrase.js +10 -0
  200. package/dist/detectors/ordinary-phrase.js.map +1 -1
  201. package/dist/detectors/orthographic-variant.js +2 -2
  202. package/dist/detectors/orthographic-variant.js.map +1 -1
  203. package/dist/detectors/output-lead-in.d.ts +3 -0
  204. package/dist/detectors/output-lead-in.d.ts.map +1 -0
  205. package/dist/detectors/output-lead-in.js +26 -0
  206. package/dist/detectors/output-lead-in.js.map +1 -0
  207. package/dist/detectors/outside-announced-list.d.ts.map +1 -1
  208. package/dist/detectors/outside-announced-list.js +6 -1
  209. package/dist/detectors/outside-announced-list.js.map +1 -1
  210. package/dist/detectors/oxford-comma.d.ts.map +1 -1
  211. package/dist/detectors/oxford-comma.js +3 -1
  212. package/dist/detectors/oxford-comma.js.map +1 -1
  213. package/dist/detectors/paragraph-restatement.d.ts +4 -1
  214. package/dist/detectors/paragraph-restatement.d.ts.map +1 -1
  215. package/dist/detectors/paragraph-restatement.js +17 -2
  216. package/dist/detectors/paragraph-restatement.js.map +1 -1
  217. package/dist/detectors/person-consistency.d.ts +2 -1
  218. package/dist/detectors/person-consistency.d.ts.map +1 -1
  219. package/dist/detectors/person-consistency.js +11 -2
  220. package/dist/detectors/person-consistency.js.map +1 -1
  221. package/dist/detectors/placeholder-context.d.ts +16 -0
  222. package/dist/detectors/placeholder-context.d.ts.map +1 -0
  223. package/dist/detectors/placeholder-context.js +57 -0
  224. package/dist/detectors/placeholder-context.js.map +1 -0
  225. package/dist/detectors/placeholder-text.d.ts +2 -0
  226. package/dist/detectors/placeholder-text.d.ts.map +1 -1
  227. package/dist/detectors/placeholder-text.js +1 -1
  228. package/dist/detectors/placeholder-text.js.map +1 -1
  229. package/dist/detectors/quoted-title-line.d.ts +6 -0
  230. package/dist/detectors/quoted-title-line.d.ts.map +1 -0
  231. package/dist/detectors/quoted-title-line.js +14 -0
  232. package/dist/detectors/quoted-title-line.js.map +1 -0
  233. package/dist/detectors/register-interview.d.ts +4 -0
  234. package/dist/detectors/register-interview.d.ts.map +1 -0
  235. package/dist/detectors/register-interview.js +19 -0
  236. package/dist/detectors/register-interview.js.map +1 -0
  237. package/dist/detectors/registry/colloquial-opener-pile.d.ts +3 -0
  238. package/dist/detectors/registry/colloquial-opener-pile.d.ts.map +1 -0
  239. package/dist/detectors/registry/colloquial-opener-pile.js +3 -0
  240. package/dist/detectors/registry/colloquial-opener-pile.js.map +1 -0
  241. package/dist/detectors/registry/middle-dot.js +1 -1
  242. package/dist/detectors/repeated-head.d.ts.map +1 -1
  243. package/dist/detectors/repeated-head.js +23 -4
  244. package/dist/detectors/repeated-head.js.map +1 -1
  245. package/dist/detectors/request-owner.d.ts +3 -1
  246. package/dist/detectors/request-owner.d.ts.map +1 -1
  247. package/dist/detectors/request-owner.js +5 -2
  248. package/dist/detectors/request-owner.js.map +1 -1
  249. package/dist/detectors/run-together.d.ts +3 -0
  250. package/dist/detectors/run-together.d.ts.map +1 -0
  251. package/dist/detectors/run-together.js +13 -0
  252. package/dist/detectors/run-together.js.map +1 -0
  253. package/dist/detectors/sentence-counts.d.ts +8 -2
  254. package/dist/detectors/sentence-counts.d.ts.map +1 -1
  255. package/dist/detectors/sentence-counts.js +32 -7
  256. package/dist/detectors/sentence-counts.js.map +1 -1
  257. package/dist/detectors/sentence-ending.d.ts +2 -0
  258. package/dist/detectors/sentence-ending.d.ts.map +1 -1
  259. package/dist/detectors/sentence-ending.js +8 -2
  260. package/dist/detectors/sentence-ending.js.map +1 -1
  261. package/dist/detectors/sentence-parts.d.ts +10 -1
  262. package/dist/detectors/sentence-parts.d.ts.map +1 -1
  263. package/dist/detectors/sentence-parts.js +17 -2
  264. package/dist/detectors/sentence-parts.js.map +1 -1
  265. package/dist/detectors/signals.d.ts.map +1 -1
  266. package/dist/detectors/signals.js +10 -1
  267. package/dist/detectors/signals.js.map +1 -1
  268. package/dist/detectors/space-before-punctuation.d.ts +2 -2
  269. package/dist/detectors/space-before-punctuation.d.ts.map +1 -1
  270. package/dist/detectors/space-before-punctuation.js +13 -2
  271. package/dist/detectors/space-before-punctuation.js.map +1 -1
  272. package/dist/detectors/stray-space.js +1 -1
  273. package/dist/detectors/stray-space.js.map +1 -1
  274. package/dist/detectors/structure-tree.d.ts.map +1 -1
  275. package/dist/detectors/structure-tree.js +2 -1
  276. package/dist/detectors/structure-tree.js.map +1 -1
  277. package/dist/detectors/structure.d.ts +1 -0
  278. package/dist/detectors/structure.d.ts.map +1 -1
  279. package/dist/detectors/structure.js +8 -3
  280. package/dist/detectors/structure.js.map +1 -1
  281. package/dist/detectors/superlative-context.d.ts +7 -0
  282. package/dist/detectors/superlative-context.d.ts.map +1 -1
  283. package/dist/detectors/superlative-context.js +6 -0
  284. package/dist/detectors/superlative-context.js.map +1 -1
  285. package/dist/detectors/technical-docs.d.ts.map +1 -1
  286. package/dist/detectors/technical-docs.js +5 -1
  287. package/dist/detectors/technical-docs.js.map +1 -1
  288. package/dist/detectors/template-sections.d.ts +1 -0
  289. package/dist/detectors/template-sections.d.ts.map +1 -1
  290. package/dist/detectors/template-sections.js +1 -1
  291. package/dist/detectors/template-sections.js.map +1 -1
  292. package/dist/detectors/token-shape.d.ts.map +1 -1
  293. package/dist/detectors/token-shape.js +16 -3
  294. package/dist/detectors/token-shape.js.map +1 -1
  295. package/dist/detectors/unbalanced-bracket.d.ts.map +1 -1
  296. package/dist/detectors/unbalanced-bracket.js +5 -1
  297. package/dist/detectors/unbalanced-bracket.js.map +1 -1
  298. package/dist/detectors/undefined-term.d.ts.map +1 -1
  299. package/dist/detectors/undefined-term.js +5 -1
  300. package/dist/detectors/undefined-term.js.map +1 -1
  301. package/dist/detectors/unfilled-placeholder.d.ts.map +1 -1
  302. package/dist/detectors/unfilled-placeholder.js +18 -1
  303. package/dist/detectors/unfilled-placeholder.js.map +1 -1
  304. package/dist/detectors/vague-density.d.ts.map +1 -1
  305. package/dist/detectors/vague-density.js +13 -1
  306. package/dist/detectors/vague-density.js.map +1 -1
  307. package/dist/detectors/verse-block.d.ts +4 -0
  308. package/dist/detectors/verse-block.d.ts.map +1 -0
  309. package/dist/detectors/verse-block.js +40 -0
  310. package/dist/detectors/verse-block.js.map +1 -0
  311. package/dist/document.d.ts.map +1 -1
  312. package/dist/document.js +1 -0
  313. package/dist/document.js.map +1 -1
  314. package/dist/email-parts.d.ts +2 -0
  315. package/dist/email-parts.d.ts.map +1 -1
  316. package/dist/email-parts.js +10 -7
  317. package/dist/email-parts.js.map +1 -1
  318. package/dist/eval.d.ts.map +1 -1
  319. package/dist/eval.js +3 -0
  320. package/dist/eval.js.map +1 -1
  321. package/dist/front-matter.d.ts +3 -0
  322. package/dist/front-matter.d.ts.map +1 -0
  323. package/dist/front-matter.js +13 -0
  324. package/dist/front-matter.js.map +1 -0
  325. package/dist/genre-check.js +1 -1
  326. package/dist/genre-check.js.map +1 -1
  327. package/dist/genre.d.ts +0 -2
  328. package/dist/genre.d.ts.map +1 -1
  329. package/dist/genre.js +1 -12
  330. package/dist/genre.js.map +1 -1
  331. package/dist/labelled-note-paragraphs.d.ts +4 -0
  332. package/dist/labelled-note-paragraphs.d.ts.map +1 -0
  333. package/dist/labelled-note-paragraphs.js +21 -0
  334. package/dist/labelled-note-paragraphs.js.map +1 -0
  335. package/dist/list-lead-sentence.d.ts +6 -0
  336. package/dist/list-lead-sentence.d.ts.map +1 -0
  337. package/dist/list-lead-sentence.js +20 -0
  338. package/dist/list-lead-sentence.js.map +1 -0
  339. package/dist/paragraph-runs.d.ts +2 -1
  340. package/dist/paragraph-runs.d.ts.map +1 -1
  341. package/dist/paragraph-runs.js +19 -2
  342. package/dist/paragraph-runs.js.map +1 -1
  343. package/dist/plugin.d.ts +2 -0
  344. package/dist/plugin.d.ts.map +1 -1
  345. package/dist/reasons.d.ts +2 -0
  346. package/dist/reasons.d.ts.map +1 -1
  347. package/dist/reasons.js +2 -0
  348. package/dist/reasons.js.map +1 -1
  349. package/dist/recording-title.d.ts +5 -0
  350. package/dist/recording-title.d.ts.map +1 -0
  351. package/dist/recording-title.js +11 -0
  352. package/dist/recording-title.js.map +1 -0
  353. package/dist/rule-of-three.d.ts +7 -2
  354. package/dist/rule-of-three.d.ts.map +1 -1
  355. package/dist/rule-of-three.js +11 -3
  356. package/dist/rule-of-three.js.map +1 -1
  357. package/dist/run.d.ts.map +1 -1
  358. package/dist/run.js +4 -1
  359. package/dist/run.js.map +1 -1
  360. package/dist/sentence-load.d.ts +2 -1
  361. package/dist/sentence-load.d.ts.map +1 -1
  362. package/dist/sentence-load.js +56 -2
  363. package/dist/sentence-load.js.map +1 -1
  364. package/dist/stray-space.d.ts +5 -2
  365. package/dist/stray-space.d.ts.map +1 -1
  366. package/dist/stray-space.js +24 -2
  367. package/dist/stray-space.js.map +1 -1
  368. package/dist/structure/cited-elsewhere.d.ts +5 -2
  369. package/dist/structure/cited-elsewhere.d.ts.map +1 -1
  370. package/dist/structure/cited-elsewhere.js +16 -6
  371. package/dist/structure/cited-elsewhere.js.map +1 -1
  372. package/dist/structure/definition-use.d.ts +2 -1
  373. package/dist/structure/definition-use.d.ts.map +1 -1
  374. package/dist/structure/definition-use.js +10 -2
  375. package/dist/structure/definition-use.js.map +1 -1
  376. package/dist/structure/due-column.d.ts +5 -0
  377. package/dist/structure/due-column.d.ts.map +1 -0
  378. package/dist/structure/due-column.js +30 -0
  379. package/dist/structure/due-column.js.map +1 -0
  380. package/dist/structure/generic-role.d.ts +1 -0
  381. package/dist/structure/generic-role.d.ts.map +1 -1
  382. package/dist/structure/generic-role.js +6 -0
  383. package/dist/structure/generic-role.js.map +1 -1
  384. package/dist/structure/issues.js +1 -1
  385. package/dist/structure/issues.js.map +1 -1
  386. package/dist/structure/party-role.d.ts.map +1 -1
  387. package/dist/structure/party-role.js +4 -2
  388. package/dist/structure/party-role.js.map +1 -1
  389. package/dist/title-case-name.d.ts +5 -0
  390. package/dist/title-case-name.d.ts.map +1 -1
  391. package/dist/title-case-name.js +14 -0
  392. package/dist/title-case-name.js.map +1 -1
  393. package/package.json +3 -3
  394. package/rules/abstract-length.yaml +2 -2
  395. package/rules/adversative-ga-repeat.yaml +2 -2
  396. package/rules/all-caps-shouting.yaml +2 -2
  397. package/rules/attachment-not-attached.yaml +11 -6
  398. package/rules/bare-url-mix.yaml +2 -2
  399. package/rules/bold-density.yaml +2 -2
  400. package/rules/bold-label-list.yaml +22 -6
  401. package/rules/bracket-width-consistency.yaml +2 -2
  402. package/rules/clause-chain.yaml +2 -2
  403. package/rules/closing-cliche.yaml +2 -2
  404. package/rules/code-fence-language-mix.yaml +2 -2
  405. package/rules/colloquial-opener.yaml +3 -3
  406. package/rules/comparative-without-baseline.yaml +2 -2
  407. package/rules/dangling-participle.yaml +2 -2
  408. package/rules/date-order.yaml +2 -2
  409. package/rules/defined-term-form.yaml +2 -2
  410. package/rules/demonstrative-opener-run.yaml +2 -2
  411. package/rules/doubled-punctuation.yaml +2 -2
  412. package/rules/duration-mismatch.yaml +2 -2
  413. package/rules/email-subject-length.yaml +2 -2
  414. package/rules/emoji-density.yaml +2 -2
  415. package/rules/empty-intensifier.yaml +2 -2
  416. package/rules/empty-section.yaml +2 -2
  417. package/rules/figure-reference-order.yaml +2 -2
  418. package/rules/fullwidth-alnum-consistency.yaml +2 -2
  419. package/rules/hyphen-as-dash.yaml +2 -2
  420. package/rules/katakana-density.yaml +2 -2
  421. package/rules/list-item-form-mix.yaml +2 -2
  422. package/rules/lookalike-character.yaml +8 -5
  423. package/rules/max-kanji-continuous.yaml +4 -0
  424. package/rules/max-ten.yaml +3 -3
  425. package/rules/missing-final-period.yaml +2 -2
  426. package/rules/name-variant.yaml +2 -2
  427. package/rules/ngram-repetition.yaml +2 -2
  428. package/rules/no-lead.yaml +2 -2
  429. package/rules/no-mixed-desumasu.yaml +3 -2
  430. package/rules/no-nakaguro-parallel.yaml +2 -2
  431. package/rules/number-style-consistency.yaml +2 -2
  432. package/rules/numeral-sentence-start.yaml +2 -2
  433. package/rules/one-sentence-paragraph-run.yaml +2 -2
  434. package/rules/orthographic-variant.yaml +2 -2
  435. package/rules/outside-announced-list.yaml +2 -2
  436. package/rules/oxford-comma-consistency.yaml +2 -2
  437. package/rules/paragraph-length-variance.yaml +27 -3
  438. package/rules/paragraph-restatement.yaml +2 -2
  439. package/rules/party-role-name.yaml +2 -2
  440. package/rules/person-consistency.yaml +2 -2
  441. package/rules/preamble-length.yaml +2 -2
  442. package/rules/repeated-conjunction.yaml +2 -2
  443. package/rules/repeated-sentence-ending.yaml +2 -2
  444. package/rules/repeated-sentence-head.yaml +2 -2
  445. package/rules/request-without-deadline.yaml +2 -2
  446. package/rules/requirement-smell.yaml +2 -2
  447. package/rules/rule-of-three.yaml +2 -2
  448. package/rules/sentence-spacing-consistency.yaml +2 -2
  449. package/rules/space-before-punctuation.yaml +2 -2
  450. package/rules/stray-space.yaml +7 -4
  451. package/rules/summary-fact-mismatch.yaml +2 -2
  452. package/rules/taigen-dome-in-prose.yaml +2 -2
  453. package/rules/teki-overuse.yaml +4 -2
  454. package/rules/title-case-consistency.yaml +2 -2
  455. package/rules/title-length.yaml +2 -2
  456. package/rules/total-mismatch.yaml +1 -1
  457. package/rules/unbalanced-bracket.yaml +3 -3
  458. package/rules/undefined-term.yaml +2 -2
  459. package/rules/unfilled-placeholder.yaml +2 -2
  460. package/rules/unqualified-superlative.yaml +2 -2
  461. package/rules/use-before-definition.yaml +2 -2
  462. package/rules/vague-word-density.yaml +2 -2
  463. package/rules/very-adjective.yaml +1 -1
  464. package/rules/warning-without-action.yaml +2 -2
  465. package/rules/yori-as-from.yaml +1 -0
  466. package/src/announced-list.ts +12 -3
  467. package/src/body-section.ts +19 -0
  468. package/src/derived/durations.ts +3 -2
  469. package/src/derived/marked-dates.ts +4 -0
  470. package/src/detectors/abstract-length.ts +16 -6
  471. package/src/detectors/acronym-capitals.ts +30 -0
  472. package/src/detectors/adversative-ga.ts +24 -2
  473. package/src/detectors/bare-comparative.ts +12 -2
  474. package/src/detectors/bare-word-list.ts +61 -0
  475. package/src/detectors/bold-field-label.ts +33 -0
  476. package/src/detectors/bold-label.ts +129 -20
  477. package/src/detectors/broken-link.ts +23 -2
  478. package/src/detectors/byline-list.ts +24 -0
  479. package/src/detectors/caps-screen-label.ts +15 -0
  480. package/src/detectors/casual-voice.ts +30 -0
  481. package/src/detectors/char-shape.ts +8 -22
  482. package/src/detectors/clause-shape.ts +14 -3
  483. package/src/detectors/cleft-focus.ts +40 -0
  484. package/src/detectors/count-per-section.ts +6 -2
  485. package/src/detectors/dangling-opener.ts +12 -1
  486. package/src/detectors/date-year.ts +12 -1
  487. package/src/detectors/defined-term-form.ts +19 -3
  488. package/src/detectors/definition-use.ts +23 -4
  489. package/src/detectors/document-shape.ts +16 -2
  490. package/src/detectors/doubled-punctuation.ts +26 -1
  491. package/src/detectors/email-letter.ts +5 -3
  492. package/src/detectors/email-subject-reference.ts +36 -0
  493. package/src/detectors/empty-section.ts +3 -2
  494. package/src/detectors/fact-consistency.ts +2 -2
  495. package/src/detectors/figure-order.ts +8 -2
  496. package/src/detectors/fullwidth-alnum.ts +24 -3
  497. package/src/detectors/gram-heading.ts +15 -1
  498. package/src/detectors/heading-case.ts +7 -1
  499. package/src/detectors/heading-echo.ts +21 -8
  500. package/src/detectors/heading-number.ts +20 -0
  501. package/src/detectors/heading-numbering.ts +1 -9
  502. package/src/detectors/hyphen-name-suffix.ts +30 -0
  503. package/src/detectors/katakana-density.ts +8 -4
  504. package/src/detectors/lexicon.ts +18 -1
  505. package/src/detectors/link-shape.ts +16 -2
  506. package/src/detectors/list-item-phrase.ts +86 -0
  507. package/src/detectors/list-layout.ts +17 -0
  508. package/src/detectors/list-lead-in.ts +1 -19
  509. package/src/detectors/list-parallel.ts +31 -28
  510. package/src/detectors/lookalike-character.ts +19 -2
  511. package/src/detectors/mark-shape.ts +46 -9
  512. package/src/detectors/measured-facts.ts +11 -4
  513. package/src/detectors/middle-dot.ts +54 -0
  514. package/src/detectors/missing-final-period.ts +14 -1
  515. package/src/detectors/name-variant.ts +2 -1
  516. package/src/detectors/named-by-context.ts +15 -0
  517. package/src/detectors/number-style.ts +26 -4
  518. package/src/detectors/numeral-opener.ts +4 -2
  519. package/src/detectors/open-end-names.ts +11 -1
  520. package/src/detectors/ordinary-phrase.ts +10 -0
  521. package/src/detectors/orthographic-variant.ts +2 -2
  522. package/src/detectors/output-lead-in.ts +28 -0
  523. package/src/detectors/outside-announced-list.ts +6 -1
  524. package/src/detectors/oxford-comma.ts +3 -1
  525. package/src/detectors/paragraph-restatement.ts +17 -2
  526. package/src/detectors/person-consistency.ts +14 -2
  527. package/src/detectors/placeholder-context.ts +72 -0
  528. package/src/detectors/placeholder-text.ts +1 -1
  529. package/src/detectors/quoted-title-line.ts +13 -0
  530. package/src/detectors/register-interview.ts +22 -0
  531. package/src/detectors/registry/colloquial-opener-pile.ts +4 -0
  532. package/src/detectors/registry/middle-dot.ts +1 -1
  533. package/src/detectors/repeated-head.ts +32 -6
  534. package/src/detectors/request-owner.ts +5 -2
  535. package/src/detectors/run-together.ts +15 -0
  536. package/src/detectors/sentence-counts.ts +34 -7
  537. package/src/detectors/sentence-ending.ts +13 -2
  538. package/src/detectors/sentence-parts.ts +20 -2
  539. package/src/detectors/signals.ts +11 -1
  540. package/src/detectors/space-before-punctuation.ts +24 -4
  541. package/src/detectors/stray-space.ts +1 -1
  542. package/src/detectors/structure-tree.ts +12 -9
  543. package/src/detectors/structure.ts +7 -3
  544. package/src/detectors/superlative-context.ts +10 -0
  545. package/src/detectors/technical-docs.ts +5 -3
  546. package/src/detectors/template-sections.ts +1 -1
  547. package/src/detectors/token-shape.ts +19 -4
  548. package/src/detectors/unbalanced-bracket.ts +9 -1
  549. package/src/detectors/undefined-term.ts +5 -1
  550. package/src/detectors/unfilled-placeholder.ts +22 -1
  551. package/src/detectors/vague-density.ts +15 -2
  552. package/src/detectors/verse-block.ts +48 -0
  553. package/src/document.ts +1 -0
  554. package/src/email-parts.ts +16 -7
  555. package/src/eval.ts +2 -0
  556. package/src/front-matter.ts +14 -0
  557. package/src/genre-check.ts +1 -1
  558. package/src/genre.ts +1 -15
  559. package/src/labelled-note-paragraphs.ts +30 -0
  560. package/src/list-lead-sentence.ts +24 -0
  561. package/src/paragraph-runs.ts +25 -2
  562. package/src/plugin.ts +2 -0
  563. package/src/reasons.ts +4 -0
  564. package/src/recording-title.ts +16 -0
  565. package/src/rule-of-three.ts +22 -5
  566. package/src/run.ts +3 -1
  567. package/src/sentence-load.ts +68 -2
  568. package/src/stray-space.ts +37 -6
  569. package/src/structure/cited-elsewhere.ts +18 -6
  570. package/src/structure/definition-use.ts +10 -1
  571. package/src/structure/due-column.ts +33 -0
  572. package/src/structure/generic-role.ts +8 -0
  573. package/src/structure/issues.ts +1 -1
  574. package/src/structure/party-role.ts +3 -2
  575. package/src/title-case-name.ts +19 -0
@@ -55,8 +55,8 @@ example:
55
55
  You can book a slot online. Your booking shows on the next page. If you miss it, you can book again. You can also call the desk.
56
56
 
57
57
  not_flagged:
58
- ja: 呼び方が一通りの文書と、少ないほうが決まった割合を超える文書(使い分けていると見ます)は指摘しません。多いほうが 3 箇所に満たない文書も見ません。鉤括弧と引用符の中、引用の段落、コード、前後に漢字やカタカナが続く語(東京本社、当社比)は数えません。英語の one は、can や must の前の主語の one だけを数え、no one や the one や前置詞の後ろの one は数えません。どの呼び方が正しいかは決めません。
59
- en: A document with one form, or whose other form passes a set share of the places (it uses both on purpose), is not reported, nor one whose usual form appears fewer than 3 times. Quotations, quoted blocks, code and words joined to longer ones (東京本社) are not counted. Only "one" as the subject of a modal verb is counted, not "no one", "the one" or "one" after a preposition. Which form is right is not decided.
58
+ ja: 呼び方が一通りの文書と、少ないほうが決まった割合を超える文書(使い分けていると見ます)は指摘しません。多いほうが 3 箇所に満たない文書も見ません。鉤括弧と引用符の中、引用の段落、コード、前後に漢字やカタカナが続く語(東京本社、当社比)は数えません。英語の one は、can や must の前の主語の one だけを数え、no one や the one や前置詞の後ろの one は数えません。どの呼び方が正しいかは決めません。同じ文で「僕は…、君は…」のように、自分の呼び方をほかの人と対にして話題に立てたもの(例に出した二人の言葉)も数えません。
59
+ en: A document with one form, or whose other form passes a set share of the places (it uses both on purpose), is not reported, nor one whose usual form appears fewer than 3 times. Quotations, quoted blocks, code and words joined to longer ones (東京本社) are not counted. Only "one" as the subject of a modal verb is counted, not "no one", "the one" or "one" after a preposition. Which form is right is not decided. Nor is a Japanese self-reference set as a topic against another person in one sentence (僕は…、君は…), the two people of an example.
60
60
  level_meaning:
61
61
  ja: 少ないほうの呼び方が全体の {limit} パーセント以下のとき指摘
62
62
  en: reported when the other form is {limit} percent of the places or fewer
@@ -81,8 +81,8 @@ example:
81
81
  The number of stores has doubled in ten years, but suburban stores have struggled to grow.
82
82
 
83
83
  not_flagged:
84
- ja: 表題より下の見出しが一つもない文書は測りません。法務やブログのジャンルと、手紙・メールでは見ません。本文の語に付けた注(※1 …)の段落は、前置きではなく注なので数えません。
85
- en: A document with no heading below its title is not measured. Legal and blog genres, and letters and emails, do not run this rule. A note attached to a word of the text (a paragraph opened by a note mark of the note-mark lexicon, as in Japanese ※1) is a note, not preamble, and is not counted.
84
+ ja: 表題より下の見出しが一つもない文書は測りません。法務やブログのジャンルと、手紙・メールでは見ません。本文の語に付けた注(※1 …)の段落は、前置きではなく注なので数えません。見出しが末尾の問い合わせ先や参考文献のような前後の見出しだけの文書(手紙の形の諮問)も、本題の見出しが無いので測りません。
85
+ en: A document with no heading below its title is not measured. Legal and blog genres, and letters and emails, do not run this rule. A note attached to a word of the text (a paragraph opened by a note mark of the note-mark lexicon, as in Japanese ※1) is a note, not preamble, and is not counted. Nor is a document whose only headings are front or back matter, such as a contact box at its end (a request written as a letter), since it has no body heading.
86
86
  level_meaning:
87
87
  ja: 最初の見出しまで {limit} 段落まで
88
88
  en: up to {limit} paragraphs before the first heading
@@ -70,8 +70,8 @@ example:
70
70
  The old prices end in March.
71
71
 
72
72
  not_flagged:
73
- ja: 接続詞で始まる段落が一つだけなら、流れをつなぐ普通の書き方なので指しません。
74
- en: One paragraph opening with a connective is ordinary and is not reported.
73
+ ja: 接続詞で始まる段落が一つだけなら、流れをつなぐ普通の書き方なので指しません。段落の間に置いた図表の題(表2-2-1 …の概要)は本文の段落ではないので、並びを切りません。
74
+ en: One paragraph opening with a connective is ordinary and is not reported. A figure or table caption between the paragraphs (Table 2 …) is not a paragraph of the text and does not end the run.
75
75
  level_meaning:
76
76
  ja: 接続詞で始まる段落の連続 {limit} まで
77
77
  en: up to {limit} paragraphs in a row opening with a connective
@@ -43,8 +43,8 @@ example:
43
43
  この機能は必要で、設定も簡単です。費用はかかりません。
44
44
 
45
45
  not_flagged:
46
- ja: 段落をまたいだ文は続きと見ません。助動詞で終わらない文(体言止め、言い切りの動詞)は比べず、そこで続きが切れます。動詞が違えば(読みました、書きました)同じ文末とは見ません。述語の前の語まで同じ締めの句を三文以上重ねた繰り返し(いい船でした。…いい船でした。…いい船でした。)は、一つと数えます。一つの文の中に「?」で並べた問い(これはリストか?順序付きか?…などです。)も比べません。違う語を同じ型で定義する文の並び(台風は〜を指します。ハリケーンは〜を指します。)は、型をそろえたものなので指しません。
47
- en: Sentences in different paragraphs are not a run. A sentence that does not end with an auxiliary (a noun, a bare verb) is not compared and breaks the run. Different verbs (読みました, 書きました) are different endings. Three sentences or more in a row that close on the very same phrase, the word before the predicate included (いい船でした。…いい船でした。…いい船でした。), are a refrain and count once. Questions run together inside one sentence (これはリストか?順序付きか?…などです。) are not compared either. Sentences that each define a different term in the same frame (台風は〜を指します。ハリケーンは〜を指します。) share their ending on purpose and are not reported.
46
+ ja: 段落をまたいだ文は続きと見ません。助動詞で終わらない文(体言止め、言い切りの動詞)は比べず、そこで続きが切れます。動詞が違えば(読みました、書きました)同じ文末とは見ません。述語の前の語まで同じ締めの句を三文以上重ねた繰り返し(いい船でした。…いい船でした。…いい船でした。)は、一つと数えます。一つの文の中に「?」で並べた問い(これはリストか?順序付きか?…などです。)も比べません。違う語を同じ型で定義する文の並び(台風は〜を指します。ハリケーンは〜を指します。)は、型をそろえたものなので指しません。見出しの語([通信関連]、化学品事業……)で始まる文は新しい項目の始まりで、前の項目の文とは続きと見ません。
47
+ en: Sentences in different paragraphs are not a run. A sentence that does not end with an auxiliary (a noun, a bare verb) is not compared and breaks the run. Different verbs (読みました, 書きました) are different endings. Three sentences or more in a row that close on the very same phrase, the word before the predicate included (いい船でした。…いい船でした。…いい船でした。), are a refrain and count once. Questions run together inside one sentence (これはリストか?順序付きか?…などです。) are not compared either. Sentences that each define a different term in the same frame (台風は〜を指します。ハリケーンは〜を指します。) share their ending on purpose and are not reported. A sentence that opens with a label ([通信関連], 化学品事業……) starts a new item of a list and does not continue the run before it.
48
48
  level_meaning:
49
49
  ja: 同じ文末の文が {limit} 文続くまで
50
50
  en: up to {limit} sentences in a row with the same ending
@@ -48,8 +48,8 @@ example:
48
48
  The tool is free and needs no account. It works on phones too, and it speaks Japanese as well.
49
49
 
50
50
  not_flagged:
51
- ja: 箇条書きの項目どうしが同じ形で始まるのは書き方そのものなので、項目をまたいでは数えません。
52
- en: List items that open the same way are a format, not a slip, so a run does not continue across items.
51
+ ja: 箇条書きの項目どうしが同じ形で始まるのは書き方そのものなので、項目をまたいでは数えません。見出しをまたいでも数えません(FAQ の答えごとに「Learn more about …」で締める形)。どの文も一文だけの段落の連なり(案内ごとに一段落の「The government’s ‘How to …’ guide …」)は、印の無い項目の並びとして数えません。行の区切りが落ちて升の文字がつながった表(「(日本)100.0自動車…」のように行ごとに数の升がつながる段落)の行も数えません。
52
+ en: List items that open the same way are a format, not a slip, so a run does not continue across items. Nor does it continue across a heading (FAQ answers that each close with "Learn more about …"). A run in which every sentence is a paragraph of its own (one paragraph per guide, "The government’s ‘How to …’ guide …") is a list without markup and is not reported, and neither are the rows of a table whose cells ran together (a paragraph where a decimal cell joins the next cell row after row, "(日本)100.0自動車…").
53
53
  level_meaning:
54
54
  ja: 同じ書き出しの文の連続 {limit} 文まで
55
55
  en: up to {limit} sentences in a row with the same opening
@@ -60,8 +60,8 @@ example:
60
60
  I have no other questions.
61
61
 
62
62
  not_flagged:
63
- ja: 確認・返信・提出のように、済んだかどうかが後で分かる動作を頼む文だけを見ます。「ご了承ください」のような心構えの依頼、「ご不明な点があれば、ご連絡ください」のような条件付きの申し出、「ご質問はメールでお送りください」のような質問を受け付ける申し出、「ご相談ください」「お越しください」のような誘い、連絡先の行(「電話:」)と同じ文の依頼は見ません。期限か担当が、その文か次の文にあれば指しません。「ご提出いただく前に」「送信後、」のように、いつするかを依頼の文が言っていれば期限と読みます。見出しが期限を言っていれば(「見積提出期限:…」「【随時受付】」)、その下の依頼はその期限を受け継ぎます。締め切りだけを書く節(見出しが「提出期限」「判断の期限」「DATES:」だけで、締め切りの語と日付がある)や、決める日を書いた予定の節(見出しが「今後のスケジュール」で、「2026年12月:経営会議にて承認」のように日付と決める段取りの語がある)があれば、その後ろの依頼と、同じ見出しの下で前に並ぶ節(提案の「結論」)の依頼は、どれもその締め切りを持ちます。「ぜひ参加をご検討ください」は誘いなので見ません。題が「(諮問)」の文書は、審議会に期限を付けずに審議を頼む文書なので見ません。しないように頼む文(「送らないでください」「ご遠慮ください」)は禁止なので見ません。ビジネスの文書でだけ動きます。
64
- en: Only requests for an action whose completion can be checked (review, reply, send) are read. Courtesy requests, conditional offers ("If you have questions, let me know"), open offers ("Please send any questions to me"), invitations ("Please come and register") and a request on a contact line (a "Fax" or "Phone" label and its number) are not. A deadline or owner in the same or the next sentence is enough; so is a timing in the request itself ("after you pay"), or a heading above it that names the deadline. A section of its own for the deadline (headed only "DATES:" or "Deadline", with a deadline word and a date in it), or a schedule that says when the decision is made (headed "Timeline", with a date and a decision word, as in "December 2026, board approval"), gives that deadline to every request after it, and to the requests in the sections before it at its own level under the same heading (a proposal's "Summary"). In Japanese, 「ぜひ参加をご検討ください」 ("do consider joining") is an invitation, and a document titled 「(諮問)」, which asks a council to deliberate, carries no deadline by its kind. A request not to do something ("Please do not submit comments by email") forbids and is not read. Business documents only.
63
+ ja: 確認・返信・提出のように、済んだかどうかが後で分かる動作を頼む文だけを見ます。「ご了承ください」のような心構えの依頼、「ご不明な点があれば、ご連絡ください」のような条件付きの申し出、「ご質問はメールでお送りください」のような質問を受け付ける申し出、「返送の方法を教えてください」のように書き手がやり方を尋ねる依頼、「ご相談ください」「お越しください」のような誘い、連絡先の行(「電話:」)と同じ文の依頼は見ません。期限か担当が、その文か次の文にあれば指しません。「ご提出いただく前に」「送信後、」のように、いつするかを依頼の文が言っていれば期限と読みます。見出しが期限を言っていれば(「見積提出期限:…」「【随時受付】」)、その下の依頼はその期限を受け継ぎます。締め切りだけを書く節(見出しが「提出期限」「判断の期限」「DATES:」だけで、締め切りの語と日付がある)や、決める日を書いた予定の節(見出しが「今後のスケジュール」で、「2026年12月:経営会議にて承認」のように日付と決める段取りの語がある)があれば、その後ろの依頼と、同じ見出しの下で前に並ぶ節(提案の「結論」)の依頼は、どれもその締め切りを持ちます。「ぜひ参加をご検討ください」は誘いなので見ません。題が「(諮問)」の文書は、審議会に期限を付けずに審議を頼む文書なので見ません。しないように頼む文(「送らないでください」「ご遠慮ください」)は禁止なので見ません。ビジネスの文書でだけ動きます。
64
+ en: Only requests for an action whose completion can be checked (review, reply, send) are read. Courtesy requests, conditional offers ("If you have questions, let me know"), open offers ("Please send any questions to me"), the writer asking how to do something ("Could you let me know how to send it back?"), invitations ("Please come and register") and a request on a contact line (a "Fax" or "Phone" label and its number) are not. A deadline or owner in the same or the next sentence is enough; so is a timing in the request itself ("after you pay"), or a heading above it that names the deadline. A section of its own for the deadline (headed only "DATES:" or "Deadline", with a deadline word and a date in it), or a schedule that says when the decision is made (headed "Timeline", with a date and a decision word, as in "December 2026, board approval"), gives that deadline to every request after it, and to the requests in the sections before it at its own level under the same heading (a proposal's "Summary"). In Japanese, 「ぜひ参加をご検討ください」 ("do consider joining") is an invitation, and a document titled 「(諮問)」, which asks a council to deliberate, carries no deadline by its kind. A request not to do something ("Please do not submit comments by email") forbids and is not read. Business documents only.
65
65
  rewrite:
66
66
  depth: light
67
67
  ja:
@@ -74,5 +74,5 @@ example:
74
74
  config: { genre: technical/spec }
75
75
 
76
76
  not_flagged:
77
- ja: 要求の文でない文(説明や背景)、法令、ブログやビジネス文書は見ません。語彙表にない言い方は指しません。文書が定めた名前の「等」(以下「委託先等」という、銀行等(…をいう。)、定義の号の頭の語、次の段落で定義する項目だけを書いた語(9 書面等)と、監査等委員会のように後ろへ語が続く「等」は、列挙を閉じているので指しません。文書が定義した語のすぐ後ろの「等」(「秘密情報」と定義した文書の秘密情報等)も、定義したものを広げた名前で、開いた一覧ではないので指しません。すぐ後ろで種類を名指す「等」(印刷等、二次的に利用される場合/印刷等の二次的利用)も、一覧がその種類の例なので指しません。条件(訂正等を行った際に)、与える権利(消去等できるものとします)、禁止や免責(転載等をしてはならない、責任を負わないものとします)の中の「等」も、わざと広く取った一覧なので指しません。「しないこと。」「ではないこと。」で閉じる文(禁止や否定)、権利が誰のものかを定める文(帰属するものとする、留保されるものとします)、「次の行為をしてはならない。」の下に並ぶ項目の中の「等」も同じです。「当該」「前記」で始まる一覧(当該改良、改善等)は前に挙げた一覧を指し直すだけなので、そこでは指しません。要求が何についてかを説明する節の中の「など」(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.
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.
@@ -122,8 +122,8 @@ example:
122
122
  - No review
123
123
 
124
124
  not_flagged:
125
- ja: 箇条書きが 1 つしかない文書は見ません。5 つより少なければ、1 つで割合が大きく動くので、全部が 3 項目のときだけ指摘します。本文の最初の文より前の箇条書き(題と日付のすぐ下の要点の箱)は、項目の数をサイトの型が決めているので数えません。すぐ下の行が「など」で始まる箇条書きは、書いた 3 つのほかにもあると言っているので、3 項目とは数えません。どの項目も「受付:2鉢」「家賃:8万円」のように札の後ろに数を書いた箇条書きは、数の内訳で項目の数は中身が決めているので、3 項目とは数えません。仕様書(technical/spec)のジャンルでは見ません。文の中に並べた 3 つの語(「速く、安く、確実に」)は数えません。人の文書のほうが多く書くからです。
126
- en: "Documents with a single list are not checked. With fewer than five, one list moves the share a long way, so only a document whose every list has three items is reported. A list above the first sentence of the body (a box of key points under the title and date) is not counted, since the site's template sets its length. A list followed by a line opening with etc. or and so on says there are more than the three written, and is not counted as three. A list whose every item gives a figure after a label (Rent: $1,200) is a breakdown whose length the facts set, and is not counted as three either. Specification (technical/spec) genres do not run this rule. Three words listed inside a sentence (fast, cheap and reliable) are not counted, since human documents write them more often."
125
+ ja: 箇条書きが 1 つしかない文書は見ません。5 つより少なければ、1 つで割合が大きく動くので、全部が 3 項目のときだけ指摘します。本文の最初の文より前の箇条書き(題と日付のすぐ下の要点の箱)は、項目の数をサイトの型が決めているので数えません。すぐ下の行が「など」で始まる箇条書きは、書いた 3 つのほかにもあると言っているので、3 項目とは数えません。どの項目も「受付:2鉢」「家賃:8万円」のように札の後ろに数を書いた箇条書きは、数の内訳で項目の数は中身が決めているので、3 項目とは数えません。どの項目も 3 文以上ある箇条書き(太字の助言と、それを説く数文)は、項目ごとに段落を書いた心得の一覧なので、3 項目とは数えません。仕様書(technical/spec)のジャンルでは見ません。文の中に並べた 3 つの語(「速く、安く、確実に」)は数えません。人の文書のほうが多く書くからです。
126
+ en: "Documents with a single list are not checked. With fewer than five, one list moves the share a long way, so only a document whose every list has three items is reported. A list above the first sentence of the body (a box of key points under the title and date) is not counted, since the site's template sets its length. A list followed by a line opening with etc. or and so on says there are more than the three written, and is not counted as three. A list whose every item gives a figure after a label (Rent: $1,200) is a breakdown whose length the facts set, and is not counted as three either. Nor is a list whose every item runs to three sentences or more (a bold tip and the sentences that explain it): each item is a paragraph, and the list is a set of developed tips. Specification (technical/spec) genres do not run this rule. Three words listed inside a sentence (fast, cheap and reliable) are not counted, since human documents write them more often."
127
127
  level_meaning:
128
128
  ja: 3 項目の箇条書きの割合 {limit}% まで
129
129
  en: up to {limit}% of lists with exactly three items
@@ -43,8 +43,8 @@ example:
43
43
  We met. We talked. We agreed. We left.
44
44
 
45
45
  not_flagged:
46
- ja: ピリオド・疑問符・感嘆符で終わる文と、同じ行で続く次の文のあいだだけを見ます。行末の空白(Markdown の改行)は見ません。
47
- en: Only the space after a sentence ending in a period, question or exclamation mark, before the next sentence on the same line. Spaces at the end of a line (a Markdown line break) are not counted.
46
+ ja: ピリオド・疑問符・感嘆符で終わる文と、同じ行で続く次の文のあいだだけを見ます。行末の空白(Markdown の改行)は見ません。詩の連の中で一行に二つの文が並ぶときの間(I'm nobody! Who are you?)と、著者欄のように項目名(Affiliation:)の前の空白も見ません。
47
+ en: Only the space after a sentence ending in a period, question or exclamation mark, before the next sentence on the same line. Spaces at the end of a line (a Markdown line break) are not counted, nor a pause inside a verse line of a poem ("I'm nobody! Who are you?"), nor the space before a field's label ("Affiliation:") in an author block.
48
48
  level_meaning:
49
49
  ja: 少ないほうの空け方が {limit} 箇所あれば指摘
50
50
  en: reported once the less common spacing appears {limit} times
@@ -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 は指しません。
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 are not reported.
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.
@@ -12,8 +12,8 @@ name:
12
12
  en: Stray space inside a phrase
13
13
 
14
14
  why:
15
- ja: 「こころさんが 払った」「確認 しました」のように、一続きに読む語句の途中に空白が入ると、読み手はそこで区切れるのかと迷います。打ち直しや貼り付けで残りやすく、目で見ても気づきにくい空白です。chaff は二つの境目を別々に数えます。助詞の後ろ(「が 払った」、文節の切れ目)と、文節を始められない語の前(「アプリ が」の助詞、「行き ます」の助動詞、「確認 しました」の「する」、「例 えば」のように語の途中で切れて語として読めないかな)です。文節ごとに空けて書く分かち書き(子ども向けの文や、日本語を学ぶ人向けの文)は書き方の一つなので、chaff はどちらが正しいかを決めず、文書の中で空けたほうが少ないときだけ、その空白を指摘します。名詞どうしのあいだ(「担当 田中」の名札と値、「赤坂 文弥」の名前、「サムネイル キャッシュ」の複合語)は書き方として空けることが多いので数えません。句点で終わらない行(歌、名札と値、表のような行)、見出し、表、行頭の全角空白の字下げ、行頭の項目の記号(「イ 」)の後ろ、Markdown の改行、鉤括弧(「」『』)で引いたものの中、英字・数字との境目(latin-spacing が見ます)も数えません。
16
- en: A space inside what reads as one phrase in Japanese (こころさんが 払った, 確認 しました) makes the reader wonder whether the phrase breaks there. It is typically left over from retyping or pasting and is easy to miss by eye. chaff counts two kinds of joint separately, after a particle (が 払った, the break between phrases) and before a word that cannot start a phrase (a particle as in アプリ が, an auxiliary as in 行き ます, する after a noun as in 確認 しました, or kana cut off from its word as in 例 えば). Spacing every phrase (分かち書き, as in text for children or for learners of Japanese) is a way of writing, so chaff does not decide which is right; it reports the spaces only when the document spaces less often than it does not. A space between two nouns (a label and its value as in 担当 田中, a name as in 赤坂 文弥, a compound as in サムネイル キャッシュ) is often written on purpose and is not counted. Neither are lines that do not end with a full stop (verse, labels and values, table-like lines), headings, tables, a full-width indent at the start of a line, the space after an item mark at the start of a line (イ ), a Markdown line break, the inside of a quotation in 「」 or 『』, or a boundary with Latin letters or digits (latin-spacing looks at those).
15
+ ja: 「こころさんが 払った」「確認 しました」のように、一続きに読む語句の途中に空白が入ると、読み手はそこで区切れるのかと迷います。打ち直しや貼り付けで残りやすく、目で見ても気づきにくい空白です。chaff は三つの境目を別々に数えます。助詞の後ろ(「が 払った」、文節の切れ目)と、文節を始められない語の前(「アプリ が」の助詞、「行き ます」の助動詞、「確認 しました」の「する」、「例 えば」のように語の途中で切れて語として読めないかな)と、文の中で読点や中黒の後ろから始まる漢字の複合語の途中(「期末手当・勤勉 手当」)です。文節ごとに空けて書く分かち書き(子ども向けの文や、日本語を学ぶ人向けの文)は書き方の一つなので、chaff はどちらが正しいかを決めず、文書の中で空けたほうが少ないときだけ、その空白を指摘します。ほかの名詞どうしのあいだ(「担当 田中」の名札と値、「赤坂 文弥」の名前、「サムネイル キャッシュ」の複合語、行の頭の札や小見出しの後ろの「第一条 」「市場環境の変化 当社は」)は書き方として空けることが多いので数えません。句点で終わらない行(歌、名札と値、表のような行)、見出し、表、行頭の全角空白の字下げ、行頭の項目の記号(「イ 」)の後ろ、Markdown の改行、鉤括弧(「」『』)で引いたものの中、英字・数字との境目(latin-spacing が見ます)も数えません。
16
+ en: A space inside what reads as one phrase in Japanese (こころさんが 払った, 確認 しました) makes the reader wonder whether the phrase breaks there. It is typically left over from retyping or pasting and is easy to miss by eye. chaff counts three kinds of joint separately, after a particle (が 払った, the break between phrases), before a word that cannot start a phrase (a particle as in アプリ が, an auxiliary as in 行き ます, する after a noun as in 確認 しました, or kana cut off from its word as in 例 えば), and inside a kanji compound that starts after a comma or a nakaguro in running text (期末手当・勤勉 手当). Spacing every phrase (分かち書き, as in text for children or for learners of Japanese) is a way of writing, so chaff does not decide which is right; it reports the spaces only when the document spaces less often than it does not. Any other space between two nouns (a label and its value as in 担当 田中, a name as in 赤坂 文弥, a compound as in サムネイル キャッシュ, the space after a label or a run-in heading at the head of a line as in 第一条 ) is often written on purpose and is not counted. Neither are lines that do not end with a full stop (verse, labels and values, table-like lines), headings, tables, a full-width indent at the start of a line, the space after an item mark at the start of a line (イ ), a Markdown line break, the inside of a quotation in 「」 or 『』, or a boundary with Latin letters or digits (latin-spacing looks at those).
17
17
 
18
18
  message:
19
19
  ja: "「{before}」と「{after}」のあいだに空白があります(この文書では {of} 箇所のうち {count} 箇所が空いている)"
@@ -26,6 +26,9 @@ messages:
26
26
  inside-phrase:
27
27
  ja: "「{before}」と「{after}」は一続きの語句ですが、あいだに空白があります({of} 箇所のうち {count} 箇所が空いている)"
28
28
  en: '"{before}" and "{after}" read as one phrase but are separated by a space ({count} of {of} are spaced)'
29
+ inside-word:
30
+ ja: "「{before}」と「{after}」は一語の漢字の複合語ですが、あいだに空白があります({of} 箇所のうち {count} 箇所が空いている)"
31
+ en: '"{before}" and "{after}" make one kanji compound but are separated by a space ({count} of {of} are spaced)'
29
32
 
30
33
  how_to_fix:
31
34
  ja: 空白を消して詰めてください。文節ごとに空ける書き方をしているなら、文書全体でそろえてください。
@@ -49,8 +52,8 @@ example:
49
52
  資料を確認しました。担当者が払いました。会議で決めました。見積もりを送りました。
50
53
 
51
54
  not_flagged:
52
- ja: 名詞と名詞のあいだの空白(担当 田中)、句点で終わらない行、見出し、表、「」の中、英数字との境目は見ません。文書全体が文節ごとに空ける書き方なら指しません。
53
- en: Spaces between two nouns, lines that do not end with a full stop, headings, tables, quotations and boundaries with Latin letters are not checked. A document that spaces every phrase on purpose is not reported.
55
+ ja: 名詞と名詞のあいだの空白(担当 田中。ただし文の中で読点や中黒の後ろから始まる漢字の複合語の途中は見ます)、句点で終わらない行、見出し、表、「」の中、英数字との境目は見ません。文書全体が文節ごとに空ける書き方なら指しません。
56
+ en: Spaces between two nouns (except inside a kanji compound that starts after a comma or a nakaguro in running text), lines that do not end with a full stop, headings, tables, quotations and boundaries with Latin letters are not checked. A document that spaces every phrase on purpose is not reported.
54
57
  level_meaning:
55
58
  ja: 少ないほうの空け方が {limit} 箇所あれば指摘
56
59
  en: reported once {limit} spaces go against the document's habit
@@ -69,8 +69,8 @@ example:
69
69
  The fee is $350.
70
70
 
71
71
  not_flagged:
72
- ja: 本文に同じ項目の値が二通り以上あるとき(回ごと、対象ごとの値)は、要約がどれと合うべきか決まらないので言いません。単位の違う値、条件の付いた値(「3,000円から」)も比べません。「XからYに」は、本文の文に同じ項目の名前があり、二つの値のどちらの条件も読めたときだけ比べます。幅(ranging from 10 to 20)は変化ではないので比べません。出来事の日付は、年月日まで書いた日付どうしだけを比べます。日付が二つある文(期間)や、別の出来事の語も持つ文(発表した日と提供する日)、冒頭の文に無い名前(別の製品)を持つ本文の文は比べません。
73
- en: When the body gives the item more than one value (per session, per group), which one the summary should match is not settled, so nothing is said. Values in different units and values with a condition ("from $300") are not compared. A "from X to Y" is compared only when a body sentence names the same item and the condition of each of its two values can be read; a range ("ranging from 10 to 20") is not a change and is left alone. An event's date is compared only when both dates give the year, month and day; a sentence with two dates (a period) or with the words of another event (the day it was announced and the day of the release) is not read, nor is a body sentence that names something the opening sentence does not (another product).
72
+ ja: 本文に同じ項目の値が二通り以上あるとき(回ごと、対象ごとの値)は、要約がどれと合うべきか決まらないので言いません。単位の違う値、条件の付いた値(「3,000円から」)も比べません。「XからYに」は、本文の文に同じ項目の名前があり、二つの値のどちらの条件も読めたときだけ比べます。幅(ranging from 10 to 20)は変化ではないので比べません。出来事の日付は、年月日まで書いた日付どうしだけを比べます。日付が二つある文(期間)や、別の出来事の語も持つ文(発表した日と提供する日)、冒頭の文に無い名前(別の製品)を持つ本文の文は比べません。コードの塊の中の値(// @errors の後ろの 2345)は例の一部なので読みません。
73
+ en: When the body gives the item more than one value (per session, per group), which one the summary should match is not settled, so nothing is said. Values in different units and values with a condition ("from $300") are not compared. A "from X to Y" is compared only when a body sentence names the same item and the condition of each of its two values can be read; a range ("ranging from 10 to 20") is not a change and is left alone. An event's date is compared only when both dates give the year, month and day; a sentence with two dates (a period) or with the words of another event (the day it was announced and the day of the release) is not read, nor is a body sentence that names something the opening sentence does not (another product). A value inside a code block (the 2345 after // @errors) is part of an example and is not read.
74
74
  rewrite:
75
75
  depth: light
76
76
  ja:
@@ -44,8 +44,8 @@ example:
44
44
  今年の目標は売上の回復です。そのための施策は三つあります。最初に、店頭の品ぞろえを見直します。
45
45
 
46
46
  not_flagged:
47
- ja: 箇条書きの中の体言止めは、その書き方が普通なので数えません。段落の頭に (1)(2)(3) と順に番号を付け、URL や西暦の年で出典を書いた注や文献の一覧も、名前や題を並べた項目なので数えません。
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.
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.
49
49
  level_meaning:
50
50
  ja: 本文の体言止め {limit} 文まで
51
51
  en: up to {limit} noun-ending sentences in the body
@@ -27,6 +27,8 @@ how_to_fix:
27
27
  levels: { strict: 1, normal: 2, relaxed: 3 }
28
28
 
29
29
  use_for: [business, technical, blog, legal, docs, academic, literature, speech]
30
+ off_for:
31
+ literature/essay: "An essay's wording is the author's register: piled-up 〜的 words carry the essayist's argument and voice, and are not a slip to fix."
30
32
 
31
33
  group: wording
32
34
  summary:
@@ -40,8 +42,8 @@ example:
40
42
  問い合わせを半分に減らす施策を、四月から全店で始めます。
41
43
 
42
44
  not_flagged:
43
- ja: 接尾の「的」だけを数えます。「目的」「的確」「標的」のように一語になったもの、法令が定めた語(電磁的方法、反社会的勢力)、鉤括弧で引いたものの中は数えません。「か」で並べた選択肢(連続的か断続的か、一時的)と、間に名詞だけを挟んで続けて書いた組(信仰的主観的、時間的空間的)は、一つの事柄なので一つと数えます。文の中に丸数字で並べた箇条(①…、②…)は、項目ごとに数えます。
44
- en: Only the suffix 的 is counted; words such as 目的 and 的確, terms the law defines (電磁的方法, 反社会的勢力), and anything in 「」 are not. The options of one choice joined by か (連続的か断続的か、一時的) and a pair written together with only nouns between (信仰的主観的, 時間的空間的) count once. A list written inside the sentence with circled numbers (①…、②…) is counted item by item.
45
+ ja: 接尾の「的」だけを数えます。「目的」「的確」「標的」のように一語になったもの、法令が定めた語(電磁的方法、反社会的勢力)、鉤括弧で引いたものの中は数えません。「か」で並べた選択肢(連続的か断続的か、一時的)と、間に名詞だけを挟んで続けて書いた組(信仰的主観的、時間的空間的)は、一つの事柄なので一つと数えます。文の中に丸数字で並べた箇条(①…、②…)は、項目ごとに数えます。変換で一文に流れ込んだ表(「〃」のセルが並ぶ行)は数えません。
46
+ en: Only the suffix 的 is counted; words such as 目的 and 的確, terms the law defines (電磁的方法, 反社会的勢力), and anything in 「」 are not. The options of one choice joined by か (連続的か断続的か、一時的) and a pair written together with only nouns between (信仰的主観的, 時間的空間的) count once. A list written inside the sentence with circled numbers (①…、②…) is counted item by item. A table a converter ran into one sentence (rows of ditto cells, 〃) is not counted.
45
47
  level_meaning:
46
48
  ja: 一文の「〜的」{limit} 個まで
47
49
  en: up to {limit} 〜的 words in a sentence
@@ -10,8 +10,8 @@ name:
10
10
  en: Heading capitalisation is inconsistent
11
11
 
12
12
  why:
13
- ja: Title Case と sentence case のどちらが正しいかは決めません。1 つの文書で混ざっていると、見出しの階層が変わったように見えます。文書の題名(最初の見出しで、それより浅い・同じ深さの見出しがほかに無いとき)は名前なので比べません。節の見出しが同数に割れたときだけ、題名の流儀に合わせます。頭の番号の札(Section 3. / Day 1:)と、曜日・月の名と、本文が文の途中で大文字で書く名前(どれもどちらの流儀でも大文字)は、どちらの流儀の証拠にも数えません。
14
- en: Neither Title Case nor sentence case is wrong. Mixed within one document, the headings look like they change level. The document's title (the first heading, when no other heading is as shallow) is a name and is not compared; when the section headings split evenly, the title's style decides. A leading label (Section 3., Day 1:), the names of weekdays and months, and the names the body itself capitalises mid-sentence, all capitalised in either style, count as evidence for neither.
13
+ ja: Title Case と sentence case のどちらが正しいかは決めません。1 つの文書で混ざっていると、見出しの階層が変わったように見えます。文書の題名(最初の見出しで、それより浅い・同じ深さの見出しがほかに無いとき)は名前なので比べません。節の見出しが同数に割れたときだけ、題名の流儀に合わせます。頭の番号の札(Section 3. / b. / Day 1:)と、曜日・月の名と、本文が文の途中で大文字で書く名前(どれもどちらの流儀でも同じ書き方)は、どちらの流儀の証拠にも数えません。
14
+ en: Neither Title Case nor sentence case is wrong. Mixed within one document, the headings look like they change level. The document's title (the first heading, when no other heading is as shallow) is a name and is not compared; when the section headings split evenly, the title's style decides. A leading label (Section 3., b., Day 1:), the names of weekdays and months, and the names the body itself capitalises mid-sentence, all written the same in either style, count as evidence for neither.
15
15
 
16
16
  message:
17
17
  ja: この見出しだけ他と大文字化の流儀が違います(文書の中で {count} 個)
@@ -87,8 +87,8 @@ example:
87
87
  What every store does during the move in the 2025 financial year.
88
88
 
89
89
  not_flagged:
90
- ja: "見出しの頭の番号(「第2章」「1.」)は数えません。末尾の括弧の中の番号付きの通し名(「(490: Employee travel)」)も数えず、ほかの文書の題をかぎ括弧で引いた所(「「…の取扱いについて」等の一部改正」)は一つの名前と数えます。英字の語は一語を二文字と数えます。報告書・プレスリリース・議事録・仕様書・論文は上限が高く、法務・文学・話し言葉のジャンルと、見出しが質問の文になる FAQ では見ません。ほかのジャンルでも、?や「か」で終わる質問の見出し(…できますか。)は、長さが読み手の問いそのものなので見ません。"
91
- en: "A number label at the head of a heading (Chapter 2, 1.) is not counted. Nor is a numbered series label in brackets at its end (“(490: Employee travel)”), and another document's title quoted in 「」 counts as one name. Reports, press releases, minutes, specifications and papers have a higher limit; legal, literary and speech genres, and FAQs (whose headings are questions), do not run this rule. In any genre, a heading that ends with a question mark, or with a Japanese question particle (…できますか。), is not counted, since its length is the reader's question."
90
+ ja: "見出しの頭の番号(「第2章」「1.」)は数えません。末尾の括弧の中の番号付きの通し名(「(490: Employee travel)」)も数えず、ほかの文書の題をかぎ括弧で引いた所(「「…の取扱いについて」等の一部改正」)は一つの名前と数えます。英字の語は一語を二文字と数えます。報告書・プレスリリース・議事録・仕様書・論文は上限が高く、法務・文学・話し言葉のジャンルと、見出しが質問の文になる FAQ では見ません。ほかのジャンルでも、?や「か」で終わる質問の見出し(…できますか。)は、長さが読み手の問いそのものなので見ません。末尾に再生時間を括弧で書いた見出し(…(3分00秒))は動画の題なので見ません。"
91
+ en: "A number label at the head of a heading (Chapter 2, 1.) is not counted. Nor is a numbered series label in brackets at its end (“(490: Employee travel)”), and another document's title quoted in 「」 counts as one name. Reports, press releases, minutes, specifications and papers have a higher limit; legal, literary and speech genres, and FAQs (whose headings are questions), do not run this rule. In any genre, a heading that ends with a question mark, or with a Japanese question particle (…できますか。), is not counted, since its length is the reader's question. A heading ending with a running time in brackets (… (3:00)) is the title of a video or a recording and is not counted."
92
92
  level_meaning:
93
93
  ja: 題や見出しが {limit} 文字を超えたら指摘
94
94
  en: reported when a title or heading runs past {limit} words
@@ -14,7 +14,7 @@ why:
14
14
  en: When the total of a quote or an invoice is not the sum of the amounts listed above it, the reader has to add them up again to find out which is right. It happens when a line is added or removed and the total is not updated. In a list or a table, a line starting with a total word (Total, Subtotal) is compared with the sum of the amounts in the same unit and column above it. A total with a word that the header of the table's first column, or of the column the total holds its number in, names ("Total deductions" under "Deduction", "Total credits earned" in the "Credits" column) is read as a total line too, and so is a total naming the span it covers ("Total for the year", "Year total", "Annual total"). Under a header that names nothing ("Item"), a "Total deductions" on the table's last row is read too, when no row above it is a total or a gross or net amount and the table has one column of amounts. A total written in a sentence, as contracts do ("$6,000 for hosting and $3,000 for support, for a total of $9,000", "$8 per month, made up of …", "a total of $12,000 — $5,000 for design and $6,000 for development"), is compared with the amounts in the same unit listed in that sentence, and with the amounts of the next sentence when it opens with a breakdown phrase ("This consists of …"). When there is more than one way to add them up, such as a grand total after a subtotal and tax, it is pointed out only when none of them matches.
15
15
 
16
16
  message:
17
- ja: 合計「{written}」が、内訳の金額の和({sum})と合いません
17
+ ja: 合計「{written}」が、内訳の和({sum})と合いません
18
18
  en: "The total {written} is not the sum of its items ({sum})"
19
19
 
20
20
  how_to_fix:
@@ -9,7 +9,7 @@ name:
9
9
  en: Unbalanced bracket
10
10
 
11
11
  why:
12
- ja: 閉じ忘れた「(」や、開きの無い「」」があると、読み手はどこまでが括弧の中なのか分からなくなります。全角の「(」を半角の「)」で閉じるのも、書き換えの途中で残った印です。見出しで区切った節ごとに、「」『』()()[][]【】〔〕〈〉《》“” の組を数えます。詩の連や長い引用は段落をまたぐので、段落を越えて組にします。行の頭や空白の後ろの「1)」「a)」「事例)」のような三文字までの番号の印と数の後ろの「)」、括弧の中の番号の印(「(…以下、事例5)まで同じ。)」の「事例5)」。同じ字の印を行の頭でも使っていて、同じ行の後ろの閉じで括弧が閉じるときに限る)、コードと URL、引用の閉じのすぐ前の開き(法令の読替えの「取締役(」とあるのは)は数えません。英語の小説のように、次の段落も同じ開きで始まるなら、閉じない開きは続きとして数えません。
12
+ ja: 閉じ忘れた「(」や、開きの無い「」」があると、読み手はどこまでが括弧の中なのか分からなくなります。全角の「(」を半角の「)」で閉じるのも、書き換えの途中で残った印です。見出しで区切った節ごとに、「」『』()()[][]【】〔〕〈〉《》“” と半角の 「」 の組を数えます。詩の連や長い引用は段落をまたぐので、段落を越えて組にします。行の頭や空白の後ろの「1)」「a)」「事例)」のような三文字までの番号の印と数の後ろの「)」、括弧の中の番号の印(「(…以下、事例5)まで同じ。)」の「事例5)」。同じ字の印を行の頭でも使っていて、同じ行の後ろの閉じで括弧が閉じるときに限る)、コードと URL、引用の閉じのすぐ前の開き(法令の読替えの「取締役(」とあるのは)は数えません。英語の小説のように、次の段落も同じ開きで始まるなら、閉じない開きは続きとして数えません。
13
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.
14
14
 
15
15
  message:
@@ -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)として数えません。
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.
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.
@@ -69,8 +69,8 @@ example:
69
69
  1. The Supplier shall provide the hosting services (the "Services") to the Customer.
70
70
 
71
71
  not_flagged:
72
- ja: 文書が「本」を付けた語を一つも定義していなければ見ません。定義した語とその言い換え(本件業務、defined-term-form が見ます)、定義した語で始まる語(本サービス上、本報告書提出後)、この文書やその一部を指す語(本条、本項、本書、本契約、本利用規約、本サイト)、どこかでかぎ括弧に入れた語と、定義の箇条書きの項目に語だけを書いたもの(② 本報告書。定義の書き方を chaff が読めなかったもの)とそれで始まる語、一語の言葉(本人、本日、本社)は見ません。定義した語に「等」を付けた語(本報告書等)は、まとめて呼ぶ別の語なので指します。同じ語は最初の一か所だけ指します。英語は、大文字は法令・組織・方針の名前(the Federal Trade Commission Act、Acceptable Use Policies)にも使うので、狭く読みます。"X" means や (the "X") の形の定義が二つ未満の文書は見ません。文の頭や記号の後ろの語、小文字の名詞の前に付けた語(the Premium plan)、名前の一覧(proper-name-word、地名、曜日と月、会社の形、当事者の役割)の語を含むもの、条の参照(Section 4、Schedule A)、前後の語から名前と分かるもの(後ろに番号が付く Proposition 65、長い名前の頭 Post Holdings, Inc. や Canton, Ohio や the Federal Food, Drug, and Cosmetic Act、直後の括弧で定義するもの Certificate of Analysis (“COA”) や the Closing (as defined in the Merger Agreement)、文書が定義した略語の頭文字になるもの “IRS” means the Internal Revenue Service、当事者の立場 Citibank, N.A., as Administrative Agent、すぐ後ろの attached hereto などで添付した書式の題と分かるもの the Termination Certificate attached hereto)、見出し・リンク・太字・HTML の要素・表・箇条書きの見出し・条の頭の見出し(5.8 No Representation or Warranty.)の中、どこかで引用符か太字に入れた語、定義した語を含むもの(大文字小文字を問いません)、文書のどこかで小文字でも書いた語(your Account と your account。普通の語か画面の名前)、空白の続きで分かれた語(Normal Business Hours は一つの語)、句点や斜線で次の語と続けて書いたもの(Borrowmoney.com、Leased/rent)、小さな語まで大文字で始めたもの(Maintenance And Deployment。語ごとに大文字にした書き方)は見ません。「本共同研究開発契約において定義した用語は…同契約内の定義に従う」のように別の文書の定義に従うと書いた文書では、定義の多くが向こうにあるので、ほかの語の書き誤りに見える語(「本学習済みモデル」の横の「本学習モデル」)だけを指します。文書の名前(本共同開発契約)は、定義した文書名(本共同研究開発契約)の書き誤りに見えれば指します。法令・判決・特許は見ません。契約書・規約のジャンルで見ます。
73
- en: "A document that defines no term with the prefix is not read. Defined terms and their other-prefix forms (本件業務, which defined-term-form reads), terms that start with a defined term (本サービス上, 本報告書提出後), the document's names for itself and its parts (本条, 本項, 本書, 本契約, 本利用規約, 本サイト), terms set in quotes anywhere or alone on an item of a definition list (② 本報告書: a definition chaff could not read) and terms that start with one, and single words (本人, 本日, 本社) are not reported. A defined term with 等 added (本報告書等) names a group, another term, and is reported. Each term is reported once, at its first use. English is read narrowly, since capitals also name laws, organisations and policies (the Federal Trade Commission Act, Acceptable Use Policies): a document with fewer than two definitions written with a defining word (“X” means, (the “X”)) is not read; and a word at the start of a sentence or after a mark, a modifier of a lower-case noun (the Premium plan), a run holding a word of the name lists (proper-name-word, places, weekdays and months, company forms, party roles), a reference to a part (Section 4, Schedule A), a name shown by the words around it (a number after it: Proposition 65; a longer name it starts: Post Holdings, Inc., Canton, Ohio, the Federal Food, Drug, and Cosmetic Act; brackets right after it that define it: Certificate of Analysis (“COA”), the Closing (as defined in the Merger Agreement); initials that spell a term the document defines: “IRS” means the Internal Revenue Service; a party's capacity: Citibank, N.A., as Administrative Agent; words right after it that make it the title of an attached form: the Termination Certificate attached hereto), anything inside a heading, a link, bold, an HTML element, a table, a list item's label or a clause's run-in caption (5.8 No Representation or Warranty.), a word set in quotes or bold anywhere, a run holding a defined term in any case, and a word the document also writes in lower case (your Account and your account: an ordinary word or a screen's name) are not reported, and neither are words split only by a run of spaces read apart (Normal Business Hours is one term), a word glued to more letters by a full stop or a slash (Borrowmoney.com, Leased/rent), or a phrase that capitalises its small words too (Maintenance And Deployment: every word capitalised). In Japanese, a document that says it follows another document's definitions (…同契約内の定義に従う) has most of its terms defined there, so only a term that looks like a slip for another of its terms (本学習モデル beside 本学習済みモデル) is reported; a document's name (本共同開発契約) is reported when it looks like a slip for a defined name (本共同研究開発契約). Statutes, court decisions and patents are not read; the contract genre runs this rule."
72
+ ja: 文書が「本」を付けた語を一つも定義していなければ見ません。定義した語とその言い換え(本件業務、defined-term-form が見ます)、定義した語で始まる語(本サービス上、本報告書提出後)、この文書やその一部を指す語(本条、本項、本書、本契約、本利用規約、本サイト)、どこかでかぎ括弧に入れた語と、定義の箇条書きの項目に語だけを書いたもの(② 本報告書。定義の書き方を chaff が読めなかったもの)とそれで始まる語、一語の言葉(本人、本日、本社)は見ません。定義した語に「等」を付けた語(本報告書等)は、まとめて呼ぶ別の語なので指します。同じ語は最初の一か所だけ指します。英語は、大文字は法令・組織・方針の名前(the Federal Trade Commission Act、Acceptable Use Policies)にも使うので、狭く読みます。"X" means や (the "X") の形の定義が二つ未満の文書は見ません。文の頭や記号の後ろの語、小文字の名詞の前に付けた語(the Premium plan)、名前の一覧(proper-name-word、地名、曜日と月、会社の形、当事者の役割)の語を含むもの、条の参照(Section 4、Schedule A)、前後の語から名前と分かるもの(後ろに番号が付く Proposition 65、長い名前の頭 Post Holdings, Inc. や Canton, Ohio や the Federal Food, Drug, and Cosmetic Act、直後の括弧で定義するもの Certificate of Analysis (“COA”) や the Closing (as defined in the Merger Agreement)、文書が定義した略語の頭文字になるもの “IRS” means the Internal Revenue Service、当事者の立場 Citibank, N.A., as Administrative Agent、すぐ後ろの attached hereto などで添付した書式の題と分かるもの the Termination Certificate attached hereto)、見出し・リンク・太字・HTML の要素・表・箇条書きの見出し・条の頭の見出し(5.8 No Representation or Warranty.)の中、どこかで引用符か太字に入れた語、定義した語を含むもの(大文字小文字を問いません)、文書のどこかで小文字でも書いた語(your Account と your account。普通の語か画面の名前)、空白の続きで分かれた語(Normal Business Hours は一つの語)、句点や斜線で次の語と続けて書いたもの(Borrowmoney.com、Leased/rent)、小さな語まで大文字で始めたもの(Maintenance And Deployment。語ごとに大文字にした書き方)、長い二語が空白なしにつながった語を含むもの(Space Includingspecified Description。変換で表の欄の間の空白が落ちたもの)は見ません。「本共同研究開発契約において定義した用語は…同契約内の定義に従う」のように別の文書の定義に従うと書いた文書では、定義の多くが向こうにあるので、ほかの語の書き誤りに見える語(「本学習済みモデル」の横の「本学習モデル」)だけを指します。文書の名前(本共同開発契約)は、定義した文書名(本共同研究開発契約)の書き誤りに見えれば指します。法令・判決・特許は見ません。契約書・規約のジャンルで見ます。
73
+ en: "A document that defines no term with the prefix is not read. Defined terms and their other-prefix forms (本件業務, which defined-term-form reads), terms that start with a defined term (本サービス上, 本報告書提出後), the document's names for itself and its parts (本条, 本項, 本書, 本契約, 本利用規約, 本サイト), terms set in quotes anywhere or alone on an item of a definition list (② 本報告書: a definition chaff could not read) and terms that start with one, and single words (本人, 本日, 本社) are not reported. A defined term with 等 added (本報告書等) names a group, another term, and is reported. Each term is reported once, at its first use. English is read narrowly, since capitals also name laws, organisations and policies (the Federal Trade Commission Act, Acceptable Use Policies): a document with fewer than two definitions written with a defining word (“X” means, (the “X”)) is not read; and a word at the start of a sentence or after a mark, a modifier of a lower-case noun (the Premium plan), a run holding a word of the name lists (proper-name-word, places, weekdays and months, company forms, party roles), a reference to a part (Section 4, Schedule A), a name shown by the words around it (a number after it: Proposition 65; a longer name it starts: Post Holdings, Inc., Canton, Ohio, the Federal Food, Drug, and Cosmetic Act; brackets right after it that define it: Certificate of Analysis (“COA”), the Closing (as defined in the Merger Agreement); initials that spell a term the document defines: “IRS” means the Internal Revenue Service; a party's capacity: Citibank, N.A., as Administrative Agent; words right after it that make it the title of an attached form: the Termination Certificate attached hereto), anything inside a heading, a link, bold, an HTML element, a table, a list item's label or a clause's run-in caption (5.8 No Representation or Warranty.), a word set in quotes or bold anywhere, a run holding a defined term in any case, and a word the document also writes in lower case (your Account and your account: an ordinary word or a screen's name) are not reported, and neither are words split only by a run of spaces read apart (Normal Business Hours is one term), a word glued to more letters by a full stop or a slash (Borrowmoney.com, Leased/rent), a phrase that capitalises its small words too (Maintenance And Deployment: every word capitalised), or a phrase holding two long words run together (Space Includingspecified Description, where a conversion lost the space between a table's cells). In Japanese, a document that says it follows another document's definitions (…同契約内の定義に従う) has most of its terms defined there, so only a term that looks like a slip for another of its terms (本学習モデル beside 本学習済みモデル) is reported; a document's name (本共同開発契約) is reported when it looks like a slip for a defined name (本共同研究開発契約). Statutes, court decisions and patents are not read; the contract genre runs this rule."
74
74
  rewrite:
75
75
  depth: light
76
76
  ja:
@@ -43,5 +43,5 @@ example:
43
43
  We can meet on Friday 9 October to go through the quote.
44
44
 
45
45
  not_flagged:
46
- ja: "文の中で例として置いた「○○」とビジネス文書以外の「○○」、行頭の「○」(箇条書きの印)、Markdown のリンク、脚注の番号、チェック欄とチェックリストの項目(- [ ] TODO: …)、値が続く見出しの札(【氏名】山田)、大文字でない「Optional:」と行の途中の OPTIONAL、コードとコードのコメント(// TODO)、文の中の「未定」(日程は未定です)、見出しが雛形と言う節(「## 雛形」「# 記入例」)の中の空欄は指しません。"
47
- en: 'Markdown links and reference definitions, footnote numbers, checkboxes and checklist items ("- [ ] TODO: …"), a label its value follows ("[Date]: 2024-04-01"), "Optional:" not in capitals and OPTIONAL inside a line, code and code comments ("// TODO"), "TBD" inside a sentence ("the date is TBD"), and blanks under a heading that names a template ("## Template", "# Sample letter") are not reported. Nor is a Japanese example mark (○○) inside a sentence or outside a business document.'
46
+ ja: "文の中で例として置いた「○○」とビジネス文書以外の「○○」、行頭の「○」(箇条書きの印)、Markdown のリンク、脚注の番号、チェック欄とチェックリストの項目(- [ ] TODO: …)、値が続く見出しの札(【氏名】山田)、大文字でない「Optional:」と行の途中の OPTIONAL、コードとコードのコメント(// TODO)、文の中の「未定」(日程は未定です)、見出しが雛形と言う節(「## 雛形」「# 記入例」)の中の空欄、文書がほかの行で値を書き入れている書式の欄の名前(【氏名】 山田 花子 とある文書の「【氏名】に旧氏を書く」)、記入線の横の札(____ [Name of New Employer])、例を示す行のかぎ括弧の中(例:「【会社名】の田中です」)も指しません。"
47
+ en: 'Markdown links and reference definitions, footnote numbers, checkboxes and checklist items ("- [ ] TODO: …"), a label its value follows ("[Date]: 2024-04-01"), "Optional:" not in capitals and OPTIONAL inside a line, code and code comments ("// TODO"), "TBD" inside a sentence ("the date is TBD"), and blanks under a heading that names a template ("## Template", "# Sample letter") are not reported. Nor are a field label of a form that the document fills in on another line (【氏名】 followed by a name), the caption beside a line to write on ("________ [Name of New Employer]"), and a blank inside a quoted example ("Helpful: “See the link [insert link name] below the image”"). Nor is a Japanese example mark (○○) inside a sentence or outside a business document.'
@@ -52,8 +52,8 @@ example:
52
52
  after: Our new product processes orders a fifth faster than the previous model.
53
53
 
54
54
  not_flagged:
55
- ja: 「当社比」「〜の中で」「〜のほうが」のように、比べる相手や範囲が同じ文にあれば指しません。「SES との最大の違い」のように、最上級のすぐ前に相手があるときも同じです。「国内最大」「業界最速」のように名詞がじかに付いた最上級と、「日本で最も」のように名前と「で」が前にある最上級は、範囲を言っているので指しません。「バグを検出できる唯一のルール」のように、動詞で終わる節が最上級のすぐ前にあって範囲を決めているときも同じです。「」や引用符で引いた言葉の中の最上級は、書き手の主張ではないので指しません。「最大化する」のように接尾辞が付いて別の語になったものも指しません。「芭蕉の最も有名な句」のように名前と「の」がすぐ前にある最上級、「最高裁判所」「最も近い駅」のような決まった言い方、「最大5億ドル」のように数のある文の最上級も指しません。「世界で唯一の」のように場や分野の名詞と「で」が前にある最上級、「俺にとって最高の日」のように誰にとってなのかが同じ節にある最上級、「最高の規律が求められる」「最高の栄誉が与えられるべき」のように求めるもの・あるべき姿として述べた最上級、「最も重要なことは」のように話の順を示す言い方、問いの文(?で終わる文)の最上級も指しません。
56
- en: A superlative with its comparison or scope in the same sentence ("in our range", "than last year", "the fastest in the industry") is not reported, nor is one limited by a clause ("the best we have measured"), nor one inside quotation marks, which are someone else's words, nor one inside a set phrase ("even the best", "in the best case", "make the most of", "the most recent", "the most common"), nor one in a question. A superlative that is sought or chosen rather than claimed ("to achieve the best results", "before deciding the best way", "start with the most important tasks") is not reported, nor one whose predicate points at a member of a set ("the best plan is the one you keep") or puts it in an order ("the most critical vulnerabilities are addressed first"), nor one whose noun names a part of a whole ("the most important part", "the most important role"), nor one whose set follows its noun ("the best thing about this event", "the most common form of debunking", "the most important tool for creating the culture").
55
+ ja: 「当社比」「〜の中で」「〜のほうが」のように、比べる相手や範囲が同じ文にあれば指しません。「SES との最大の違い」のように、最上級のすぐ前に相手があるときも同じです。「国内最大」「業界最速」のように名詞がじかに付いた最上級と、「日本で最も」のように名前と「で」が前にある最上級は、範囲を言っているので指しません。「バグを検出できる唯一のルール」のように、動詞で終わる節が最上級のすぐ前にあって範囲を決めているときも同じです。「」や引用符で引いた言葉の中の最上級は、書き手の主張ではないので指しません。「最大化する」のように接尾辞が付いて別の語になったものも指しません。「芭蕉の最も有名な句」のように名前と「の」がすぐ前にある最上級、「最高裁判所」「最も近い駅」のような決まった言い方、「最大5億ドル」のように数のある文の最上級も指しません。「世界で唯一の」のように場や分野の名詞と「で」が前にある最上級、「俺にとって最高の日」のように誰にとってなのかが同じ節にある最上級、「最高の規律が求められる」「最高の栄誉が与えられるべき」のように求めるもの・あるべき姿として述べた最上級、「最も重要なことは」のように話の順を示す言い方、問いの文(?で終わる文)の最上級、「もし最も速い案が通るなら」のように仮定の中の最上級も指しません。
56
+ en: A superlative with its comparison or scope in the same sentence ("in our range", "than last year", "the fastest in the industry") is not reported, nor is one limited by a clause ("the best we have measured"), nor one inside quotation marks, which are someone else's words, nor one inside a set phrase ("even the best", "in the best case", "make the most of", "the most recent", "the most common"), nor one in a question, nor one inside a condition ("If spreadsheet formulas are the most prolific government code, …"). A superlative that is sought or chosen rather than claimed ("to achieve the best results", "before deciding the best way", "start with the most important tasks") is not reported, nor one whose predicate points at a member of a set ("the best plan is the one you keep") or puts it in an order ("the most critical vulnerabilities are addressed first"), nor one whose noun names a part of a whole ("the most important part", "the most important role"), nor one whose set follows its noun ("the best thing about this event", "the most common form of debunking", "the most important tool for creating the culture").
57
57
  level_meaning:
58
58
  ja: 比べる相手のない最上級が {limit} 箇所あれば指摘
59
59
  en: reported once there are {limit} such claims
@@ -50,8 +50,8 @@ example:
50
50
  This agreement is between Harbour Ltd (the "Seller") and Hill Ltd (the "Buyer"). The Seller ships within five days.
51
51
 
52
52
  not_flagged:
53
- ja: 定義の条(「X」とは…をいう)で定義した語は、前で使っても言いません。定義の条は文書の頭にも終わりにも置く書き方があるためです。規約やポリシーの丁寧な形(以下「X」といいます)も、法令の形と同じに読みます。見出しの行(章・節の行、条の前の「(買主の義務)」のような見出し)の語と、漢字で終わる語にさらに漢字が続く長い語(「監査委員会」の「監査委員」)と、定義の括弧の前の長い名前をそのまま書いた所(「…作成の手引き(以下「手引き」という。)」より前の「…作成の手引き」)は、使った所に数えません。最初の一か所だけを指します。別の語を定義する括弧の前の名前の中(This Services Agreement (this "Agreement") の Services、本サービス利用契約(以下「本契約」という。)の本サービス)も、使った所に数えません。目次・索引の行(目次の見出しの下の項目、一行に詰めた目次、定義した語と条の番地の一覧)と、条の番号の後ろの題(Section 1.1 Closing.)と、番号と語の終わりに条の番地の括弧を添えただけの札((1)文化芸術推進基本計画(第7条関係))と、語を含むもっと長い名前(定義の括弧の前の名前を前で写した株式会社みなと、もっと長い定義した語、Navistar Financial Corporation)も数えません。文書自身の名前と定義した語に同じ頭を付けた所(この就業規則(以下「規則」)より前の「この規則」)と、すぐ後ろの括弧に定義の長い名前を書き添えた所は、読み手に分かるので言いません。要約の節(「要旨」「裁判要旨」「Summary」のような見出しの下)で、定義がその節の外にある語と、番号と題だけの項目の行((2)本件仮換地の指定等)は、本文を縮めたり名前を付けたりした所なので数えません。番地や法令の名前に続けて語の意味の出どころを書いた所(69条の3所定の小規模宅地等)も数えません。
54
- en: Terms defined in a definitions clause ("X" means ...) are not checked, since a definitions clause may come first or last. A heading line (a chapter or section line, or the caption above an article) does not count as a use, nor does a longer word that runs on in kanji past a term ending in kanji, nor an earlier copy of the long name written just before the definition's bracket. The polite Japanese form (以下「X」といいます) is read like the statute form. Only the first early use is pointed at. A word inside the name written right before another term's defining bracket (Services in This Services Agreement (this "Agreement")) is not a use either. Nor are contents and index lines (the items under a contents heading, a table of contents or a list of defined terms and section numbers packed on one line), a caption after a section number (Section 1.1 Closing.), a label of a number and the term ending in a bracketed section reference ((a) Seller (Section 2)), or a longer name that holds the term, such as an earlier copy of the name before the bracket (Board of Directors before our Board of Directors ("Board")), a longer defined term, a capitalised name ending in it (Navistar Financial Corporation). The document naming itself (this Agreement before (this "Agreement")) and a use followed by the long name in brackets are clear to the reader and not pointed at. A use in a summary section (under a heading such as Summary, Syllabus or 裁判要旨) of a term defined outside it, and a numbered line that only names the section below ((2) Interim Land Designation) summarise or name the body, so they are not uses either.
53
+ ja: 定義の条(「X」とは…をいう)で定義した語は、前で使っても言いません。定義の条は文書の頭にも終わりにも置く書き方があるためです。規約やポリシーの丁寧な形(以下「X」といいます)も、法令の形と同じに読みます。見出しの行(章・節の行、条の前の「(買主の義務)」のような見出し)の語と、漢字で終わる語にさらに漢字が続く長い語(「監査委員会」の「監査委員」)と、定義の括弧の前の長い名前をそのまま書いた所(「…作成の手引き(以下「手引き」という。)」より前の「…作成の手引き」)は、使った所に数えません。最初の一か所だけを指します。別の語を定義する括弧の前の名前の中(This Services Agreement (this "Agreement") の Services、本サービス利用契約(以下「本契約」という。)の本サービス)も、使った所に数えません。目次・索引の行(目次の見出しの下の項目、一行に詰めた目次、定義した語と条の番地の一覧)と、条の番号の後ろの題(Section 1.1 Closing.)と、番号と語の終わりに条の番地の括弧を添えただけの札((1)文化芸術推進基本計画(第7条関係))と、語を含むもっと長い名前(定義の括弧の前の名前を前で写した株式会社みなと、もっと長い定義した語、Navistar Financial Corporation)も数えません。文書自身の名前と定義した語に同じ頭を付けた所(この就業規則(以下「規則」)より前の「この規則」)と、すぐ後ろの括弧に定義の長い名前を書き添えた所は、読み手に分かるので言いません。要約の節(「要旨」「裁判要旨」「Summary」のような見出しの下)で、定義がその節の外にある語と、番号と題だけの項目の行((2)本件仮換地の指定等)は、本文を縮めたり名前を付けたりした所なので数えません。番地や法令の名前に続けて語の意味の出どころを書いた所(69条の3所定の小規模宅地等)も数えません。「はじめに」「序論」の節は後の本文が定義することを先に名指す所なので、要約の節と同じに読みます。他の法令を引き写した節(見出しがその法令の名前で、文書がほかでその法令を引いている)の条の中の定義は、その法令の定義で、この文書の語の定義としては読みません。英語の語を大文字の長い名前の終わりに書いた所(The National Security Act of 1947)より後ろの the Act は、その名前を指すので数えません。
54
+ en: Terms defined in a definitions clause ("X" means ...) are not checked, since a definitions clause may come first or last. A heading line (a chapter or section line, or the caption above an article) does not count as a use, nor does a longer word that runs on in kanji past a term ending in kanji, nor an earlier copy of the long name written just before the definition's bracket. The polite Japanese form (以下「X」といいます) is read like the statute form. Only the first early use is pointed at. A word inside the name written right before another term's defining bracket (Services in This Services Agreement (this "Agreement")) is not a use either. Nor are contents and index lines (the items under a contents heading, a table of contents or a list of defined terms and section numbers packed on one line), a caption after a section number (Section 1.1 Closing.), a label of a number and the term ending in a bracketed section reference ((a) Seller (Section 2)), or a longer name that holds the term, such as an earlier copy of the name before the bracket (Board of Directors before our Board of Directors ("Board")), a longer defined term, a capitalised name ending in it (Navistar Financial Corporation). The document naming itself (this Agreement before (this "Agreement")) and a use followed by the long name in brackets are clear to the reader and not pointed at. A use in a summary section (under a heading such as Summary, Syllabus or 裁判要旨) of a term defined outside it, and a numbered line that only names the section below ((2) Interim Land Designation) summarise or name the body, so they are not uses either. An introduction (a heading that is the whole of Introduction, Preface or Foreword) names ahead what the body defines and is read like a summary. A definition inside an article copied from another statute (under a heading that names a document the text cites elsewhere) is that statute's, not this document's. After a longer capitalised name ending in the term (The National Security Act of 1947), "the Act" points back to that name and is not an early use.
55
55
  rewrite:
56
56
  depth: structure
57
57
  ja:
@@ -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 も見ます。すぐ後ろの括弧で中身を書いた語(一定の事項(請求書に書く事項))も数えません。括弧が名前を付けるだけ(以下「本措置」という。)なら数えます。
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.'
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.'
58
58
  level_meaning:
59
59
  ja: 1000 字あたりあいまいな語 {limit} 個まで
60
60
  en: up to {limit} vague words per 1000 words
@@ -24,7 +24,7 @@ how_to_fix:
24
24
  ja: 強めを外して、何がどの程度なのかを書いてください(とても速い → 1 秒以内に開く、very important → critical)。
25
25
  en: Use a stronger word, or say what and how much ("very important" → "critical", "very fast" → "under a second"; とても速い → 1 秒以内に開く).
26
26
 
27
- levels: { strict: 1, normal: 2, relaxed: 4 }
27
+ levels: { strict: 1, normal: 3, relaxed: 4 }
28
28
 
29
29
  use_for: [business, technical, blog, legal, docs, academic, literature, speech]
30
30
  off_for:
@@ -60,5 +60,5 @@ example:
60
60
  Warning: the restore replaces the current database. Export today's orders first.
61
61
 
62
62
  not_flagged:
63
- ja: 「注意」「警告」「危険」をそれだけで頭に置いた段落(「注意:」「**警告**」「> [!WARNING]」)だけを読みます。GitHub の注意(> [!WARNING])は引用の終わりまでを一つの注意書きとして読みます。箇条書きの項目の中の注意書き、「メモ」「ヒント」「重要」の段落、「注意深く」のように語の一部になったもの、どれかの文が読み手のすること(〜してください、〜しないこと、〜する必要があります)で終わる注意書きは指しません。技術文書・手順書・ブログでだけ動きます。
64
- en: 'Only paragraphs opening with Warning, Caution or Danger standing alone ("Warning:", "**Caution**", "> [!WARNING]") are read. A GitHub alert (> [!WARNING]) is read to the end of its block quote. Warnings inside list items, notes, tips and "Important" paragraphs, words that merely start with the label ("Warnings are logged"), and warnings with any sentence that gives an action (do not, make sure, must, or a sentence opening with its verb) are not reported. Technical documents, manuals and blogs only.'
63
+ ja: 「注意」「警告」「危険」をそれだけで頭に置いた段落(「注意:」「**警告**」「> [!WARNING]」)だけを読みます。GitHub の注意(> [!WARNING])は引用の終わりまでを一つの注意書きとして読みます。箇条書きの項目の中の注意書き、「メモ」「ヒント」「重要」の段落、「注意深く」のように語の一部になったもの、どれかの文が読み手のすること(〜してください、〜しないこと、〜する必要があります)で終わる注意書きは指しません。技術文書・手順書・ブログでだけ動きます。「〜べきです」で結ぶ文も、読み手のすることを言う文と読みます。
64
+ en: 'Only paragraphs opening with Warning, Caution or Danger standing alone ("Warning:", "**Caution**", "> [!WARNING]") are read. A GitHub alert (> [!WARNING]) is read to the end of its block quote. Warnings inside list items, notes, tips and "Important" paragraphs, words that merely start with the label ("Warnings are logged"), and warnings with any sentence that gives an action (do not, make sure, must, or a sentence opening with its verb) are not reported. Technical documents, manuals and blogs only. In Japanese, a sentence ending in べきです (should) tells the reader what to do too.'
@@ -30,6 +30,7 @@ use_for: [business, technical, legal, docs, academic, literature, speech]
30
30
  off_for:
31
31
  literature: "Spoken 全然大丈夫, なので and より in a character's voice; classical verse has a たり that does not list."
32
32
  speech: "Spoken Japanese says 全然大丈夫, opens with なので and greets with より参りました."
33
+ business/press-release: "A press release announces a start in the trade's fixed wording (12月1日より提供を開始いたします); official style's から is not what its readers expect."
33
34
  sources: [koyobun-2022]
34
35
 
35
36
  group: wording
@@ -56,8 +56,17 @@ const membersAt = (
56
56
  ? namesInOrder(tokens.slice(0, range.start).toReversed(), joiners, source).toReversed()
57
57
  : namesInOrder(tokens.slice(range.end), joiners, source);
58
58
 
59
- /** 一覧を読む言葉。frames は一覧を言う語、joiners は名前をつなぐ語、negations は打ち消しの語(小文字)。 */
60
- export type ListWords = { readonly frames: Lexicon; readonly joiners: ReadonlySet<string>; readonly negations: ReadonlySet<string> };
59
+ /** 一覧を読む言葉。frames は一覧を言う語、joiners は名前をつなぐ語、negations は打ち消しの語、ordinals は序数の語(小文字)。 */
60
+ export type ListWords = {
61
+ readonly frames: Lexicon;
62
+ readonly joiners: ReadonlySet<string>;
63
+ readonly negations: ReadonlySet<string>;
64
+ readonly ordinals?: ReadonlySet<string>;
65
+ };
66
+
67
+ /** 序数だけの名前(Fourteenth、Twenty-first)は数えた順番で、名前の一覧ではない(Fourteenth and Fifteenth Edition … Sixteenth Edition)。 */
68
+ const isOrdinal = (member: ListMember, ordinals: ReadonlySet<string>): boolean =>
69
+ member.name.split(/[\s-]+/u).every((word) => ordinals.has(word.toLowerCase()));
61
70
 
62
71
  /** 打ち消した文(neither is available on Docker Hub、Linux には対応していません)は、一覧に足す名前ではなく、外す名前を言う。 */
63
72
  const isNegated = (tokens: readonly Token[], negations: ReadonlySet<string>): boolean =>
@@ -72,7 +81,7 @@ export const listStatementsIn = (sentence: Sentence, words: ListWords, source: s
72
81
  const group = entry.group;
73
82
  if (group === undefined) return [];
74
83
  return entryRanges(sentence, entry).flatMap((range) => {
75
- const members = membersAt(tokens, entry, range, joiners, source);
84
+ const members = membersAt(tokens, entry, range, joiners, source).filter((member) => !isOrdinal(member, words.ordinals ?? new Set()));
76
85
  const offset = tokens[range.start]?.span.start ?? sentence.span.start;
77
86
  return members.length === 0 ? [] : [{ group, offset, members }];
78
87
  });
@@ -14,3 +14,22 @@ export const bodySectionOf = (sections: readonly Section[]): Section | undefined
14
14
  const titleIndex = sections.findIndex((section) => section.depth === 1);
15
15
  return sections.find((section, index) => section.depth >= 2 || isSiblingSection(section, index, titleIndex));
16
16
  };
17
+
18
+ /** 前後の見出しの語のあとに続いてよい区切りか番号(「付録: 用語」「Appendix A」「図1」)。 */
19
+ const AFTER_MATTER = /^[\s::、0-90-9]/u;
20
+
21
+ /** 番号を付けない前後の見出し(目次・参考文献・付録 A)か。言葉全体が語彙表の語か、語彙表の語に区切りが続くとき。words は小文字。 */
22
+ export const isFrontOrBackMatter = (text: string, words: readonly string[]): boolean => {
23
+ const lowered = text.trim().toLowerCase();
24
+ return words.some((word) => lowered === word || (lowered.startsWith(word) && AFTER_MATTER.test(lowered.slice(word.length))));
25
+ };
26
+
27
+ /**
28
+ * 本題の節から先の、本題と同じ深さか浅い見出しが、どれも前後の見出し(お問合せ先、参考文献)か。それなら文書に本題の見出しは無く、
29
+ * 手紙の形の文書(諮問の文と、末尾の問い合わせ先の囲み)と同じで、見出しの前は前置きではない。words は小文字。
30
+ */
31
+ export const hasOnlyMatterHeadings = (sections: readonly Section[], body: Section, words: readonly string[]): boolean =>
32
+ sections
33
+ .slice(sections.indexOf(body))
34
+ .filter((section) => section.depth <= body.depth)
35
+ .every((section) => isFrontOrBackMatter(section.heading, words));
@@ -1,7 +1,7 @@
1
1
  import type { Span } from "../plugin.ts";
2
2
  import { bySentence } from "./sentence-buckets.ts";
3
3
  import { calendarDateOf, dateOf, shifted, valueOf, type DurationUnit } from "./date-arithmetic.ts";
4
- import { markedPair, type MarkText } from "./marked-dates.ts";
4
+ import { bothStarts, markedPair, type MarkText } from "./marked-dates.ts";
5
5
 
6
6
  /**
7
7
  * 始まりと期間と終わりを一つの文に書いたもの(「4月1日から3か月間(6月30日まで)」"for 3 months from April 1, 2026 (until
@@ -10,6 +10,7 @@ import { markedPair, type MarkText } from "./marked-dates.ts";
10
10
  * (4月16日)」)。どれとも合わないときだけ言う。
11
11
  * 文に期間がちょうど一つのときだけ読む。日付が三つ以上なら、始まりと終わりを語で印した組(「7月1日から」「(7月31日まで)」)だけを
12
12
  * 読む。印が無ければ、どの日付とどの期間が組なのか決まらない。
13
+ * 日付が二つでも、どちらも始まりの印(from、から)なら二つの組の始まりで、組にしない。
13
14
  * 範囲のすぐ後ろの括弧に書いた期間(「9月1日〜9月30日(30日間)」)は範囲そのものの長さで、期間が過ぎた日を終わりに書くことはない。
14
15
  */
15
16
  export type DatedValue = Span & { readonly value: string };
@@ -99,7 +100,7 @@ const reversed = ([start, end]: readonly [DatedValue, DatedValue]): boolean =>
99
100
 
100
101
  const pairOf = (sentence: Span, inDates: readonly DatedValue[], duration: Duration, text: MarkText): readonly [DatedValue, DatedValue] | undefined => {
101
102
  const [first, second] = inDates;
102
- if (inDates.length === 2 && first !== undefined && second !== undefined) return [first, second];
103
+ if (inDates.length === 2 && first !== undefined && second !== undefined) return bothStarts(text, [first, second], duration) ? undefined : [first, second];
103
104
  const marked = inDates.length > 2 ? markedPair(text, sentence, inDates, duration) : undefined;
104
105
  return marked === undefined || reversed(marked) ? undefined : marked;
105
106
  };