chaffjs 0.38.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (892) hide show
  1. package/README.ja.md +21 -4
  2. package/README.md +20 -2
  3. package/checks/ai-tells.yaml +153 -0
  4. package/dist/acronym-expansion.d.ts +4 -0
  5. package/dist/acronym-expansion.d.ts.map +1 -0
  6. package/dist/acronym-expansion.js +46 -0
  7. package/dist/acronym-expansion.js.map +1 -0
  8. package/dist/ai-score/human-shares.d.ts.map +1 -1
  9. package/dist/ai-score/human-shares.js +54 -12
  10. package/dist/ai-score/human-shares.js.map +1 -1
  11. package/dist/ai-score/of-document.d.ts.map +1 -1
  12. package/dist/ai-score/of-document.js +4 -2
  13. package/dist/ai-score/of-document.js.map +1 -1
  14. package/dist/alternative-words.d.ts +6 -0
  15. package/dist/alternative-words.d.ts.map +1 -1
  16. package/dist/alternative-words.js +10 -0
  17. package/dist/alternative-words.js.map +1 -1
  18. package/dist/body-section.d.ts +3 -1
  19. package/dist/body-section.d.ts.map +1 -1
  20. package/dist/body-section.js +9 -2
  21. package/dist/body-section.js.map +1 -1
  22. package/dist/capitals-with-small.d.ts +5 -0
  23. package/dist/capitals-with-small.d.ts.map +1 -1
  24. package/dist/capitals-with-small.js +15 -0
  25. package/dist/capitals-with-small.js.map +1 -1
  26. package/dist/checks.d.ts +11 -0
  27. package/dist/checks.d.ts.map +1 -1
  28. package/dist/checks.js +27 -1
  29. package/dist/checks.js.map +1 -1
  30. package/dist/cli-args.js +1 -1
  31. package/dist/cli-args.js.map +1 -1
  32. package/dist/cli-text.d.ts.map +1 -1
  33. package/dist/cli-text.js +4 -0
  34. package/dist/cli-text.js.map +1 -1
  35. package/dist/closing-code.d.ts +8 -0
  36. package/dist/closing-code.d.ts.map +1 -0
  37. package/dist/closing-code.js +18 -0
  38. package/dist/closing-code.js.map +1 -0
  39. package/dist/commands/fix-plan.d.ts.map +1 -1
  40. package/dist/commands/fix-plan.js +64 -4
  41. package/dist/commands/fix-plan.js.map +1 -1
  42. package/dist/commands/test.d.ts.map +1 -1
  43. package/dist/commands/test.js +16 -2
  44. package/dist/commands/test.js.map +1 -1
  45. package/dist/date-format.d.ts +19 -1
  46. package/dist/date-format.d.ts.map +1 -1
  47. package/dist/date-format.js +41 -5
  48. package/dist/date-format.js.map +1 -1
  49. package/dist/detectors/acronym-context.d.ts +5 -2
  50. package/dist/detectors/acronym-context.d.ts.map +1 -1
  51. package/dist/detectors/acronym-context.js +19 -4
  52. package/dist/detectors/acronym-context.js.map +1 -1
  53. package/dist/detectors/acronym-expansion.d.ts.map +1 -1
  54. package/dist/detectors/acronym-expansion.js +25 -0
  55. package/dist/detectors/acronym-expansion.js.map +1 -1
  56. package/dist/detectors/acronym-gloss.d.ts +19 -0
  57. package/dist/detectors/acronym-gloss.d.ts.map +1 -1
  58. package/dist/detectors/acronym-gloss.js +115 -0
  59. package/dist/detectors/acronym-gloss.js.map +1 -1
  60. package/dist/detectors/acronym-mention.d.ts +5 -0
  61. package/dist/detectors/acronym-mention.d.ts.map +1 -1
  62. package/dist/detectors/acronym-mention.js +16 -0
  63. package/dist/detectors/acronym-mention.js.map +1 -1
  64. package/dist/detectors/acronym-name.d.ts +14 -2
  65. package/dist/detectors/acronym-name.d.ts.map +1 -1
  66. package/dist/detectors/acronym-name.js +28 -3
  67. package/dist/detectors/acronym-name.js.map +1 -1
  68. package/dist/detectors/acronym-series.d.ts +7 -0
  69. package/dist/detectors/acronym-series.d.ts.map +1 -0
  70. package/dist/detectors/acronym-series.js +25 -0
  71. package/dist/detectors/acronym-series.js.map +1 -0
  72. package/dist/detectors/ai-phrasing.d.ts +3 -6
  73. package/dist/detectors/ai-phrasing.d.ts.map +1 -1
  74. package/dist/detectors/ai-phrasing.js +17 -16
  75. package/dist/detectors/ai-phrasing.js.map +1 -1
  76. package/dist/detectors/ai-structure.d.ts +1 -0
  77. package/dist/detectors/ai-structure.d.ts.map +1 -1
  78. package/dist/detectors/ai-structure.js +15 -4
  79. package/dist/detectors/ai-structure.js.map +1 -1
  80. package/dist/detectors/alnum-number.d.ts +1 -0
  81. package/dist/detectors/alnum-number.d.ts.map +1 -1
  82. package/dist/detectors/alnum-number.js +7 -3
  83. package/dist/detectors/alnum-number.js.map +1 -1
  84. package/dist/detectors/bare-comparative.d.ts +6 -0
  85. package/dist/detectors/bare-comparative.d.ts.map +1 -1
  86. package/dist/detectors/bare-comparative.js +31 -12
  87. package/dist/detectors/bare-comparative.js.map +1 -1
  88. package/dist/detectors/blank-runs.d.ts +12 -0
  89. package/dist/detectors/blank-runs.d.ts.map +1 -0
  90. package/dist/detectors/blank-runs.js +27 -0
  91. package/dist/detectors/blank-runs.js.map +1 -0
  92. package/dist/detectors/bold-emphasis-form.d.ts +8 -0
  93. package/dist/detectors/bold-emphasis-form.d.ts.map +1 -0
  94. package/dist/detectors/bold-emphasis-form.js +40 -0
  95. package/dist/detectors/bold-emphasis-form.js.map +1 -0
  96. package/dist/detectors/bold-emphasis.d.ts +0 -1
  97. package/dist/detectors/bold-emphasis.d.ts.map +1 -1
  98. package/dist/detectors/bold-emphasis.js +14 -12
  99. package/dist/detectors/bold-emphasis.js.map +1 -1
  100. package/dist/detectors/bold-label.d.ts +3 -1
  101. package/dist/detectors/bold-label.d.ts.map +1 -1
  102. package/dist/detectors/bold-label.js +16 -6
  103. package/dist/detectors/bold-label.js.map +1 -1
  104. package/dist/detectors/capitalised-term.d.ts.map +1 -1
  105. package/dist/detectors/capitalised-term.js +28 -9
  106. package/dist/detectors/capitalised-term.js.map +1 -1
  107. package/dist/detectors/caps-caption.d.ts +5 -0
  108. package/dist/detectors/caps-caption.d.ts.map +1 -1
  109. package/dist/detectors/caps-caption.js +20 -2
  110. package/dist/detectors/caps-caption.js.map +1 -1
  111. package/dist/detectors/char-shape.d.ts.map +1 -1
  112. package/dist/detectors/char-shape.js +86 -27
  113. package/dist/detectors/char-shape.js.map +1 -1
  114. package/dist/detectors/chat-log-line.d.ts +8 -0
  115. package/dist/detectors/chat-log-line.d.ts.map +1 -0
  116. package/dist/detectors/chat-log-line.js +13 -0
  117. package/dist/detectors/chat-log-line.js.map +1 -0
  118. package/dist/detectors/citation-string.d.ts +9 -0
  119. package/dist/detectors/citation-string.d.ts.map +1 -0
  120. package/dist/detectors/citation-string.js +86 -0
  121. package/dist/detectors/citation-string.js.map +1 -0
  122. package/dist/detectors/closing-cliche.d.ts +18 -0
  123. package/dist/detectors/closing-cliche.d.ts.map +1 -0
  124. package/dist/detectors/closing-cliche.js +58 -0
  125. package/dist/detectors/closing-cliche.js.map +1 -0
  126. package/dist/detectors/closing-exhortation.d.ts +18 -0
  127. package/dist/detectors/closing-exhortation.d.ts.map +1 -0
  128. package/dist/detectors/closing-exhortation.js +55 -0
  129. package/dist/detectors/closing-exhortation.js.map +1 -0
  130. package/dist/detectors/cold-open.d.ts +25 -0
  131. package/dist/detectors/cold-open.d.ts.map +1 -0
  132. package/dist/detectors/cold-open.js +121 -0
  133. package/dist/detectors/cold-open.js.map +1 -0
  134. package/dist/detectors/comparative-context.d.ts +21 -0
  135. package/dist/detectors/comparative-context.d.ts.map +1 -0
  136. package/dist/detectors/comparative-context.js +57 -0
  137. package/dist/detectors/comparative-context.js.map +1 -0
  138. package/dist/detectors/concrete-evidence-density.d.ts +3 -0
  139. package/dist/detectors/concrete-evidence-density.d.ts.map +1 -0
  140. package/dist/detectors/concrete-evidence-density.js +75 -0
  141. package/dist/detectors/concrete-evidence-density.js.map +1 -0
  142. package/dist/detectors/concrete-evidence.d.ts +14 -0
  143. package/dist/detectors/concrete-evidence.d.ts.map +1 -1
  144. package/dist/detectors/concrete-evidence.js +24 -0
  145. package/dist/detectors/concrete-evidence.js.map +1 -1
  146. package/dist/detectors/contraction-emphasis.d.ts +3 -0
  147. package/dist/detectors/contraction-emphasis.d.ts.map +1 -0
  148. package/dist/detectors/contraction-emphasis.js +24 -0
  149. package/dist/detectors/contraction-emphasis.js.map +1 -0
  150. package/dist/detectors/contraction-mention.d.ts +12 -1
  151. package/dist/detectors/contraction-mention.d.ts.map +1 -1
  152. package/dist/detectors/contraction-mention.js +39 -6
  153. package/dist/detectors/contraction-mention.js.map +1 -1
  154. package/dist/detectors/contraction-mix.d.ts +3 -0
  155. package/dist/detectors/contraction-mix.d.ts.map +1 -0
  156. package/dist/detectors/contraction-mix.js +69 -0
  157. package/dist/detectors/contraction-mix.js.map +1 -0
  158. package/dist/detectors/contrast-frame.d.ts +5 -0
  159. package/dist/detectors/contrast-frame.d.ts.map +1 -1
  160. package/dist/detectors/contrast-frame.js +53 -6
  161. package/dist/detectors/contrast-frame.js.map +1 -1
  162. package/dist/detectors/coordinate-adjective.d.ts +2 -1
  163. package/dist/detectors/coordinate-adjective.d.ts.map +1 -1
  164. package/dist/detectors/coordinate-adjective.js +4 -2
  165. package/dist/detectors/coordinate-adjective.js.map +1 -1
  166. package/dist/detectors/date-format.d.ts.map +1 -1
  167. package/dist/detectors/date-format.js +13 -1
  168. package/dist/detectors/date-format.js.map +1 -1
  169. package/dist/detectors/duplicate-definition.d.ts +3 -0
  170. package/dist/detectors/duplicate-definition.d.ts.map +1 -0
  171. package/dist/detectors/duplicate-definition.js +16 -0
  172. package/dist/detectors/duplicate-definition.js.map +1 -0
  173. package/dist/detectors/duplicate-heading.d.ts +4 -2
  174. package/dist/detectors/duplicate-heading.d.ts.map +1 -1
  175. package/dist/detectors/duplicate-heading.js +35 -11
  176. package/dist/detectors/duplicate-heading.js.map +1 -1
  177. package/dist/detectors/email-frame-words.d.ts +10 -0
  178. package/dist/detectors/email-frame-words.d.ts.map +1 -0
  179. package/dist/detectors/email-frame-words.js +34 -0
  180. package/dist/detectors/email-frame-words.js.map +1 -0
  181. package/dist/detectors/email-letter.d.ts +3 -7
  182. package/dist/detectors/email-letter.d.ts.map +1 -1
  183. package/dist/detectors/email-letter.js +13 -21
  184. package/dist/detectors/email-letter.js.map +1 -1
  185. package/dist/detectors/final-period-captions.d.ts +15 -0
  186. package/dist/detectors/final-period-captions.d.ts.map +1 -0
  187. package/dist/detectors/final-period-captions.js +61 -0
  188. package/dist/detectors/final-period-captions.js.map +1 -0
  189. package/dist/detectors/fullwidth-alnum.d.ts.map +1 -1
  190. package/dist/detectors/fullwidth-alnum.js +20 -4
  191. package/dist/detectors/fullwidth-alnum.js.map +1 -1
  192. package/dist/detectors/gram-furniture.d.ts +18 -1
  193. package/dist/detectors/gram-furniture.d.ts.map +1 -1
  194. package/dist/detectors/gram-furniture.js +71 -0
  195. package/dist/detectors/gram-furniture.js.map +1 -1
  196. package/dist/detectors/gram-openers.d.ts +16 -0
  197. package/dist/detectors/gram-openers.d.ts.map +1 -1
  198. package/dist/detectors/gram-openers.js +52 -0
  199. package/dist/detectors/gram-openers.js.map +1 -1
  200. package/dist/detectors/gram-predicate.d.ts.map +1 -1
  201. package/dist/detectors/gram-predicate.js +40 -7
  202. package/dist/detectors/gram-predicate.js.map +1 -1
  203. package/dist/detectors/gram-repetition.d.ts +3 -0
  204. package/dist/detectors/gram-repetition.d.ts.map +1 -0
  205. package/dist/detectors/gram-repetition.js +158 -0
  206. package/dist/detectors/gram-repetition.js.map +1 -0
  207. package/dist/detectors/heading-level-skip.d.ts +6 -0
  208. package/dist/detectors/heading-level-skip.d.ts.map +1 -1
  209. package/dist/detectors/heading-level-skip.js +24 -1
  210. package/dist/detectors/heading-level-skip.js.map +1 -1
  211. package/dist/detectors/heading-numbering.js +2 -2
  212. package/dist/detectors/heading-numbering.js.map +1 -1
  213. package/dist/detectors/heading-sentences.d.ts +10 -0
  214. package/dist/detectors/heading-sentences.d.ts.map +1 -0
  215. package/dist/detectors/heading-sentences.js +32 -0
  216. package/dist/detectors/heading-sentences.js.map +1 -0
  217. package/dist/detectors/hyphen-copied-text.d.ts +3 -0
  218. package/dist/detectors/hyphen-copied-text.d.ts.map +1 -0
  219. package/dist/detectors/hyphen-copied-text.js +49 -0
  220. package/dist/detectors/hyphen-copied-text.js.map +1 -0
  221. package/dist/detectors/kanji-name-edge.d.ts +15 -0
  222. package/dist/detectors/kanji-name-edge.d.ts.map +1 -1
  223. package/dist/detectors/kanji-name-edge.js +30 -0
  224. package/dist/detectors/kanji-name-edge.js.map +1 -1
  225. package/dist/detectors/kanji-run-pieces.d.ts +7 -0
  226. package/dist/detectors/kanji-run-pieces.d.ts.map +1 -1
  227. package/dist/detectors/kanji-run-pieces.js +14 -4
  228. package/dist/detectors/kanji-run-pieces.js.map +1 -1
  229. package/dist/detectors/kutoten-consistency.d.ts.map +1 -1
  230. package/dist/detectors/kutoten-consistency.js +22 -4
  231. package/dist/detectors/kutoten-consistency.js.map +1 -1
  232. package/dist/detectors/lead-in-dash.d.ts +5 -0
  233. package/dist/detectors/lead-in-dash.d.ts.map +1 -1
  234. package/dist/detectors/lead-in-dash.js +9 -0
  235. package/dist/detectors/lead-in-dash.js.map +1 -1
  236. package/dist/detectors/letter-joined-name.d.ts +2 -0
  237. package/dist/detectors/letter-joined-name.d.ts.map +1 -1
  238. package/dist/detectors/letter-joined-name.js +8 -0
  239. package/dist/detectors/letter-joined-name.js.map +1 -1
  240. package/dist/detectors/lexicon.d.ts +1 -2
  241. package/dist/detectors/lexicon.d.ts.map +1 -1
  242. package/dist/detectors/lexicon.js +16 -57
  243. package/dist/detectors/lexicon.js.map +1 -1
  244. package/dist/detectors/list-item.d.ts +14 -0
  245. package/dist/detectors/list-item.d.ts.map +1 -1
  246. package/dist/detectors/list-item.js +30 -1
  247. package/dist/detectors/list-item.js.map +1 -1
  248. package/dist/detectors/list-items.d.ts +1 -1
  249. package/dist/detectors/list-items.d.ts.map +1 -1
  250. package/dist/detectors/list-items.js +2 -0
  251. package/dist/detectors/list-items.js.map +1 -1
  252. package/dist/detectors/list-joint.d.ts +18 -0
  253. package/dist/detectors/list-joint.d.ts.map +1 -0
  254. package/dist/detectors/list-joint.js +42 -0
  255. package/dist/detectors/list-joint.js.map +1 -0
  256. package/dist/detectors/list-layout.d.ts +14 -0
  257. package/dist/detectors/list-layout.d.ts.map +1 -0
  258. package/dist/detectors/list-layout.js +29 -0
  259. package/dist/detectors/list-layout.js.map +1 -0
  260. package/dist/detectors/list-lead-in.d.ts +7 -2
  261. package/dist/detectors/list-lead-in.d.ts.map +1 -1
  262. package/dist/detectors/list-lead-in.js +67 -6
  263. package/dist/detectors/list-lead-in.js.map +1 -1
  264. package/dist/detectors/list-parallel.d.ts +6 -0
  265. package/dist/detectors/list-parallel.d.ts.map +1 -1
  266. package/dist/detectors/list-parallel.js +106 -13
  267. package/dist/detectors/list-parallel.js.map +1 -1
  268. package/dist/detectors/list-run.d.ts +13 -0
  269. package/dist/detectors/list-run.d.ts.map +1 -0
  270. package/dist/detectors/list-run.js +80 -0
  271. package/dist/detectors/list-run.js.map +1 -0
  272. package/dist/detectors/list-sentence.d.ts +11 -0
  273. package/dist/detectors/list-sentence.d.ts.map +1 -1
  274. package/dist/detectors/list-sentence.js +1 -0
  275. package/dist/detectors/list-sentence.js.map +1 -1
  276. package/dist/detectors/mark-shape.d.ts +2 -1
  277. package/dist/detectors/mark-shape.d.ts.map +1 -1
  278. package/dist/detectors/mark-shape.js +10 -6
  279. package/dist/detectors/mark-shape.js.map +1 -1
  280. package/dist/detectors/missing-final-period.d.ts.map +1 -1
  281. package/dist/detectors/missing-final-period.js +3 -1
  282. package/dist/detectors/missing-final-period.js.map +1 -1
  283. package/dist/detectors/name-run.d.ts +2 -0
  284. package/dist/detectors/name-run.d.ts.map +1 -1
  285. package/dist/detectors/name-run.js +1 -1
  286. package/dist/detectors/name-run.js.map +1 -1
  287. package/dist/detectors/name-variant-two-things.d.ts +18 -0
  288. package/dist/detectors/name-variant-two-things.d.ts.map +1 -0
  289. package/dist/detectors/name-variant-two-things.js +84 -0
  290. package/dist/detectors/name-variant-two-things.js.map +1 -0
  291. package/dist/detectors/name-variant.d.ts.map +1 -1
  292. package/dist/detectors/name-variant.js +14 -15
  293. package/dist/detectors/name-variant.js.map +1 -1
  294. package/dist/detectors/numbering-readings.d.ts +2 -2
  295. package/dist/detectors/numbering-readings.d.ts.map +1 -1
  296. package/dist/detectors/numbering-readings.js +7 -0
  297. package/dist/detectors/numbering-readings.js.map +1 -1
  298. package/dist/detectors/open-end-anaphor.d.ts +8 -0
  299. package/dist/detectors/open-end-anaphor.d.ts.map +1 -0
  300. package/dist/detectors/open-end-anaphor.js +22 -0
  301. package/dist/detectors/open-end-anaphor.js.map +1 -0
  302. package/dist/detectors/open-end-lead.d.ts +4 -0
  303. package/dist/detectors/open-end-lead.d.ts.map +1 -0
  304. package/dist/detectors/open-end-lead.js +34 -0
  305. package/dist/detectors/open-end-lead.js.map +1 -0
  306. package/dist/detectors/open-end-scope.d.ts.map +1 -1
  307. package/dist/detectors/open-end-scope.js +7 -1
  308. package/dist/detectors/open-end-scope.js.map +1 -1
  309. package/dist/detectors/ordinal-run-gaps.d.ts +1 -0
  310. package/dist/detectors/ordinal-run-gaps.d.ts.map +1 -1
  311. package/dist/detectors/ordinal-run-gaps.js +1 -1
  312. package/dist/detectors/ordinal-run-gaps.js.map +1 -1
  313. package/dist/detectors/organisation-run.d.ts +6 -0
  314. package/dist/detectors/organisation-run.d.ts.map +1 -1
  315. package/dist/detectors/organisation-run.js +26 -2
  316. package/dist/detectors/organisation-run.js.map +1 -1
  317. package/dist/detectors/orthographic-variant-open.d.ts +37 -0
  318. package/dist/detectors/orthographic-variant-open.d.ts.map +1 -0
  319. package/dist/detectors/orthographic-variant-open.js +81 -0
  320. package/dist/detectors/orthographic-variant-open.js.map +1 -0
  321. package/dist/detectors/orthographic-variant.d.ts.map +1 -1
  322. package/dist/detectors/orthographic-variant.js +55 -59
  323. package/dist/detectors/orthographic-variant.js.map +1 -1
  324. package/dist/detectors/orthography.d.ts.map +1 -1
  325. package/dist/detectors/orthography.js +14 -5
  326. package/dist/detectors/orthography.js.map +1 -1
  327. package/dist/detectors/over-general-claim.d.ts.map +1 -1
  328. package/dist/detectors/over-general-claim.js +82 -4
  329. package/dist/detectors/over-general-claim.js.map +1 -1
  330. package/dist/detectors/oxford-comma.d.ts.map +1 -1
  331. package/dist/detectors/oxford-comma.js +61 -27
  332. package/dist/detectors/oxford-comma.js.map +1 -1
  333. package/dist/detectors/particle-run-names.d.ts +8 -0
  334. package/dist/detectors/particle-run-names.d.ts.map +1 -0
  335. package/dist/detectors/particle-run-names.js +17 -0
  336. package/dist/detectors/particle-run-names.js.map +1 -0
  337. package/dist/detectors/placeholder-text.d.ts.map +1 -1
  338. package/dist/detectors/placeholder-text.js +14 -2
  339. package/dist/detectors/placeholder-text.js.map +1 -1
  340. package/dist/detectors/proper-noun-density.d.ts +13 -0
  341. package/dist/detectors/proper-noun-density.d.ts.map +1 -0
  342. package/dist/detectors/proper-noun-density.js +97 -0
  343. package/dist/detectors/proper-noun-density.js.map +1 -0
  344. package/dist/detectors/quote-without-source.d.ts +6 -2
  345. package/dist/detectors/quote-without-source.d.ts.map +1 -1
  346. package/dist/detectors/quote-without-source.js +33 -8
  347. package/dist/detectors/quote-without-source.js.map +1 -1
  348. package/dist/detectors/quoted-excerpt.d.ts +13 -0
  349. package/dist/detectors/quoted-excerpt.d.ts.map +1 -0
  350. package/dist/detectors/quoted-excerpt.js +53 -0
  351. package/dist/detectors/quoted-excerpt.js.map +1 -0
  352. package/dist/detectors/reference-entry.d.ts +7 -0
  353. package/dist/detectors/reference-entry.d.ts.map +1 -0
  354. package/dist/detectors/reference-entry.js +35 -0
  355. package/dist/detectors/reference-entry.js.map +1 -0
  356. package/dist/detectors/register-neutral-shape.d.ts +5 -2
  357. package/dist/detectors/register-neutral-shape.d.ts.map +1 -1
  358. package/dist/detectors/register-neutral-shape.js +21 -4
  359. package/dist/detectors/register-neutral-shape.js.map +1 -1
  360. package/dist/detectors/register-separate-part.d.ts +7 -0
  361. package/dist/detectors/register-separate-part.d.ts.map +1 -0
  362. package/dist/detectors/register-separate-part.js +32 -0
  363. package/dist/detectors/register-separate-part.js.map +1 -0
  364. package/dist/detectors/register-set-apart.d.ts +24 -0
  365. package/dist/detectors/register-set-apart.d.ts.map +1 -0
  366. package/dist/detectors/register-set-apart.js +102 -0
  367. package/dist/detectors/register-set-apart.js.map +1 -0
  368. package/dist/detectors/register-voice.d.ts +14 -0
  369. package/dist/detectors/register-voice.d.ts.map +1 -0
  370. package/dist/detectors/register-voice.js +47 -0
  371. package/dist/detectors/register-voice.js.map +1 -0
  372. package/dist/detectors/register.d.ts +5 -0
  373. package/dist/detectors/register.d.ts.map +1 -1
  374. package/dist/detectors/register.js +13 -0
  375. package/dist/detectors/register.js.map +1 -1
  376. package/dist/detectors/registry/closing-cliche.d.ts +3 -0
  377. package/dist/detectors/registry/closing-cliche.d.ts.map +1 -0
  378. package/dist/detectors/registry/closing-cliche.js +3 -0
  379. package/dist/detectors/registry/closing-cliche.js.map +1 -0
  380. package/dist/detectors/registry/closing-exhortation.d.ts +3 -0
  381. package/dist/detectors/registry/closing-exhortation.d.ts.map +1 -0
  382. package/dist/detectors/registry/closing-exhortation.js +3 -0
  383. package/dist/detectors/registry/closing-exhortation.js.map +1 -0
  384. package/dist/detectors/registry/cold-open.d.ts +3 -0
  385. package/dist/detectors/registry/cold-open.d.ts.map +1 -0
  386. package/dist/detectors/registry/cold-open.js +3 -0
  387. package/dist/detectors/registry/cold-open.js.map +1 -0
  388. package/dist/detectors/registry/colon-lead-in.js +1 -1
  389. package/dist/detectors/registry/colon-lead-in.js.map +1 -1
  390. package/dist/detectors/registry/concrete-evidence.js +1 -1
  391. package/dist/detectors/registry/concrete-evidence.js.map +1 -1
  392. package/dist/detectors/registry/contraction-mix.js +1 -1
  393. package/dist/detectors/registry/contraction-mix.js.map +1 -1
  394. package/dist/detectors/registry/duplicate-definition.js +1 -1
  395. package/dist/detectors/registry/duplicate-definition.js.map +1 -1
  396. package/dist/detectors/registry/ngram-repetition.js +1 -1
  397. package/dist/detectors/registry/ngram-repetition.js.map +1 -1
  398. package/dist/detectors/registry/proper-noun-density.js +1 -1
  399. package/dist/detectors/registry/proper-noun-density.js.map +1 -1
  400. package/dist/detectors/registry/topic-predicate-distance.js +1 -1
  401. package/dist/detectors/registry/topic-predicate-distance.js.map +1 -1
  402. package/dist/detectors/registry/unprompted-denial.d.ts +3 -0
  403. package/dist/detectors/registry/unprompted-denial.d.ts.map +1 -0
  404. package/dist/detectors/registry/unprompted-denial.js +3 -0
  405. package/dist/detectors/registry/unprompted-denial.js.map +1 -0
  406. package/dist/detectors/reproduced-text.d.ts +5 -0
  407. package/dist/detectors/reproduced-text.d.ts.map +1 -0
  408. package/dist/detectors/reproduced-text.js +19 -0
  409. package/dist/detectors/reproduced-text.js.map +1 -0
  410. package/dist/detectors/request-owner.d.ts +2 -1
  411. package/dist/detectors/request-owner.d.ts.map +1 -1
  412. package/dist/detectors/request-owner.js +31 -7
  413. package/dist/detectors/request-owner.js.map +1 -1
  414. package/dist/detectors/requirement-smell.d.ts.map +1 -1
  415. package/dist/detectors/requirement-smell.js +16 -5
  416. package/dist/detectors/requirement-smell.js.map +1 -1
  417. package/dist/detectors/sentence-counts.d.ts +2 -1
  418. package/dist/detectors/sentence-counts.d.ts.map +1 -1
  419. package/dist/detectors/sentence-counts.js +23 -7
  420. package/dist/detectors/sentence-counts.js.map +1 -1
  421. package/dist/detectors/sentence-ending.d.ts +7 -1
  422. package/dist/detectors/sentence-ending.d.ts.map +1 -1
  423. package/dist/detectors/sentence-ending.js +47 -11
  424. package/dist/detectors/sentence-ending.js.map +1 -1
  425. package/dist/detectors/sentence-length.d.ts.map +1 -1
  426. package/dist/detectors/sentence-length.js +37 -12
  427. package/dist/detectors/sentence-length.js.map +1 -1
  428. package/dist/detectors/sentence-load.d.ts +5 -3
  429. package/dist/detectors/sentence-load.d.ts.map +1 -1
  430. package/dist/detectors/sentence-load.js +3 -5
  431. package/dist/detectors/sentence-load.js.map +1 -1
  432. package/dist/detectors/sentence-parts.d.ts +11 -0
  433. package/dist/detectors/sentence-parts.d.ts.map +1 -0
  434. package/dist/detectors/sentence-parts.js +64 -0
  435. package/dist/detectors/sentence-parts.js.map +1 -0
  436. package/dist/detectors/sentence-title.d.ts +3 -0
  437. package/dist/detectors/sentence-title.d.ts.map +1 -1
  438. package/dist/detectors/sentence-title.js +10 -0
  439. package/dist/detectors/sentence-title.js.map +1 -1
  440. package/dist/detectors/signals.d.ts +0 -2
  441. package/dist/detectors/signals.d.ts.map +1 -1
  442. package/dist/detectors/signals.js +18 -167
  443. package/dist/detectors/signals.js.map +1 -1
  444. package/dist/detectors/spelling-variety.d.ts.map +1 -1
  445. package/dist/detectors/spelling-variety.js +20 -2
  446. package/dist/detectors/spelling-variety.js.map +1 -1
  447. package/dist/detectors/structure-tree.d.ts +2 -1
  448. package/dist/detectors/structure-tree.d.ts.map +1 -1
  449. package/dist/detectors/structure-tree.js +3 -8
  450. package/dist/detectors/structure-tree.js.map +1 -1
  451. package/dist/detectors/structure.d.ts +9 -1
  452. package/dist/detectors/structure.d.ts.map +1 -1
  453. package/dist/detectors/structure.js +43 -16
  454. package/dist/detectors/structure.js.map +1 -1
  455. package/dist/detectors/superlative-clause.d.ts.map +1 -1
  456. package/dist/detectors/superlative-clause.js +19 -2
  457. package/dist/detectors/superlative-clause.js.map +1 -1
  458. package/dist/detectors/superlative-context.d.ts +35 -0
  459. package/dist/detectors/superlative-context.d.ts.map +1 -0
  460. package/dist/detectors/superlative-context.js +71 -0
  461. package/dist/detectors/superlative-context.js.map +1 -0
  462. package/dist/detectors/superlative-scope.d.ts +6 -2
  463. package/dist/detectors/superlative-scope.d.ts.map +1 -1
  464. package/dist/detectors/superlative-scope.js +20 -6
  465. package/dist/detectors/superlative-scope.js.map +1 -1
  466. package/dist/detectors/team.d.ts +0 -1
  467. package/dist/detectors/team.d.ts.map +1 -1
  468. package/dist/detectors/team.js +0 -46
  469. package/dist/detectors/team.js.map +1 -1
  470. package/dist/detectors/titled-code-citation.d.ts +12 -0
  471. package/dist/detectors/titled-code-citation.d.ts.map +1 -0
  472. package/dist/detectors/titled-code-citation.js +11 -0
  473. package/dist/detectors/titled-code-citation.js.map +1 -0
  474. package/dist/detectors/titled-run.d.ts +8 -1
  475. package/dist/detectors/titled-run.d.ts.map +1 -1
  476. package/dist/detectors/titled-run.js +14 -4
  477. package/dist/detectors/titled-run.js.map +1 -1
  478. package/dist/detectors/token-shape.d.ts.map +1 -1
  479. package/dist/detectors/token-shape.js +33 -16
  480. package/dist/detectors/token-shape.js.map +1 -1
  481. package/dist/detectors/topic-predicate-distance.d.ts +4 -0
  482. package/dist/detectors/topic-predicate-distance.d.ts.map +1 -0
  483. package/dist/detectors/topic-predicate-distance.js +22 -0
  484. package/dist/detectors/topic-predicate-distance.js.map +1 -0
  485. package/dist/detectors/undefined-term.d.ts +5 -0
  486. package/dist/detectors/undefined-term.d.ts.map +1 -1
  487. package/dist/detectors/undefined-term.js +22 -1
  488. package/dist/detectors/undefined-term.js.map +1 -1
  489. package/dist/detectors/unfilled-placeholder.d.ts.map +1 -1
  490. package/dist/detectors/unfilled-placeholder.js +15 -1
  491. package/dist/detectors/unfilled-placeholder.js.map +1 -1
  492. package/dist/detectors/unknown-word-context.d.ts +35 -0
  493. package/dist/detectors/unknown-word-context.d.ts.map +1 -0
  494. package/dist/detectors/unknown-word-context.js +100 -0
  495. package/dist/detectors/unknown-word-context.js.map +1 -0
  496. package/dist/detectors/unknown-word.d.ts +0 -5
  497. package/dist/detectors/unknown-word.d.ts.map +1 -1
  498. package/dist/detectors/unknown-word.js +17 -19
  499. package/dist/detectors/unknown-word.js.map +1 -1
  500. package/dist/detectors/unprompted-denial.d.ts +25 -0
  501. package/dist/detectors/unprompted-denial.d.ts.map +1 -0
  502. package/dist/detectors/unprompted-denial.js +100 -0
  503. package/dist/detectors/unprompted-denial.js.map +1 -0
  504. package/dist/document-sections.d.ts.map +1 -1
  505. package/dist/document-sections.js +3 -1
  506. package/dist/document-sections.js.map +1 -1
  507. package/dist/fix-plan/all-signs.d.ts +17 -0
  508. package/dist/fix-plan/all-signs.d.ts.map +1 -0
  509. package/dist/fix-plan/all-signs.js +26 -0
  510. package/dist/fix-plan/all-signs.js.map +1 -0
  511. package/dist/fix-plan/plan.d.ts +31 -0
  512. package/dist/fix-plan/plan.d.ts.map +1 -1
  513. package/dist/fix-plan/plan.js +23 -3
  514. package/dist/fix-plan/plan.js.map +1 -1
  515. package/dist/fix-plan/render.d.ts.map +1 -1
  516. package/dist/fix-plan/render.js +31 -2
  517. package/dist/fix-plan/render.js.map +1 -1
  518. package/dist/fix-plan/risen.d.ts +10 -0
  519. package/dist/fix-plan/risen.d.ts.map +1 -0
  520. package/dist/fix-plan/risen.js +7 -0
  521. package/dist/fix-plan/risen.js.map +1 -0
  522. package/dist/fix-plan/text.d.ts +15 -0
  523. package/dist/fix-plan/text.d.ts.map +1 -1
  524. package/dist/fix-plan/text.js +38 -2
  525. package/dist/fix-plan/text.js.map +1 -1
  526. package/dist/heading-numbering.d.ts +2 -1
  527. package/dist/heading-numbering.d.ts.map +1 -1
  528. package/dist/heading-numbering.js +40 -10
  529. package/dist/heading-numbering.js.map +1 -1
  530. package/dist/html/html-site-chrome.d.ts.map +1 -1
  531. package/dist/html/html-site-chrome.js +7 -2
  532. package/dist/html/html-site-chrome.js.map +1 -1
  533. package/dist/latin-spacing-source.d.ts +12 -0
  534. package/dist/latin-spacing-source.d.ts.map +1 -0
  535. package/dist/latin-spacing-source.js +25 -0
  536. package/dist/latin-spacing-source.js.map +1 -0
  537. package/dist/law-title.d.ts +7 -0
  538. package/dist/law-title.d.ts.map +1 -0
  539. package/dist/law-title.js +29 -0
  540. package/dist/law-title.js.map +1 -0
  541. package/dist/name-ending-run.d.ts +11 -0
  542. package/dist/name-ending-run.d.ts.map +1 -0
  543. package/dist/name-ending-run.js +37 -0
  544. package/dist/name-ending-run.js.map +1 -0
  545. package/dist/name-separator.d.ts.map +1 -1
  546. package/dist/name-separator.js +4 -1
  547. package/dist/name-separator.js.map +1 -1
  548. package/dist/name-title-slip.d.ts +11 -0
  549. package/dist/name-title-slip.d.ts.map +1 -0
  550. package/dist/name-title-slip.js +51 -0
  551. package/dist/name-title-slip.js.map +1 -0
  552. package/dist/name-variant-shapes.d.ts +14 -0
  553. package/dist/name-variant-shapes.d.ts.map +1 -0
  554. package/dist/name-variant-shapes.js +43 -0
  555. package/dist/name-variant-shapes.js.map +1 -0
  556. package/dist/name-word-use.d.ts +5 -0
  557. package/dist/name-word-use.d.ts.map +1 -0
  558. package/dist/name-word-use.js +12 -0
  559. package/dist/name-word-use.js.map +1 -0
  560. package/dist/opening-passage.d.ts +8 -0
  561. package/dist/opening-passage.d.ts.map +1 -0
  562. package/dist/opening-passage.js +24 -0
  563. package/dist/opening-passage.js.map +1 -0
  564. package/dist/paragraph-length.d.ts +14 -0
  565. package/dist/paragraph-length.d.ts.map +1 -1
  566. package/dist/paragraph-length.js +25 -0
  567. package/dist/paragraph-length.js.map +1 -1
  568. package/dist/paragraph-runs.d.ts +2 -2
  569. package/dist/paragraph-runs.d.ts.map +1 -1
  570. package/dist/paragraph-runs.js +65 -14
  571. package/dist/paragraph-runs.js.map +1 -1
  572. package/dist/plugin.d.ts +2 -0
  573. package/dist/plugin.d.ts.map +1 -1
  574. package/dist/quote-echo.d.ts +6 -0
  575. package/dist/quote-echo.d.ts.map +1 -0
  576. package/dist/quote-echo.js +14 -0
  577. package/dist/quote-echo.js.map +1 -0
  578. package/dist/quote-gloss.d.ts +4 -0
  579. package/dist/quote-gloss.d.ts.map +1 -0
  580. package/dist/quote-gloss.js +7 -0
  581. package/dist/quote-gloss.js.map +1 -0
  582. package/dist/quoted-spelling.d.ts +17 -0
  583. package/dist/quoted-spelling.d.ts.map +1 -0
  584. package/dist/quoted-spelling.js +27 -0
  585. package/dist/quoted-spelling.js.map +1 -0
  586. package/dist/render/semantic.d.ts +1 -1
  587. package/dist/render/semantic.d.ts.map +1 -1
  588. package/dist/render/semantic.js +2 -1
  589. package/dist/render/semantic.js.map +1 -1
  590. package/dist/rule-of-three.d.ts +19 -0
  591. package/dist/rule-of-three.d.ts.map +1 -0
  592. package/dist/rule-of-three.js +33 -0
  593. package/dist/rule-of-three.js.map +1 -0
  594. package/dist/run-semantic.d.ts.map +1 -1
  595. package/dist/run-semantic.js +2 -2
  596. package/dist/run-semantic.js.map +1 -1
  597. package/dist/section-levels.d.ts +18 -0
  598. package/dist/section-levels.d.ts.map +1 -0
  599. package/dist/section-levels.js +80 -0
  600. package/dist/section-levels.js.map +1 -0
  601. package/dist/semantic.d.ts +2 -0
  602. package/dist/semantic.d.ts.map +1 -1
  603. package/dist/semantic.js +15 -2
  604. package/dist/semantic.js.map +1 -1
  605. package/dist/sentence-load.d.ts +2 -1
  606. package/dist/sentence-load.d.ts.map +1 -1
  607. package/dist/sentence-load.js +4 -2
  608. package/dist/sentence-load.js.map +1 -1
  609. package/dist/set-phrase-particles.d.ts +4 -0
  610. package/dist/set-phrase-particles.d.ts.map +1 -0
  611. package/dist/set-phrase-particles.js +26 -0
  612. package/dist/set-phrase-particles.js.map +1 -0
  613. package/dist/spelling.d.ts +11 -0
  614. package/dist/spelling.d.ts.map +1 -1
  615. package/dist/spelling.js +19 -5
  616. package/dist/spelling.js.map +1 -1
  617. package/dist/structure/alternative-clause.d.ts +7 -0
  618. package/dist/structure/alternative-clause.d.ts.map +1 -1
  619. package/dist/structure/alternative-clause.js +23 -8
  620. package/dist/structure/alternative-clause.js.map +1 -1
  621. package/dist/structure/cited-document-section.d.ts +2 -0
  622. package/dist/structure/cited-document-section.d.ts.map +1 -1
  623. package/dist/structure/cited-document-section.js +23 -1
  624. package/dist/structure/cited-document-section.js.map +1 -1
  625. package/dist/structure/issues.d.ts +4 -2
  626. package/dist/structure/issues.d.ts.map +1 -1
  627. package/dist/structure/issues.js +17 -9
  628. package/dist/structure/issues.js.map +1 -1
  629. package/dist/structure/numbering.d.ts +10 -1
  630. package/dist/structure/numbering.d.ts.map +1 -1
  631. package/dist/structure/numbering.js +41 -4
  632. package/dist/structure/numbering.js.map +1 -1
  633. package/dist/structure/unread-label.d.ts +13 -0
  634. package/dist/structure/unread-label.d.ts.map +1 -0
  635. package/dist/structure/unread-label.js +70 -0
  636. package/dist/structure/unread-label.js.map +1 -0
  637. package/dist/structure-shape/template-outline.d.ts +11 -0
  638. package/dist/structure-shape/template-outline.d.ts.map +1 -0
  639. package/dist/structure-shape/template-outline.js +25 -0
  640. package/dist/structure-shape/template-outline.js.map +1 -0
  641. package/dist/title-case-name.d.ts +12 -0
  642. package/dist/title-case-name.d.ts.map +1 -0
  643. package/dist/title-case-name.js +37 -0
  644. package/dist/title-case-name.js.map +1 -0
  645. package/dist/topic-clause.d.ts +6 -1
  646. package/dist/topic-clause.d.ts.map +1 -1
  647. package/dist/topic-clause.js +90 -3
  648. package/dist/topic-clause.js.map +1 -1
  649. package/dist/word-use.d.ts +12 -4
  650. package/dist/word-use.d.ts.map +1 -1
  651. package/dist/word-use.js +47 -5
  652. package/dist/word-use.js.map +1 -1
  653. package/package.json +4 -3
  654. package/rules/ai-generated-composite.yaml +12 -3
  655. package/rules/ai-structure.yaml +7 -6
  656. package/rules/ai-tell.yaml +10 -6
  657. package/rules/all-caps-shouting.yaml +2 -2
  658. package/rules/bold-emphasis.yaml +5 -4
  659. package/rules/bold-label-list.yaml +6 -6
  660. package/rules/closing-cliche.yaml +4 -5
  661. package/rules/closing-exhortation.yaml +74 -0
  662. package/rules/cold-open.yaml +95 -0
  663. package/rules/colon-lead-in.yaml +68 -10
  664. package/rules/comparative-without-baseline.yaml +2 -2
  665. package/rules/concrete-evidence-density.yaml +2 -2
  666. package/rules/contraction-consistency.yaml +2 -2
  667. package/rules/contrast-framing.yaml +16 -13
  668. package/rules/dangling-reference.yaml +2 -2
  669. package/rules/date-format-consistency.yaml +2 -2
  670. package/rules/duplicate-definition.yaml +2 -2
  671. package/rules/duplicate-heading.yaml +5 -2
  672. package/rules/email-greeting-closing.yaml +2 -2
  673. package/rules/email-stock-courtesy.yaml +62 -0
  674. package/rules/fullwidth-alnum-consistency.yaml +2 -2
  675. package/rules/generic-opening.yaml +63 -0
  676. package/rules/heading-level-skip.yaml +2 -2
  677. package/rules/heading-numbering-mix.yaml +20 -20
  678. package/rules/honesty-marker.yaml +84 -0
  679. package/rules/hyphen-as-dash.yaml +2 -2
  680. package/rules/kutoten-consistency.yaml +4 -4
  681. package/rules/latin-spacing.yaml +6 -4
  682. package/rules/list-item-form-mix.yaml +2 -2
  683. package/rules/max-kanji-continuous.yaml +7 -3
  684. package/rules/max-paragraph-length.yaml +2 -2
  685. package/rules/max-sentence-length.yaml +6 -2
  686. package/rules/missing-final-period.yaml +2 -2
  687. package/rules/name-variant.yaml +5 -2
  688. package/rules/ngram-repetition.yaml +2 -2
  689. package/rules/no-doubled-joshi.yaml +2 -2
  690. package/rules/no-em-dash.yaml +2 -2
  691. package/rules/no-mixed-desumasu.yaml +16 -3
  692. package/rules/nominalization.yaml +1 -1
  693. package/rules/numbering-gap.yaml +2 -2
  694. package/rules/one-sentence-paragraph-run.yaml +2 -2
  695. package/rules/orthographic-variant.yaml +2 -2
  696. package/rules/over-general-claim.yaml +2 -2
  697. package/rules/oxford-comma-consistency.yaml +15 -3
  698. package/rules/proper-noun-density.yaml +14 -7
  699. package/rules/quote-without-source.yaml +2 -2
  700. package/rules/request-without-deadline.yaml +2 -2
  701. package/rules/requirement-smell.yaml +2 -2
  702. package/rules/rule-of-three.yaml +3 -3
  703. package/rules/section-length-uniformity.yaml +2 -2
  704. package/rules/spelling-consistency.yaml +4 -4
  705. package/rules/teki-overuse.yaml +2 -2
  706. package/rules/topic-predicate-distance.yaml +3 -2
  707. package/rules/undefined-acronym.yaml +9 -2
  708. package/rules/undefined-term.yaml +2 -2
  709. package/rules/unfilled-placeholder.yaml +2 -2
  710. package/rules/unknown-word.yaml +2 -2
  711. package/rules/unprompted-denial.yaml +88 -0
  712. package/rules/unqualified-superlative.yaml +8 -2
  713. package/skills/chaff/SKILL.md +39 -6
  714. package/src/acronym-expansion.ts +57 -0
  715. package/src/ai-score/human-shares.ts +54 -12
  716. package/src/ai-score/of-document.ts +5 -2
  717. package/src/alternative-words.ts +15 -0
  718. package/src/body-section.ts +11 -2
  719. package/src/capitals-with-small.ts +16 -0
  720. package/src/checks.ts +32 -1
  721. package/src/cli-args.ts +1 -1
  722. package/src/cli-text.ts +4 -0
  723. package/src/closing-code.ts +21 -0
  724. package/src/commands/fix-plan.ts +72 -5
  725. package/src/commands/test.ts +18 -2
  726. package/src/date-format.ts +54 -7
  727. package/src/detectors/acronym-context.ts +23 -4
  728. package/src/detectors/acronym-expansion.ts +26 -0
  729. package/src/detectors/acronym-gloss.ts +123 -0
  730. package/src/detectors/acronym-mention.ts +17 -0
  731. package/src/detectors/acronym-name.ts +40 -3
  732. package/src/detectors/acronym-series.ts +27 -0
  733. package/src/detectors/ai-phrasing.ts +18 -17
  734. package/src/detectors/ai-structure.ts +23 -6
  735. package/src/detectors/alnum-number.ts +8 -3
  736. package/src/detectors/bare-comparative.ts +41 -13
  737. package/src/detectors/blank-runs.ts +30 -0
  738. package/src/detectors/bold-emphasis-form.ts +58 -0
  739. package/src/detectors/bold-emphasis.ts +16 -17
  740. package/src/detectors/bold-label.ts +22 -6
  741. package/src/detectors/capitalised-term.ts +36 -9
  742. package/src/detectors/caps-caption.ts +24 -2
  743. package/src/detectors/char-shape.ts +118 -29
  744. package/src/detectors/chat-log-line.ts +17 -0
  745. package/src/detectors/citation-string.ts +93 -0
  746. package/src/detectors/closing-cliche.ts +74 -0
  747. package/src/detectors/closing-exhortation.ts +74 -0
  748. package/src/detectors/cold-open.ts +145 -0
  749. package/src/detectors/comparative-context.ts +74 -0
  750. package/src/detectors/concrete-evidence-density.ts +99 -0
  751. package/src/detectors/concrete-evidence.ts +40 -0
  752. package/src/detectors/contraction-emphasis.ts +46 -0
  753. package/src/detectors/contraction-mention.ts +52 -6
  754. package/src/detectors/contraction-mix.ts +94 -0
  755. package/src/detectors/contrast-frame.ts +65 -7
  756. package/src/detectors/coordinate-adjective.ts +4 -2
  757. package/src/detectors/date-format.ts +18 -2
  758. package/src/detectors/duplicate-definition.ts +21 -0
  759. package/src/detectors/duplicate-heading.ts +44 -15
  760. package/src/detectors/email-frame-words.ts +39 -0
  761. package/src/detectors/email-letter.ts +15 -20
  762. package/src/detectors/final-period-captions.ts +78 -0
  763. package/src/detectors/fullwidth-alnum.ts +24 -4
  764. package/src/detectors/gram-furniture.ts +87 -1
  765. package/src/detectors/gram-openers.ts +71 -0
  766. package/src/detectors/gram-predicate.ts +49 -6
  767. package/src/detectors/gram-repetition.ts +199 -0
  768. package/src/detectors/heading-level-skip.ts +31 -1
  769. package/src/detectors/heading-numbering.ts +2 -2
  770. package/src/detectors/heading-sentences.ts +36 -0
  771. package/src/detectors/hyphen-copied-text.ts +65 -0
  772. package/src/detectors/kanji-name-edge.ts +31 -0
  773. package/src/detectors/kanji-run-pieces.ts +26 -0
  774. package/src/detectors/kutoten-consistency.ts +24 -4
  775. package/src/detectors/lead-in-dash.ts +11 -0
  776. package/src/detectors/letter-joined-name.ts +14 -0
  777. package/src/detectors/lexicon.ts +20 -63
  778. package/src/detectors/list-item.ts +37 -1
  779. package/src/detectors/list-items.ts +4 -1
  780. package/src/detectors/list-joint.ts +44 -0
  781. package/src/detectors/list-layout.ts +39 -0
  782. package/src/detectors/list-lead-in.ts +88 -7
  783. package/src/detectors/list-parallel.ts +119 -13
  784. package/src/detectors/list-run.ts +86 -0
  785. package/src/detectors/list-sentence.ts +11 -0
  786. package/src/detectors/mark-shape.ts +12 -7
  787. package/src/detectors/missing-final-period.ts +9 -1
  788. package/src/detectors/name-run.ts +2 -1
  789. package/src/detectors/name-variant-two-things.ts +136 -0
  790. package/src/detectors/name-variant.ts +14 -19
  791. package/src/detectors/numbering-readings.ts +10 -2
  792. package/src/detectors/open-end-anaphor.ts +31 -0
  793. package/src/detectors/open-end-lead.ts +46 -0
  794. package/src/detectors/open-end-scope.ts +8 -1
  795. package/src/detectors/ordinal-run-gaps.ts +1 -1
  796. package/src/detectors/organisation-run.ts +26 -2
  797. package/src/detectors/orthographic-variant-open.ts +124 -0
  798. package/src/detectors/orthographic-variant.ts +82 -82
  799. package/src/detectors/orthography.ts +20 -7
  800. package/src/detectors/over-general-claim.ts +106 -5
  801. package/src/detectors/oxford-comma.ts +68 -28
  802. package/src/detectors/particle-run-names.ts +17 -0
  803. package/src/detectors/placeholder-text.ts +21 -4
  804. package/src/detectors/proper-noun-density.ts +109 -0
  805. package/src/detectors/quote-without-source.ts +52 -10
  806. package/src/detectors/quoted-excerpt.ts +68 -0
  807. package/src/detectors/reference-entry.ts +42 -0
  808. package/src/detectors/register-neutral-shape.ts +26 -6
  809. package/src/detectors/register-separate-part.ts +42 -0
  810. package/src/detectors/register-set-apart.ts +124 -0
  811. package/src/detectors/register-voice.ts +63 -0
  812. package/src/detectors/register.ts +15 -0
  813. package/src/detectors/registry/closing-cliche.ts +4 -0
  814. package/src/detectors/registry/closing-exhortation.ts +4 -0
  815. package/src/detectors/registry/cold-open.ts +4 -0
  816. package/src/detectors/registry/colon-lead-in.ts +1 -1
  817. package/src/detectors/registry/concrete-evidence.ts +1 -1
  818. package/src/detectors/registry/contraction-mix.ts +1 -1
  819. package/src/detectors/registry/duplicate-definition.ts +1 -1
  820. package/src/detectors/registry/ngram-repetition.ts +1 -1
  821. package/src/detectors/registry/proper-noun-density.ts +1 -1
  822. package/src/detectors/registry/topic-predicate-distance.ts +1 -1
  823. package/src/detectors/registry/unprompted-denial.ts +4 -0
  824. package/src/detectors/reproduced-text.ts +33 -0
  825. package/src/detectors/request-owner.ts +31 -8
  826. package/src/detectors/requirement-smell.ts +21 -5
  827. package/src/detectors/sentence-counts.ts +27 -7
  828. package/src/detectors/sentence-ending.ts +66 -14
  829. package/src/detectors/sentence-length.ts +43 -11
  830. package/src/detectors/sentence-load.ts +3 -6
  831. package/src/detectors/sentence-parts.ts +73 -0
  832. package/src/detectors/sentence-title.ts +14 -0
  833. package/src/detectors/signals.ts +20 -202
  834. package/src/detectors/spelling-variety.ts +26 -2
  835. package/src/detectors/structure-tree.ts +5 -9
  836. package/src/detectors/structure.ts +47 -19
  837. package/src/detectors/superlative-clause.ts +21 -2
  838. package/src/detectors/superlative-context.ts +99 -0
  839. package/src/detectors/superlative-scope.ts +27 -9
  840. package/src/detectors/team.ts +1 -50
  841. package/src/detectors/titled-code-citation.ts +19 -0
  842. package/src/detectors/titled-run.ts +22 -5
  843. package/src/detectors/token-shape.ts +40 -18
  844. package/src/detectors/topic-predicate-distance.ts +25 -0
  845. package/src/detectors/undefined-term.ts +26 -1
  846. package/src/detectors/unfilled-placeholder.ts +20 -2
  847. package/src/detectors/unknown-word-context.ts +129 -0
  848. package/src/detectors/unknown-word.ts +29 -20
  849. package/src/detectors/unprompted-denial.ts +133 -0
  850. package/src/document-sections.ts +3 -1
  851. package/src/fix-plan/all-signs.ts +35 -0
  852. package/src/fix-plan/plan.ts +50 -3
  853. package/src/fix-plan/render.ts +41 -3
  854. package/src/fix-plan/risen.ts +13 -0
  855. package/src/fix-plan/text.ts +56 -2
  856. package/src/heading-numbering.ts +44 -10
  857. package/src/html/html-site-chrome.ts +9 -2
  858. package/src/latin-spacing-source.ts +33 -0
  859. package/src/law-title.ts +38 -0
  860. package/src/name-ending-run.ts +49 -0
  861. package/src/name-separator.ts +4 -1
  862. package/src/name-title-slip.ts +59 -0
  863. package/src/name-variant-shapes.ts +58 -0
  864. package/src/name-word-use.ts +17 -0
  865. package/src/opening-passage.ts +31 -0
  866. package/src/paragraph-length.ts +31 -0
  867. package/src/paragraph-runs.ts +71 -13
  868. package/src/plugin.ts +2 -0
  869. package/src/quote-echo.ts +18 -0
  870. package/src/quote-gloss.ts +11 -0
  871. package/src/quoted-spelling.ts +48 -0
  872. package/src/render/semantic.ts +2 -2
  873. package/src/rule-of-three.ts +50 -0
  874. package/src/run-semantic.ts +2 -2
  875. package/src/section-levels.ts +98 -0
  876. package/src/semantic.ts +16 -3
  877. package/src/sentence-load.ts +5 -3
  878. package/src/set-phrase-particles.ts +32 -0
  879. package/src/spelling.ts +37 -7
  880. package/src/structure/alternative-clause.ts +32 -7
  881. package/src/structure/cited-document-section.ts +24 -1
  882. package/src/structure/issues.ts +29 -10
  883. package/src/structure/numbering.ts +50 -3
  884. package/src/structure/unread-label.ts +74 -0
  885. package/src/structure-shape/template-outline.ts +34 -0
  886. package/src/title-case-name.ts +55 -0
  887. package/src/topic-clause.ts +110 -5
  888. package/src/word-use.ts +57 -6
  889. package/dist/legal-address.d.ts +0 -2
  890. package/dist/legal-address.d.ts.map +0 -1
  891. package/dist/legal-address.js +0 -16
  892. package/dist/legal-address.js.map +0 -1
@@ -4,7 +4,8 @@ status: stable
4
4
  how_to_find: contrast-framing
5
5
  word_list: contrast-frame
6
6
  # 打ち消し(it's not)と、それを返す語(it's、but)。後ろに返しが来たときだけ対比の枠になる。
7
- extra_word_lists: [contrast-lead, contrast-turn]
7
+ # contrast-amount は枠の隣で量を言う語(not just one)。量を言う枠は X を打ち消していない。
8
+ extra_word_lists: [contrast-lead, contrast-turn, contrast-amount]
8
9
  uses: [pos]
9
10
  severity: info
10
11
 
@@ -17,17 +18,19 @@ why:
17
18
  en: '"It''s not X, it''s Y" and "not just X, but Y" sort out a point when used once. Piled up, the text keeps knocking down an X nobody said, a habit well known in generated text.'
18
19
 
19
20
  message:
20
- ja: 「{matched}」など、対比の枠が 1000 字あたり {density} 個あります({limit} 個まで)
21
- en: '"{matched}" and other contrast frames: {density} per 1000 words (limit {limit})'
21
+ ja: 「{matched}」など、対比の枠で書いた文が {share}% あります({limit}% まで)
22
+ en: '"{matched}" and other contrast frames: {share}% of sentences (limit {limit}%)'
22
23
 
23
24
  how_to_fix:
24
25
  ja: 打ち消した側(X)を消して、言いたいこと(Y)だけを書いてください。
25
26
  en: Drop the X you knocked down and say Y directly.
26
27
 
27
- # 1000 語(日本語は 1000 字)あたりの数。
28
- levels:
29
- ja: { strict: 1, normal: 1.5, relaxed: 3 }
30
- en: { strict: 2, normal: 3, relaxed: 6 }
28
+ # 文書の文のうち、対比の枠で書いた文の割合(%)。枠が二つ以上ある文書だけを測る。
29
+ levels: { strict: 4, normal: 6, relaxed: 9 }
30
+
31
+ # エッセイは chaff-corpus の判定で測った。人のエッセイは枠が三つでもこの割合に届かず、生成のエッセイは二つで超えた。
32
+ by_genre:
33
+ blog/essay: { strict: 4, normal: 4.8, relaxed: 7 }
31
34
 
32
35
  use_for: [technical/readme, blog, business, legal, docs, academic, literature, speech]
33
36
  off_for:
@@ -44,22 +47,22 @@ example:
44
47
  ja:
45
48
  pad: true
46
49
  before: |
47
- この仕組みは単なる道具ではなく、チームの文化です。速さだけでなく、安心も届けます。
50
+ この仕組みは単なる道具ではなく、チームの文化です。速さだけでなく、安心も届けます。問題はツールではなく、運用です。
48
51
  after: |
49
52
  この仕組みで、見積もりの作成が一件あたり十分短くなりました。
50
53
  en:
51
54
  pad: true
52
55
  before: |
53
- This tool is not just software, but a culture. It's not a feature. It's a promise.
56
+ This tool is not just software, but a culture. It's not a feature. It's a promise. We didn't build it for speed. It exists for trust.
54
57
  after: |
55
58
  This tool cut the time to draft a quote by ten minutes.
56
59
 
57
60
  not_flagged:
58
- ja: 一つだけの対比、打ち消しを返していない「単なる」(「単なる設定ミスです」)、「A ではなく B です」だけの文、続けて並べた打ち消し(「まだです。まだ試していません。」)は指しません。短い文書は測りません。
59
- en: A single contrast, a denial nobody answers, and two denials in a row ("It's not ready. It's not tested.") are not reported. Short documents are not measured.
61
+ ja: 一つだけの対比、打ち消しを返していない「単なる」(「単なる設定ミスです」)、読点の無い「A ではなく B」やますで閉じる文(「紙ではなく、画面で確認します」)、続けて並べた打ち消し(「まだです。まだ試していません。」)、量を言う枠(「一杯だけでなく、二杯目も」)は指しません。短い文書は測りません。
62
+ en: A single contrast, a denial nobody answers ("I don't know. We will see."), a denial followed by another ("It wasn't ready. It wasn't tested."), a denial answered later in the same sentence by "it" or "they", a plain denial followed by a concession or a remark ("I don't always. But it takes ten minutes.", "That's more than I expected."), and a frame that counts an amount ("not just one coffee") are not reported. Short documents are not measured.
60
63
  level_meaning:
61
- ja: 1000 字あたり対比の枠 {limit} 個まで
62
- en: up to {limit} contrast frames per 1000 words
64
+ ja: 対比の枠で書いた文が {limit}% まで
65
+ en: up to {limit}% of sentences in contrast frames
63
66
  rewrite:
64
67
  depth: light
65
68
  ja:
@@ -78,5 +78,5 @@ example:
78
78
  Holidays follow the rota that the company publishes each month.
79
79
 
80
80
  not_flagged:
81
- ja: 「法第2条」「就業規則 第25条」のように、ほかの文書の条を指す参照は探しません。ほかの文書の名前を見出しにして引き写した条の中の参照も、その文書の条です。条の下に「1. 」「2.」の箇条書きで書いた項は、項として引きます。条で番号を振っていない文書では、条で数える参照を見ません。見出しに番号だけを振った論文(「2 方法」)が、ほかの文書の条として名指しした書き方(「Article 14 of the Act」)で書いた参照は、その書き方の参照の多くが文書の中に行き先を持たなければ、その文書の条として探しません。平文の契約が「9. Indemnification.」と本文の形で書いた見出しや、本文の中に書いた「(i)」も、参照の行き先として引きます。「section 21 notice」のように番号を手続きの名前にした書き方は、ほかの法律の番号として探しません。「section 552(b)(1) of title 5」のように法典の編(title)の番号を添えた参照も、その法典の条として探しません。法令の注記が法律の番号や載った巻と頁で引いた条(「Pub. L. 98–620, §402(2)」「§2(a), 60 Stat. 237」)も、その法律の条として探しません。法典の一つの条だけの文書が「section 552 of this title」と自分の入っている編・章(title、chapter など)で引いた条は、文書にその編・章の見出しが無ければ法典の条として探しません。
82
- en: References into another document ("Article 2 of the Act") are not looked up, nor are references inside a section whose heading is the name of a document cited elsewhere in the text, which quotes that document. A paragraph written as a list ("1. ", "2. ") under an article counts as that article's paragraph. A document that numbers none of its provisions as articles is not checked for article references. In a paper whose headings carry bare numbers ("2 Methods"), references written the way it names another document's units ("Article 14 of the Act") are that document's when most of them point nowhere in the paper. A plain-text contract's headings written as text ("9. Indemnification.", "Section 2.3 Appraisal Shares.") and the labels written inside a section's text ("(i)") count as addresses. A section number used as a name ("a section 21 notice") points into another Act and is not looked up. A section cited with the number of a code's title ("section 552(b)(1) of title 5, United States Code") is that code's, and is not looked up. A section that a statute's notes cite with a law's number or with the volume and page that print it ("Pub. L. 98–620, §402(2)", "§2(a), 60 Stat. 237") is that law's, and is not looked up. A section cited with the unit the document sits in ("section 552 of this title", "of this subchapter") is the code's when the document has no heading for that unit, and is not looked up.
81
+ ja: 「法第2条」「就業規則 第25条」のように、ほかの文書の条を指す参照は探しません。ほかの文書の名前を見出しにして引き写した条の中の参照も、その文書の条です。条の下に「1. 」「2.」の箇条書きで書いた項は、項として引きます。条で番号を振っていない文書では、条で数える参照を見ません。見出しに番号だけを振った論文(「2 方法」)が、ほかの文書の条として名指しした書き方(「Article 14 of the Act」)で書いた参照は、その書き方の参照の多くが文書の中に行き先を持たなければ、その文書の条として探しません。平文の契約が「9. Indemnification.」と本文の形で書いた見出しや、本文の中に書いた「(i)」も、参照の行き先として引きます。「section 21 notice」のように番号を手続きの名前にした書き方は、ほかの法律の番号として探しません。「section 552(b)(1) of title 5」のように法典の編(title)の番号を添えた参照も、その法典の条として探しません。法令の注記が法律の番号や載った巻と頁で引いた条(「Pub. L. 98–620, §402(2)」「§2(a), 60 Stat. 237」)も、その法律の条として探しません。法典の一つの条だけの文書が「section 552 of this title」と自分の入っている編・章(title、chapter など)で引いた条は、文書にその編・章の見出しが無ければ法典の条として探しません。「chapter 15 (§401 et seq.) of Title 50」のように編の番号で引いた条からの続きも、その法典の条です。判決が段落や注の頭に書いた法律の条(「§ 331, 7 U.S.C. § 1331.」「Section 9(c) is brief…」)は見出しではないので、条を立てない判決の参照は探しません。文献一覧の項目の中の番号(「pp. Article 81」)は引いた著作のものです。他の文書の名前に略称や注記を添えた見出し(「…に関する法律(特例法)」「<抜粋>」)の下に引き写した条の参照も、その文書の条です。ひな形が選択肢ごとに書いた「第1条1項(オプション1:…)」は第1条の見出しとして引きます。
82
+ en: References into another document ("Article 2 of the Act") are not looked up, nor are references inside a section whose heading is the name of a document cited elsewhere in the text, which quotes that document. A paragraph written as a list ("1. ", "2. ") under an article counts as that article's paragraph. A document that numbers none of its provisions as articles is not checked for article references. In a paper whose headings carry bare numbers ("2 Methods"), references written the way it names another document's units ("Article 14 of the Act") are that document's when most of them point nowhere in the paper. A plain-text contract's headings written as text ("9. Indemnification.", "Section 2.3 Appraisal Shares.") and the labels written inside a section's text ("(i)") count as addresses. A section number used as a name ("a section 21 notice") points into another Act and is not looked up. A section cited with the number of a code's title ("section 552(b)(1) of title 5, United States Code") is that code's, and is not looked up. A section that a statute's notes cite with a law's number or with the volume and page that print it ("Pub. L. 98–620, §402(2)", "§2(a), 60 Stat. 237") is that law's, and is not looked up. A section cited with the unit the document sits in ("section 552 of this title", "of this subchapter") is the code's when the document has no heading for that unit, and is not looked up. Sections from one on, cited with a code's title ("chapter 15 (§401 et seq.) of Title 50"), are the code's too. An opinion's paragraph or footnote that opens with a statute's section ("§ 331, 7 U.S.C. § 1331.", "Section 9(c) is brief…") is not a heading, so an opinion with no headings of its own is not checked. A number inside an entry of a reference list ("pp. Article 81") belongs to the work it cites. A section copied under a heading that is another document's name with its short name or a note added ("… Act (the Special Act)", "<excerpt>") quotes that document. A model contract's heading written per option, 「第1条1項(オプション1:…)」, is the heading of Article 1.
@@ -53,8 +53,8 @@ example:
53
53
  Registration opens on October 2, 2026 and closes on October 9, 2026. Results are sent on October 16, 2026.
54
54
 
55
55
  not_flagged:
56
- ja: 年だけ、月日だけの日付、URL や版の中の数(/2026/10/02/、1.2026.10)、コードの中の日付は比べません。少ないほうが全体の三分の一を超える文書は、二つの書き方を使い分けている(表は 2026-10-02、本文は 2026年10月2日)と読んで指しません。いちばん多い書き方が同じ数で並ぶときも指しません。
57
- en: Year-only and month-day dates, numbers inside URLs and versions (/2026/10/02/, 1.2026.10), and dates in code are not compared. When the minority is more than a third of the dates, the document is taken to use two styles on purpose (ISO in tables, long dates in prose) and nothing is reported, nor when the two commonest styles are tied.
56
+ ja: 年だけ、月日だけの日付、URL や版の中の数(/2026/10/02/、1.2026.10)、コードの中の日付は比べません。文献一覧と番号の付いた注の並びの中の日付(引いた文書の題の中の日付、参照日)も比べません。ページの更新日の刻印([更新日 2021年10月1日])と、題のすぐ下の日付だけの行は、本文とは別に比べます。少ないほうが全体の三分の一を超える文書は、二つの書き方を使い分けている(表は 2026-10-02、本文は 2026年10月2日)と読んで指しません。いちばん多い書き方が同じ数で並ぶときも指しません。
57
+ en: Year-only and month-day dates, numbers inside URLs and versions (/2026/10/02/, 1.2026.10), and dates in code are not compared, nor are dates in a reference list or a run of numbered notes (dates in cited titles, access dates). A page's update stamp ([Updated 2021-10-01]) and a line holding only a date right under the title are compared apart from the body. When the minority is more than a third of the dates, the document is taken to use two styles on purpose (ISO in tables, long dates in prose) and nothing is reported, nor when the two commonest styles are tied.
58
58
  level_meaning:
59
59
  ja: 少ないほうの書き方の日付が全体の {limit}% 以下なら指摘
60
60
  en: reported while the minority style is {limit}% of the dates or less
@@ -82,5 +82,5 @@ example:
82
82
  Users may use the Service free of charge.
83
83
 
84
84
  not_flagged:
85
- ja: 二つの定義が食い違っているかは決めません。二つ目を指すだけです。語を名前にした見出しは定義に数えません。英語で、括弧に引用符だけで入れた語句のうち、名前らしく大文字で始めていない語を含むもの(("The key point is"))は、例を引いたものとして定義に数えません。添付した文書(前後を空行に挟まれた「Exhibit A to Merger Agreement」のような題の行、または「## **SCHEDULE B**」のような見出しから後ろ)は別の文書なので、その中の定義は、本文の定義とは比べず、添付した文書の中でだけ比べます。同じ名前の後ろの括弧で同じ語を定義し直したもの(件名と本文の両方にある Financial Crimes Enforcement Network ("FinCEN")、引いた別の文書の題の中の定義)は、一つの定義を書き直しただけなので指しません。
86
- en: 'Whether the two definitions conflict is not decided; only the second is pointed at. A heading that names the term is not a definition. In English, a phrase quoted alone in brackets with a word a name would capitalise left in lower case ("The key point is") quotes an example, and is not a definition. An attached instrument (from a title line such as "Exhibit A to Merger Agreement" between blank lines, or a heading such as "## **SCHEDULE B**") is a separate document: its definitions are compared only with each other, not with those of the body. A term defined again in brackets after the same capitalised name (Financial Crimes Enforcement Network ("FinCEN") in both the subject line and the body, or in the quoted title of another letter) restates one definition, and is not reported.'
85
+ ja: 二つの定義が食い違っているかは決めません。二つ目を指すだけです。語を名前にした見出しは定義に数えません。英語で、括弧に引用符だけで入れた語句のうち、名前らしく大文字で始めていない語を含むもの(("The key point is"))は、例を引いたものとして定義に数えません。添付した文書(前後を空行に挟まれた「Exhibit A to Merger Agreement」のような題の行、または「## **SCHEDULE B**」のような見出しから後ろ)は別の文書なので、その中の定義は、本文の定義とは比べず、添付した文書の中でだけ比べます。同じ名前の後ろの括弧で同じ語を定義し直したもの(件名と本文の両方にある Financial Crimes Enforcement Network ("FinCEN")、引いた別の文書の題の中の定義)は、一つの定義を書き直しただけなので指しません。ひな形の契約が「第1条(オプション1:…)」「第1条(オプション2:…)」のように番号か文字を添えて並べた選ぶ条項の中の定義は、選ばなければ消えるので、どれを選んでも残る定義と、同じ条項の中の定義とだけ比べます(「オプション1~3共通」のように範囲を添えた条項は、どれを選んでも残ります)。
86
+ en: 'Whether the two definitions conflict is not decided; only the second is pointed at. A heading that names the term is not a definition. In English, a phrase quoted alone in brackets with a word a name would capitalise left in lower case ("The key point is") quotes an example, and is not a definition. An attached instrument (from a title line such as "Exhibit A to Merger Agreement" between blank lines, or a heading such as "## **SCHEDULE B**") is a separate document: its definitions are compared only with each other, not with those of the body. A term defined again in brackets after the same capitalised name (Financial Crimes Enforcement Network ("FinCEN") in both the subject line and the body, or in the quoted title of another letter) restates one definition, and is not reported. A clause a model contract offers as one of numbered choices ("Scope (Option A)", "Scope (Option B)"; 第1条(オプション2)) goes when another is chosen, so a definition inside it is compared only with definitions that stay whichever is chosen and with others in the same clause (a clause labelled with a range, such as オプション1~3共通, stays whichever is chosen).'
@@ -25,6 +25,9 @@ levels: { strict: error, normal: warning, relaxed: info }
25
25
 
26
26
  use_for: [business, technical, blog, legal, docs, academic, literature, speech]
27
27
 
28
+ off_for:
29
+ literature: "A literary work names its parts as it likes: a collection gives two poems the same title (Spring, Untitled), and two prefaces are both Preface."
30
+
28
31
  group: structure
29
32
  summary:
30
33
  ja: 同じ親の見出しの下に、同じ言葉の見出しが二つある所
@@ -74,5 +77,5 @@ example:
74
77
  Wear gloves.
75
78
 
76
79
  not_flagged:
77
- ja: 親が違う見出しどうし(版ごとの「追加」「修正」、章ごとの「まとめ」)は比べません。事例ごとに決まった見出しの組(【相談事例】【回答】、Question と Answer)を同じ順でくり返す所も言いません。括弧の添え書き(【事例(約款)】)は除いて組を見ます。Markdown の文書でだけ動きます。
78
- en: Headings under different parents (each version's "Added" and "Fixed", each chapter's "Summary") are not compared. A fixed set of labels repeated in the same order for each case (Question and Answer, 【相談事例】 and 【回答】) is not reported either; a qualifier in brackets (Case (terms)) is set aside when the set is read. It runs on Markdown only.
80
+ ja: 親が違う見出しどうし(版ごとの「追加」「修正」、章ごとの「まとめ」)は比べません。事例ごとに決まった見出しの組(【相談事例】【回答】、Question と Answer)を同じ順でくり返す所も言いません。括弧の添え書き(【事例(約款)】)は除いて組を見ます。番号付きの見出し(「7.3 仕入れ」)と同じ深さに並べた「例1」は、その番号付きの節の中の見出しとして比べるので、節ごとに数え直しても言いません。文書の題(最初の # の見出し)を目次の後などでもう一度掲げた所も言いません。文学の文書(詩集の同じ題の詩)では動きません。Markdown の文書でだけ動きます。
81
+ en: Headings under different parents (each version's "Added" and "Fixed", each chapter's "Summary") are not compared. A fixed set of labels repeated in the same order for each case (Question and Answer, 【相談事例】 and 【回答】) is not reported either; a qualifier in brackets (Case (terms)) is set aside when the set is read. An "Example 1" set at the same depth as a numbered heading ("7.3 Supplies") is read as part of that numbered section, so examples numbered again in each section are not reported. The document's title (its first # heading) shown again, after a table of contents for instance, is not reported. It does not run on literature (two poems in a collection with the same title). It runs on Markdown only.
@@ -76,8 +76,8 @@ example:
76
76
  Best regards,
77
77
  Ichiro
78
78
  not_flagged:
79
- ja: 引用した返信(「>」の行)と、ヘッダーと署名(「-- 」の後ろ)は見ません。手紙の頭(日付、「保護者各位」のような宛名、差出人、表題)のように文で終わらない行が続くときは、挨拶をその後ろの最初の文までに探します。最初の文より前に「発信者:」のようなメモの形の項目名があれば、メモとして挨拶も結びも求めません。題(見出し)に号数がある便り(「メールマガジン第90号」「Vol.12」)も、購読者みなに送る号として挨拶も結びも求めません。挨拶と結びの言い方は決めず、語彙表のどれかがあれば足ります。メール・手紙のジャンルでだけ見ます。
80
- en: 'Quoted replies (lines starting with ">"), the header and the signature after "-- " are not read. When a letter opens with lines that end no sentence (the date, the address block, the sender, a title), the greeting is looked for up to the first sentence after them. A memo, with a label such as "TO:" or "SUBJECT:" in capitals before the first sentence, is asked for neither a greeting nor a closing, and nor is a newsletter whose title (a heading) holds an issue number (Vol. 12, Vol.12, メールマガジン第90号). Which greeting or closing is used is not decided; any word in the lexicon will do. Only the email and letter genre runs this rule.'
79
+ ja: 引用した返信(「>」の行)と、ヘッダーと署名(「-- 」の後ろ)は見ません。手紙の頭(日付、「保護者各位」のような宛名、差出人、表題)のように文で終わらない行が続くときは、挨拶をその後ろの最初の文までに探します。最初の文より前に「発信者:」のようなメモの形の項目名があれば、メモとして挨拶も結びも求めません。題(見出し)に号数がある便り(「メールマガジン第90号」「Vol.12」)も、購読者みなに送る号として挨拶も結びも求めません。「Withdrawn」のような項目名とコロンで始まる行は、文で終わっていても頭の一部として読みます。挨拶と結びの言い方は決めず、語彙表のどれかがあれば足ります。同僚あての「お疲れさま。」「よろしく。」、返信の遅れのお詫びで始まる書き出し、問い合わせ先(ご不明な点は…まで)で終わる案内も含みます。英語では、名前だけの行(Priya,)を挨拶とし、行の中の後ろの文の頭にある結び(…on Monday. Thanks, and…)も数えます。メール・手紙のジャンルでだけ見ます。
80
+ en: 'Quoted replies (lines starting with ">"), the header and the signature after "-- " are not read. When a letter opens with lines that end no sentence (the date, the address block, the sender, a title), the greeting is looked for up to the first sentence after them. A memo, with a label such as "TO:" or "SUBJECT:" in capitals before the first sentence, is asked for neither a greeting nor a closing, and nor is a newsletter whose title (a heading) holds an issue number (Vol. 12, Vol.12, メールマガジン第90号). A labelled field before the memo labels (Withdrawn: …) belongs to the head even when it ends a sentence. Which greeting or closing is used is not decided; any word in the lexicon will do. The reader''s name alone on the first line (Priya,) is a greeting, and a closing may open a later sentence of a line (…back on Monday. Thanks, and enjoy the day!) or be the farewell or apology the email ends on (See you there, Sorry again). Only the email and letter genre runs this rule.'
81
81
  rewrite:
82
82
  depth: light
83
83
  ja:
@@ -0,0 +1,62 @@
1
+ id: email-stock-courtesy
2
+ layer: L2
3
+ status: stable
4
+ how_to_find: phrase-match
5
+ word_list: email-stock-courtesy
6
+ uses: [pos]
7
+ languages: [en]
8
+ severity: info
9
+
10
+ name:
11
+ ja: メールの定型の気づかいが重なっている
12
+ en: Stock email courtesies piled up
13
+
14
+ why:
15
+ ja: 「I hope this email finds you well」「I apologize for any inconvenience」「Please don't hesitate」は、どれも 1 つなら普通の礼儀です。短いメールに 2 つ 3 つ重なると、用件より決まり文句が目に付き、生成した下書きに見えます。日本語の「ご理解とご協力のほど」は普通のビジネス文なので、この rule は英語だけです。
16
+ en: '"I hope this email finds you well", "I apologize for any inconvenience" and "Please don''t hesitate" are each ordinary politeness. Two or three in one short email crowd out the request, and the email reads like a generated draft.'
17
+
18
+ message:
19
+ ja: 「{matched}」など、メールの定型の気づかいが {count} 文にあります({limit} 文から)
20
+ en: '"{matched}" and other stock courtesies in {count} sentences ({limit} needed)'
21
+
22
+ how_to_fix:
23
+ ja: 一番伝えたい気づかいを 1 つ残し、ほかは用件か具体的な一言(日時、相手がすること)に替えてください。
24
+ en: Keep the one courtesy you mean most. Replace the others with the request itself or a specific line (a date, what the reader should do).
25
+
26
+ # 指摘に要る文の数。1 つは普通の礼儀なので 2 つから。
27
+ levels: { strict: 2, normal: 2, relaxed: 3 }
28
+
29
+ use_for: [business, technical/readme, blog, legal, docs, academic, literature, speech]
30
+ off_for:
31
+ technical/readme: "Stock email courtesies are counted in emails only."
32
+ blog/tech: "Stock email courtesies are counted in emails only."
33
+ blog/essay: "Stock email courtesies are counted in emails only."
34
+ blog/owned-media: "Stock email courtesies are counted in emails only."
35
+ business/proposal: "Stock email courtesies are counted in emails only: a proposal may close with one offer to discuss."
36
+ business/report: 'Stock email courtesies are counted in emails only: a handbook or report says "feel free to" as plain advice.'
37
+ business/press-release: "Stock email courtesies are counted in emails only."
38
+ business/meeting-notes: "Stock email courtesies are counted in emails only."
39
+ legal: "Stock email courtesies are counted in emails only."
40
+ docs: "Stock email courtesies are counted in emails only: a help page invites the reader to get in touch."
41
+ academic/paper: "Stock email courtesies are counted in emails only."
42
+ literature: "Stock email courtesies are counted in emails only."
43
+ speech: "Stock email courtesies are counted in emails only."
44
+
45
+ group: ai-tells
46
+ summary:
47
+ ja: 「I hope this email finds you well」のような英文メールの決まり文句が重なった所
48
+ en: Stock email courtesies ("I hope this email finds you well") piled up
49
+ example:
50
+ en:
51
+ config: { genre: business/email }
52
+ before: |
53
+ I hope this email finds you well. Could we move Thursday's call to next week? I apologize for any inconvenience this may cause.
54
+ after: |
55
+ Could we move Thursday's call to next week? The draft needs two more days, and Tuesday or Wednesday afternoon would work for us.
56
+
57
+ not_flagged:
58
+ ja: 1 つだけの気づかい、メール以外の文書(手引きの「feel free to」など)、日本語の文書は言いません。「reach out」「if you have any questions」は人の報告書や募集にも多いので数えません。
59
+ en: A single courtesy, documents other than emails (a handbook's "feel free to"), and Japanese documents are not reported. "Reach out" and "if you have any questions" are not counted; human reports and job notices use them as much.
60
+ level_meaning:
61
+ ja: 定型の気づかいが {limit} 文にあれば指摘
62
+ en: reported once {limit} sentences hold a stock courtesy
@@ -46,8 +46,8 @@ example:
46
46
  申込は2024年4月10日までです。説明会は2024年4月3日と2024年4月5日に開きます。
47
47
 
48
48
  not_flagged:
49
- ja: 鉤括弧で引いたもの、項目と注の番号(「1.」「(1)」「※1」)、箇条書きの頭の番号、版の番号の続き(TLS1.2 の 2)、注や URL を含む文、文書の頭の日付の行(更新日:令和7年9月27日)、番号の札(TEL:03…)、アポストロフィでつないだ英字の語のかけら(Van't Hoff の t)は数えません。小文字を含む半角の英語の語(AI for Science の for と Science)は、英字の書き方の票には入れますが、少ないほうとしては指摘しません。英語の語は、略語を全角で書く文書でも半角で書くためです。英字一字・英字の語・数字一字・数字の並びは別々に比べるので、「1桁は全角、2桁以上は半角」はそろっていると見ます。どちらの書き方が正しいかは決めません。
50
- en: Quotations in brackets, item and note numbers (1., (1), ※1), a number at the head of a list item, the rest of a version number (the 2 of TLS1.2), a date line at the head of the document (更新日:令和7年9月27日), the label of a number (TEL:03…), a piece of a word joined by an apostrophe (the t of Van't Hoff), and notes or sentences with a URL are not counted. A half-width English word with lower case (the for and Science of AI for Science) counts toward the document's way of writing letters but is never reported itself, since English words stay half-width even where acronyms are full-width. Single letters, words, single digits and longer numbers are compared separately, so "one digit full-width, more digits half-width" counts as consistent. Neither way is called right.
49
+ ja: 鉤括弧で引いたもの、項目と注の番号(「1.」「(1)」「※1」)、箇条書きの頭の番号、版の番号の続き(TLS1.2 の 2)、注や URL を含む文、文書の頭の日付の行(更新日:令和7年9月27日)、番号の札(TEL:03…)、アポストロフィでつないだ英字の語のかけら(Van't Hoff の t)は数えません。小文字を含む半角の英語の語(AI for Science の for と Science)は、英字の書き方の票には入れますが、少ないほうとしては指摘しません。英語の語は、略語を全角で書く文書でも半角で書くためです。英字一字・英字の語・数字一字・数字の並びは別々に比べるので、「1桁は全角、2桁以上は半角」はそろっていると見ます。三桁ごとに区切った数(5,500)は一つの数で、5 を一桁の数とは数えません。有価証券報告書の項目の番号(4【経営者による…】)も数えません。全角の英字の語が一つの語(BAR)しかない文書では、別の語(DELICATE)を少ないほうとして指摘しません(同じ語を半角で書いた BAR は指摘します)。どちらの書き方が正しいかは決めません。
50
+ en: Quotations in brackets, item and note numbers (1., (1), ※1), a number at the head of a list item, the rest of a version number (the 2 of TLS1.2), a date line at the head of the document (更新日:令和7年9月27日), the label of a number (TEL:03…), a piece of a word joined by an apostrophe (the t of Van't Hoff), and notes or sentences with a URL are not counted. A half-width English word with lower case (the for and Science of AI for Science) counts toward the document's way of writing letters but is never reported itself, since English words stay half-width even where acronyms are full-width. Single letters, words, single digits and longer numbers are compared separately, so "one digit full-width, more digits half-width" counts as consistent. A number grouped in thousands (5,500) is one number, so its 5 is not a single digit. Nor is the item number of an annual securities report (4【経営者による…】) counted. Where the usual way of writing words rests on one word alone (BAR), a different word (DELICATE) is not reported as the minority; the same word written the other way (BAR) still is. Neither way is called right.
51
51
  level_meaning:
52
52
  ja: 少ないほうが組の {limit}% 以下のとき指摘
53
53
  en: reported when the minority form is {limit}% of its group or less
@@ -0,0 +1,63 @@
1
+ id: generic-opening
2
+ layer: L4
3
+ status: stable
4
+ how_to_find: generic-opening
5
+ severity: warning
6
+
7
+ name:
8
+ ja: 一般論で始まる書き出し
9
+ en: Opening on a generic problem
10
+
11
+ why:
12
+ ja: どの記事にも当てはまる問題から始めると、誰が何をした話なのかが読み手に届くのが遅れます。
13
+ en: An opening on a problem every article could name delays what this piece is about, and who did what.
14
+
15
+ message:
16
+ ja: "{reason}"
17
+ en: "{reason}"
18
+
19
+ how_to_fix:
20
+ ja: 誰が書いているのか、何を作ったのか、何が起きたのかから始めてください。
21
+ en: Start from who is writing, what was built, or what happened.
22
+
23
+ what_to_check:
24
+ ja: |
25
+ 文書の書き出しが、具体的な背景から始まっていること。
26
+ 具体的な背景とは、書き手が誰か、何を作った・したか、何が起きたか、どの製品・場所・数の話か。
27
+ 「多くの企業が〜という課題を抱えています」「〜に悩んでいませんか」「近年、〜が求められています」
28
+ 「現代のビジネスにおいて〜は欠かせません」のように、どの文書にも当てはまる一般的な問題や風潮、
29
+ 誰にでも当てはまる読者への問いかけから始めているなら、決まりに反する。
30
+ 最初の文が一般論で、具体が二文目以降に来るときも反する。
31
+ 読者への呼びかけでも、具体的な場面(「印刷を押しても何も出てこない」)から始めているなら反しない。
32
+ en: |
33
+ The opening must start from the concrete background: who is writing, what they built or did,
34
+ what happened, or which product, place or number the piece is about.
35
+ It violates the rule when it starts from a generic problem or trend that would fit any article,
36
+ or from a question to the reader that fits anyone: "Many teams struggle with…",
37
+ "In today's fast-paced world…", "As organizations increasingly…", "Have you ever…".
38
+ It also violates the rule when the first sentence is generic and the concrete part only comes later.
39
+ Addressing the reader is fine when it starts from a concrete scene ("You hit print. Nothing happens.").
40
+
41
+ levels:
42
+ strict: error
43
+ normal: warning
44
+ relaxed: info
45
+
46
+ # メール・議事録・プレスリリースの書き出しは挨拶か定型の一文で、背景を語る所ではない。
47
+ use_for: [blog, business/report, business/proposal]
48
+
49
+ group: wording
50
+ summary:
51
+ ja: どの記事にも当てはまる問題から始める書き出し(AI に読ませる検査)
52
+ en: An opening on a problem any article could name (read by an AI)
53
+ example:
54
+ ja:
55
+ before: 多くの企業が、社内の問い合わせ対応に課題を抱えています。本記事では、その解決策を紹介します。
56
+ after: 総務の 3 人で受けていた社内の問い合わせを、先月から FAQ ボットに一次対応させています。
57
+ en:
58
+ before: Many teams struggle with internal support requests. This post shows a way to fix that.
59
+ after: Our three-person office team used to answer every internal request; last month we put an FAQ bot in front of them.
60
+
61
+ not_flagged:
62
+ ja: 機械では決めません。chaff test で、書き出しの数文だけを AI が読みます。最初の文が数(日付・件数・金額)を言うなら送りません。
63
+ en: No machine decides this. chaff test has an AI read the first few sentences only, and sends nothing when the first sentence states a number (a date, a count, a sum).
@@ -74,5 +74,5 @@ example:
74
74
  Wear gloves.
75
75
 
76
76
  not_flagged:
77
- ja: 最初の見出しは何段から始めてもかまいません。浅くなる見出し(「####」の次の「##」)も指しません。
78
- en: The first heading may start at any level, and a heading that goes back up ("##" after "####") is not reported.
77
+ ja: 最初の見出しは何段から始めてもかまいません。浅くなる見出し(「####」の次の「##」)も指しません。文字の無い見出し(プレスリリースの終わりの印「###」)は見出しとして数えません。節番号が「2.1」のように入れ子で振られた文書では番号が骨組みなので、一番深い番号より深い番号無しの見出し(論文の段落の頭の小見出しや「Abstract」)は比べません。
78
+ en: The first heading may start at any level, and a heading that goes back up ("##" after "####") is not reported. A heading with no text (the "###" that ends a press release) is not counted. In a document whose sections are numbered in nested form ("2.1"), the numbers are the outline, so an unnumbered heading deeper than the deepest numbered one (a paper's run-in paragraph heading, or its "Abstract") is not compared.
@@ -10,8 +10,8 @@ name:
10
10
  en: Heading numbering mixed
11
11
 
12
12
  why:
13
- ja: 「1. 概要」「2. 手順」と番号を付けた見出しの隣に番号の無い「まとめ」があったり、「1.」「2.」の隣に「3)」や「第4章」があったりすると、読み手は番号の無い見出しが別の扱いなのか、番号が抜けたのか迷います。目次や参照(「3 章で述べた」)とも合わなくなります。どちらの付け方が正しいかは決めず、同じ親の下の同じ深さの見出し(兄弟)のうち少ないほうを指します。番号を持つ語(第1章、Chapter 1)と、番号を付けないのがふつうの前後の見出し(目次、参考文献)は言語ごとの語彙表にあります。
14
- en: A numbered "1. Overview" and "2. Steps" next to an unnumbered "Summary", or "1." and "2." next to "3)" or "Chapter 4", leave the reader unsure whether the odd one is meant to be different or lost its number, and the numbers stop matching the table of contents and cross-references. chaff does not pick a style; among headings with the same parent and depth (siblings) it points at the minority. Words that carry a number (Chapter 1, 第1章) and front and back matter that is never numbered (Contents, References) are in each language's lexicon.
13
+ ja: 「1. 概要」「3. 費用」と番号を付けた見出しのあいだに番号の無い「手順」があったり、「1.」「2.」の隣に「3)」や「第4章」があったりすると、読み手は番号の無い見出しが別の扱いなのか、番号が抜けたのか迷います。目次や参照(「3 章で述べた」)とも合わなくなります。どちらの付け方が正しいかは決めず、同じ親の下の同じ深さの見出し(兄弟)のうち少ないほうを指します。番号を持つ語(第1章、Chapter 1)と、番号を付けないのがふつうの前後の見出し(目次、参考文献)は言語ごとの語彙表にあります。
14
+ en: An unnumbered "Steps" between a numbered "1. Overview" and "3. Costs", or "1." and "2." next to "3)" or "Chapter 4", leave the reader unsure whether the odd one is meant to be different or lost its number, and the numbers stop matching the table of contents and cross-references. chaff does not pick a style; among headings with the same parent and depth (siblings) it points at the minority. Words that carry a number (Chapter 1, 第1章) and front and back matter that is never numbered (Contents, References) are in each language's lexicon.
15
15
 
16
16
  message:
17
17
  ja: 見出し「{heading}」の番号の付け方が、兄弟の見出し(「{example}」など {count} 個)と違います
@@ -48,8 +48,8 @@ use_for: [business, technical, blog, legal, docs, academic, literature, speech]
48
48
 
49
49
  group: structure
50
50
  summary:
51
- ja: 「1. 概要」「2. 手順」「まとめ」や「1.」「2.」「3)」のように、兄弟の見出しで番号の付け方が混ざっている所
52
- en: 'Sibling headings numbered in mixed ways: "1. Overview", "2. Steps", "Summary"'
51
+ ja: 「1. 概要」「手順」「3. 費用」や「1.」「2.」「3)」のように、兄弟の見出しで番号の付け方が混ざっている所
52
+ en: 'Sibling headings numbered in mixed ways: "1. Overview", "Steps", "3. Costs"'
53
53
  example:
54
54
  ja:
55
55
  before: |
@@ -59,13 +59,13 @@ example:
59
59
 
60
60
  概要です。
61
61
 
62
- ## 2. 手順
62
+ ## 手順
63
63
 
64
64
  手順です。
65
65
 
66
- ## まとめ
66
+ ## 3. 費用
67
67
 
68
- まとめです。
68
+ 費用です。
69
69
  after: |
70
70
  # 報告
71
71
 
@@ -77,9 +77,9 @@ example:
77
77
 
78
78
  手順です。
79
79
 
80
- ## 3. まとめ
80
+ ## 3. 費用
81
81
 
82
- まとめです。
82
+ 費用です。
83
83
  en:
84
84
  before: |
85
85
  # Report
@@ -88,13 +88,13 @@ example:
88
88
 
89
89
  The overview.
90
90
 
91
- ## 2. Steps
91
+ ## Steps
92
92
 
93
93
  The steps.
94
94
 
95
- ## Summary
95
+ ## 3. Costs
96
96
 
97
- The summary.
97
+ The costs.
98
98
  after: |
99
99
  # Report
100
100
 
@@ -106,20 +106,20 @@ example:
106
106
 
107
107
  The steps.
108
108
 
109
- ## 3. Summary
109
+ ## 3. Costs
110
110
 
111
- The summary.
111
+ The costs.
112
112
 
113
113
  not_flagged:
114
- ja: 兄弟が三つ未満の所、少ないほうと多いほうが同じ数の所、深さや親の違う見出しどうし(「1.」の下の「1.1」)は比べません。前後の見出し(目次、参考文献、付録、末尾の「担当」「お問い合わせ先」)と、1 から始まる番号の前に置いた番号の無い見出し(文書の題、「はじめに」)は兄弟に数えません。見出しの頭の数でも、区切りの記号の無い数(「2026年の計画」「3つの理由」)は番号と読みません。期間や催しを名指す番号(「第1週」「1日目」「第3回」「Week 1」)も番号と読みません。兄弟がみな同じ字を頭に付けた見出し(「Q. 〜」「Q. 2.0 と同じ挙動にするには?」)の字は、質問の印で番号ではありません。
115
- en: Fewer than three siblings, a tie between the two sides, and headings at different depths or under different parents ("1." and "1.1") are not compared. Front and back matter (Contents, References, Appendix, a closing Contact), and unnumbered headings placed before a numbering that starts at 1 (the page title, "Applies to England"), are not counted among the siblings. A number at the head of a heading without a separator ("2026 roadmap", "3 reasons") is not read as a heading number. Nor is a number that names a period or an event ("Week 1", "Day 2", "Phase 3", "第3回"). A letter that every sibling repeats ("Q. Why …?", "Q. 2.0 behaviour, how?") marks a question, and is not a number.
114
+ ja: 兄弟が三つ未満の所、少ないほうと多いほうが同じ数の所、深さや親の違う見出しどうし(「1.」の下の「1.1」)は比べません。前後の見出し(目次、参考文献、付録、末尾の「担当」「お問い合わせ先」)、見出しにした図と表の題(「図 データモデル」)、1 から始まる番号の並びの前と後ろに置いた番号の無い見出し(文書の題、「はじめに」、締めの「まとめ」「次回」)は兄弟に数えません。言うのは、番号の並びの途中で番号の無い見出しです。ページが段の違う番号(「1.」と「1.1」、「1.」の下で始め直す「(1)」)を同じ深さの見出しにしたときは、段ごとに比べます。見出しの頭の数でも、区切りの記号の無い数(「2026年の計画」「3つの理由」)は番号と読みません。期間や催しを名指す番号(「第1週」「1日目」「第3回」「Week 1」)も番号と読みません。兄弟がみな同じ字を頭に付けた見出し(「Q. 〜」「Q. 2.0 と同じ挙動にするには?」)の字は、質問の印で番号ではありません。
115
+ en: Fewer than three siblings, a tie between the two sides, and headings at different depths or under different parents ("1." and "1.1") are not compared. Front and back matter (Contents, References, Appendix, a closing Contact), and unnumbered headings placed before or after a numbering that starts at 1 (the page title, "Applies to England", a closing "Still not working?"), are not counted among the siblings; only an unnumbered heading inside the numbered run is reported. When a page puts numbers of different levels at one heading depth ("1." beside "1.1", or a "(1)" that restarts under each "1."), each level is compared on its own. A number at the head of a heading without a separator ("2026 roadmap", "3 reasons") is not read as a heading number. Nor is a number that names a period or an event ("Week 1", "Day 2", "Phase 3", "第3回"). A letter that every sibling repeats ("Q. Why …?", "Q. 2.0 behaviour, how?") marks a question, and is not a number.
116
116
  rewrite:
117
117
  depth: light
118
118
  ja:
119
119
  direction: 兄弟の見出しで、多いほうの番号の付け方に揃えてください。番号の無い見出しに番号を足すか、番号の書き方(1. と 1))を一つにします。見出しの言葉は変えません。
120
120
  pairs:
121
- - before: 「## 1. 概要」「## 2. 手順」「## まとめ」
122
- after: 「## 1. 概要」「## 2. 手順」「## 3. まとめ」
121
+ - before: 「## 1. 概要」「## 手順」「## 3. 費用」
122
+ after: 「## 1. 概要」「## 2. 手順」「## 3. 費用」
123
123
  - before: 「## 1. 背景」「## 2. 方針」「## 3)課題」
124
124
  after: 「## 1. 背景」「## 2. 方針」「## 3. 課題」
125
125
  keep:
@@ -130,8 +130,8 @@ rewrite:
130
130
  en:
131
131
  direction: Number the sibling headings the way most of them are numbered. Add the missing number, or write every number in one style ("1." or "1)"). Keep the heading text.
132
132
  pairs:
133
- - before: '"## 1. Overview", "## 2. Steps", "## Summary"'
134
- after: '"## 1. Overview", "## 2. Steps", "## 3. Summary"'
133
+ - before: '"## 1. Overview", "## Steps", "## 3. Costs"'
134
+ after: '"## 1. Overview", "## 2. Steps", "## 3. Costs"'
135
135
  - before: '"## 1. Background", "## 2. Plan", "## 3) Risks"'
136
136
  after: '"## 1. Background", "## 2. Plan", "## 3. Risks"'
137
137
  keep:
@@ -0,0 +1,84 @@
1
+ id: honesty-marker
2
+ layer: L2
3
+ status: stable
4
+ how_to_find: phrase-in-use
5
+ word_list: honesty-marker
6
+ extra_word_lists: [mention-cue]
7
+ requires: [pos]
8
+ languages: [ja, en]
9
+ severity: info
10
+
11
+ name:
12
+ ja: 「正直」と前置きする
13
+ en: An honesty marker
14
+
15
+ why:
16
+ ja: 「正直、」「正直に言うと」と前置きすると、その文だけが本音に見え、ほかの文は本音ではなかったのかと読めます。人のブログや業務文書にはほとんど出ず、「自然に書いて」と頼んだ生成文が、人らしく見せるために 1 つ入れることの多い言い回しです。1 つでも言いますが、生成だとは言いません。
17
+ en: '"Honestly,", "if I''m being honest" and "my honest take" flag one sentence as candid, which leaves the reader wondering about the rest. Human blog posts and business documents rarely use them; generated text asked to sound natural often adds one to sound human. One is reported, and that alone does not say the text was generated.'
18
+
19
+ message:
20
+ ja: 「{matched}」と前置きしています
21
+ en: '"{matched}" flags this sentence as candid'
22
+
23
+ how_to_fix:
24
+ ja: 前置きを消して、そのまま言ってください(正直かなり迷いました → かなり迷いました)。
25
+ en: Drop the marker and say it plainly ("Honestly, it was hard" → "It was hard").
26
+
27
+ levels: { strict: 1, normal: 1, relaxed: 2 }
28
+
29
+ use_for: [blog, business, legal, docs, academic, literature, speech]
30
+ off_for:
31
+ legal: "A statute or contract states obligations, not the writer's candour."
32
+ docs: "A help page states how things work; a candour marker there is rare and not a sign of generation."
33
+ academic: 'A paper may say "to be honest about the limits" as part of its argument; the marker is not reported there.'
34
+ literature: "Length, rhythm, repetition and register are the author's choices in literature, and dialogue mixes styles. Only what one work can hold itself to runs: consistent spacing and commas, and numbering without gaps."
35
+ speech: 'A speaker says "honestly" aloud as part of their own voice.'
36
+
37
+ group: ai-tells
38
+ summary:
39
+ ja: 「正直、」「正直に言うと」のように、本音だと前置きする言い回し
40
+ en: A sentence flagged as candid ("honestly", "if I'm being honest")
41
+ example:
42
+ ja:
43
+ config: { genre: blog/essay }
44
+ before: |
45
+ 最初の 1 週間は、正直つらかった。
46
+ after: |
47
+ 最初の 1 週間はつらかった。
48
+ en:
49
+ config: { genre: blog/essay }
50
+ before: |
51
+ I still write letters, if I'm honest. Not because I think email is bad.
52
+ after: |
53
+ I still write letters. Not because I think email is bad.
54
+
55
+ not_flagged:
56
+ ja: ブログと業務文書だけを見ます。論文、法令、文学、講演の書き起こしなどは対象にしません。人柄の「正直な人」「正直者」は前置きではないので数えません(読点の後の「、正直な人」は数えます)。文頭の「正直、」が 3 つ以上重なれば announcing-opener も言います。言葉として名指しているだけのもの(「正直」という言葉)も指しません。文頭の「正直なところ、」は人の文章にもあるので数えません(読点の後の「、正直なところ」は数えます)。
57
+ en: Only blog posts and business documents are checked; papers, statutes, literature and transcripts are not. "Honestly" as manner ("live honestly") is not a marker and is not listed. A piling-up of sentence openers, "Honestly," among them, is announcing-opener's. A marker only named as a term (the word "honestly") is not reported.
58
+ level_meaning:
59
+ ja: 前置きが {limit} 箇所あれば指摘
60
+ en: reported once there are {limit}
61
+ rewrite:
62
+ depth: light
63
+ ja:
64
+ direction: 「正直」の前置きを消して、文をそのまま言い切ってください。
65
+ pairs:
66
+ - before: ご提案には、正直かなり迷いました。
67
+ after: ご提案には、かなり迷いました。
68
+ - before: 正直に言うと、最初は重たく感じていた。
69
+ after: 最初は重たく感じていた。
70
+ keep:
71
+ - 書き手の確かさ(言い切りか、推量か)
72
+ avoid:
73
+ - 前置きを別の前置き(実は、本当のところ)に替える
74
+ en:
75
+ direction: Drop the honesty marker and state the sentence plainly.
76
+ pairs:
77
+ - before: Honestly, the setup took an hour.
78
+ after: The setup took an hour.
79
+ - before: Here's my honest take on the headphones.
80
+ after: Here is what I think of the headphones.
81
+ keep:
82
+ - the writer's certainty (stated or hedged)
83
+ avoid:
84
+ - swapping the marker for another ("to tell the truth", "frankly")
@@ -39,8 +39,8 @@ example:
39
39
  The release is late — very late.
40
40
 
41
41
  not_flagged:
42
- ja: 語と語のあいだのものだけを見ます。箇条書きの印の「- 」、数の範囲(1 - 2)、語の中のハイフン(well-known)、コードは見ません。番号の付いたまとまりの見出しで、番号と題を分けるハイフン(PART I - THE AGENCIES GENERALLY)も見ません。ダッシュの字(— や –)を一つも使わない文書の「--」は、その文書のダッシュの打ち方(文字だけの規格文書、Markdown で -- をダッシュにする書き方)なので見ません。文学の文書では既定で止めています(古い版がダッシュを「--」で組むため)。
43
- en: Only between words. A list marker ("- "), a number range ("1 - 2"), a hyphen inside a word ("well-known") and code are not reported. Nor is the hyphen that sets a numbered division's label apart from its title in a heading ("PART I - THE AGENCIES GENERALLY"). Nor is "--" in a document that sets no dash as a character (— or –), where it is how the document types its dash, as plain-text standards and Markdown typographers do. The literature presets turn it off, since older printed texts set the dash as "--".
42
+ ja: "語と語のあいだのものだけを見ます。箇条書きの印の「- 」、数の範囲(1 - 2)、語の中のハイフン(well-known)、コードは見ません。番号の付いたまとまりの見出しで、番号と題を分けるハイフン(PART I - THE AGENCIES GENERALLY)も見ません。ダッシュの字(— や –)を一つも使わない文書の「--」は、その文書のダッシュの打ち方(文字だけの規格文書、Markdown で -- をダッシュにする書き方)なので見ません。写したものの中の区切りも見ません。印刷どおりに引いた札や掲示の、大文字の前のハイフン(“Unhelpful - Post needs no note”)、番号の付いた文献の一覧の行([12] … My robot friend - a study)、項目の値の短い名前(Category の後ろの Office Space - Monthly)、ログやボットの行(URL、exit_code=99、sre.mediawiki.restart を含む行、<bot> で始まる行)、文字として見えている HTML のタグです。文学の文書では既定で止めています(古い版がダッシュを「--」で組むため)。"
43
+ en: 'Only between words. A list marker ("- "), a number range ("1 - 2"), a hyphen inside a word ("well-known") and code are not reported. Nor is the hyphen that sets a numbered division''s label apart from its title in a heading ("PART I - THE AGENCIES GENERALLY"). Nor is "--" in a document that sets no dash as a character (— or –), where it is how the document types its dash, as plain-text standards and Markdown typographers do. Nor is a separator in copied text: before a capital inside a quotation that reproduces a label or a sign ("Unhelpful - Post needs no note"), in a numbered reference entry ([12] … My robot friend - a study), in a short name given as a field''s value (Office Space - Monthly after Category and a colon), in a log or bot line (one that holds an address, a setting such as exit_code=99 or a dotted name such as sre.mediawiki.restart, or starts with <bot>), and inside an HTML tag shown as text. The literature presets turn it off, since older printed texts set the dash as "--".'
44
44
  level_meaning:
45
45
  ja: "{limit} 箇所あれば指摘"
46
46
  en: reported once there are {limit}
@@ -10,8 +10,8 @@ name:
10
10
  en: Japanese commas and periods are mixed
11
11
 
12
12
  why:
13
- ja: 読点を「、」と「,」、句点を「。」と「.」のどちらで書くかは、どちらでも読めます(横書きの論文や公用文には「,」があります)。困るのは一つの文書の中で混ざることで、貼り付けた文や別の人が書いた段落が、そこだけ違って見えます。chaff はどちらが正しいかを決めず、読点と句点のそれぞれで、文書の中で少ないほうを指摘します。数の中の「,」「.」(1,000、3.5)、番号の印の点(1.はじめに、2.確認、(注)1.、イ.ロ.)、一、二文字の英字の印の後ろの点(Q.)、英字の会社の名前の形(CO.,LTD.)、鉤括弧で引いたものの中と、注の番号で始まる行や URL を含む文(文献や出典の書き方に従う)は数えません。
14
- en: Whether Japanese text uses 、 or , for its commas and 。 or . for its periods is a choice either way (, is common in horizontal academic and official writing). What reads badly is mixing both in one document, which makes a pasted sentence or another writer's paragraph stand out. chaff does not decide which is right; for commas and for periods separately, it points at whichever the document uses less. Marks inside a number (1,000, 3.5), after a list number or label (1.はじめに, 2.確認, (注)1., イ.ロ.), after a one- or two-letter label (Q.), in a company form written in Latin letters (CO.,LTD.), inside a 「」 quotation, and in a sentence that starts with a note number or holds a URL (a citation follows its own style) are not counted.
13
+ ja: 読点を「、」と「,」、句点を「。」と「.」のどちらで書くかは、どちらでも読めます(横書きの論文や公用文には「,」があります)。困るのは一つの文書の中で混ざることで、貼り付けた文や別の人が書いた段落が、そこだけ違って見えます。chaff はどちらが正しいかを決めず、読点と句点のそれぞれで、文書の中で少ないほうを指摘します。数の中の「,」「.」(1,000、3.5)、番号の印の点(1.はじめに、2.確認、(注)1.、イ.ロ.)、一、二文字の英字の印の後ろの点(Q.)、英字の会社の名前の形(CO.,LTD.)、符号を並べる「,」(特許の公報の9c,9c、a,b,c)、鉤括弧で引いたものの中と、注の番号で始まる行や URL を含む文(文献や出典の書き方に従う)は数えません。日本語の語の間の半角の「,」(自家用自動車,社用車)は「,」の側に数えます。
14
+ en: Whether Japanese text uses 、 or , for its commas and 。 or . for its periods is a choice either way (, is common in horizontal academic and official writing). What reads badly is mixing both in one document, which makes a pasted sentence or another writer's paragraph stand out. chaff does not decide which is right; for commas and for periods separately, it points at whichever the document uses less. Marks inside a number (1,000, 3.5), after a list number or label (1.はじめに, 2.確認, (注)1., イ.ロ.), after a one- or two-letter label (Q.), in a company form written in Latin letters (CO.,LTD.), between reference signs (a patent's 9c,9c or a,b,c), inside a 「」 quotation, and in a sentence that starts with a note number or holds a URL (a citation follows its own style) are not counted. A half-width "," between Japanese words (自家用自動車,社用車) counts on the , side.
15
15
 
16
16
  message:
17
17
  ja: 「{mark}」と書いています(この文書はふつう「{usual}」。{of} 箇所のうち {count} 箇所が違う)
@@ -46,8 +46,8 @@ example:
46
46
  申込書は、窓口で受け付けます。書類は、担当者が確認します。結果は、翌日に知らせます。
47
47
 
48
48
  not_flagged:
49
- ja: 数の中の「,」「.」(1,000、3.5)、番号の印の点(1.、(注)1.、イ.)、番号を指す点(3.から5.まで、(1)4.の改正)、「Q.」や行の頭の「A1.」のような英字の印、英字の会社の名前の形(CO.,LTD.)、「」の中、注の番号で始まる行と URL を含む文は数えません。どちらの書き方が正しいかは決めません。
50
- en: Marks inside numbers (1,000, 3.5), after a list number or label (1., (注)1., イ.), after a number that is referred to (3.から5.まで, (1)4.の改正), in a letter label (Q., or A1. at the start of a line), in a company form (CO.,LTD.), inside 「」, and in a note or a sentence with a URL are not counted. Neither way is called right.
49
+ ja: 数の中の「,」「.」(1,000、3.5)、番号の印の点(1.、(注)1.、イ.)、番号を指す点(3.から5.まで、(1)4.の改正)、「Q.」や行の頭の「A1.」のような英字の印、英字の会社の名前の形(CO.,LTD.)、符号を並べる「,」(9c,9c、a,b,c)、「」の中、注の番号で始まる行と URL を含む文は数えません。どちらの書き方が正しいかは決めません。
50
+ en: Marks inside numbers (1,000, 3.5), after a list number or label (1., (注)1., イ.), after a number that is referred to (3.から5.まで, (1)4.の改正), in a letter label (Q., or A1. at the start of a line), in a company form (CO.,LTD.), between reference signs (9c,9c, a,b,c), inside 「」, and in a note or a sentence with a URL are not counted. Neither way is called right.
51
51
  level_meaning:
52
52
  ja: 少ないほうの書き方が {limit} 箇所あれば指摘
53
53
  en: reported once {limit} places go against the document's habit