chaffjs 0.39.0 → 0.41.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 (434) hide show
  1. package/README.ja.md +3 -2
  2. package/README.md +2 -1
  3. package/dist/ai-score/human-shares.d.ts.map +1 -1
  4. package/dist/ai-score/human-shares.js +1 -0
  5. package/dist/ai-score/human-shares.js.map +1 -1
  6. package/dist/alternative-words.d.ts +6 -0
  7. package/dist/alternative-words.d.ts.map +1 -1
  8. package/dist/alternative-words.js +10 -0
  9. package/dist/alternative-words.js.map +1 -1
  10. package/dist/closing-code.d.ts +8 -0
  11. package/dist/closing-code.d.ts.map +1 -0
  12. package/dist/closing-code.js +18 -0
  13. package/dist/closing-code.js.map +1 -0
  14. package/dist/composite-signals.d.ts +6 -0
  15. package/dist/composite-signals.d.ts.map +1 -0
  16. package/dist/composite-signals.js +23 -0
  17. package/dist/composite-signals.js.map +1 -0
  18. package/dist/date-format.d.ts +19 -1
  19. package/dist/date-format.d.ts.map +1 -1
  20. package/dist/date-format.js +41 -5
  21. package/dist/date-format.js.map +1 -1
  22. package/dist/detectors/acronym-context.d.ts +5 -1
  23. package/dist/detectors/acronym-context.d.ts.map +1 -1
  24. package/dist/detectors/acronym-context.js +48 -2
  25. package/dist/detectors/acronym-context.js.map +1 -1
  26. package/dist/detectors/acronym-mention.d.ts +5 -0
  27. package/dist/detectors/acronym-mention.d.ts.map +1 -1
  28. package/dist/detectors/acronym-mention.js +16 -0
  29. package/dist/detectors/acronym-mention.js.map +1 -1
  30. package/dist/detectors/acronym-name.d.ts +5 -0
  31. package/dist/detectors/acronym-name.d.ts.map +1 -1
  32. package/dist/detectors/acronym-name.js +15 -0
  33. package/dist/detectors/acronym-name.js.map +1 -1
  34. package/dist/detectors/acronym-series.d.ts +5 -0
  35. package/dist/detectors/acronym-series.d.ts.map +1 -1
  36. package/dist/detectors/acronym-series.js +18 -3
  37. package/dist/detectors/acronym-series.js.map +1 -1
  38. package/dist/detectors/ai-phrasing.d.ts.map +1 -1
  39. package/dist/detectors/ai-phrasing.js +7 -1
  40. package/dist/detectors/ai-phrasing.js.map +1 -1
  41. package/dist/detectors/ai-structure.d.ts.map +1 -1
  42. package/dist/detectors/ai-structure.js +6 -2
  43. package/dist/detectors/ai-structure.js.map +1 -1
  44. package/dist/detectors/blank-runs.d.ts +12 -0
  45. package/dist/detectors/blank-runs.d.ts.map +1 -0
  46. package/dist/detectors/blank-runs.js +27 -0
  47. package/dist/detectors/blank-runs.js.map +1 -0
  48. package/dist/detectors/bold-label.d.ts +3 -1
  49. package/dist/detectors/bold-label.d.ts.map +1 -1
  50. package/dist/detectors/bold-label.js +16 -6
  51. package/dist/detectors/bold-label.js.map +1 -1
  52. package/dist/detectors/capitalised-term.d.ts.map +1 -1
  53. package/dist/detectors/capitalised-term.js +28 -9
  54. package/dist/detectors/capitalised-term.js.map +1 -1
  55. package/dist/detectors/citation-string.d.ts +6 -0
  56. package/dist/detectors/citation-string.d.ts.map +1 -1
  57. package/dist/detectors/citation-string.js +52 -0
  58. package/dist/detectors/citation-string.js.map +1 -1
  59. package/dist/detectors/contraction-emphasis.d.ts +3 -0
  60. package/dist/detectors/contraction-emphasis.d.ts.map +1 -0
  61. package/dist/detectors/contraction-emphasis.js +24 -0
  62. package/dist/detectors/contraction-emphasis.js.map +1 -0
  63. package/dist/detectors/contraction-mention.d.ts +12 -1
  64. package/dist/detectors/contraction-mention.d.ts.map +1 -1
  65. package/dist/detectors/contraction-mention.js +39 -6
  66. package/dist/detectors/contraction-mention.js.map +1 -1
  67. package/dist/detectors/contraction-mix.d.ts +3 -0
  68. package/dist/detectors/contraction-mix.d.ts.map +1 -0
  69. package/dist/detectors/contraction-mix.js +76 -0
  70. package/dist/detectors/contraction-mix.js.map +1 -0
  71. package/dist/detectors/contraction-set-apart.d.ts +14 -0
  72. package/dist/detectors/contraction-set-apart.d.ts.map +1 -0
  73. package/dist/detectors/contraction-set-apart.js +42 -0
  74. package/dist/detectors/contraction-set-apart.js.map +1 -0
  75. package/dist/detectors/date-format.d.ts.map +1 -1
  76. package/dist/detectors/date-format.js +13 -1
  77. package/dist/detectors/date-format.js.map +1 -1
  78. package/dist/detectors/densest-stretch.d.ts +11 -0
  79. package/dist/detectors/densest-stretch.d.ts.map +1 -0
  80. package/dist/detectors/densest-stretch.js +14 -0
  81. package/dist/detectors/densest-stretch.js.map +1 -0
  82. package/dist/detectors/doubled-word.d.ts.map +1 -1
  83. package/dist/detectors/doubled-word.js +8 -4
  84. package/dist/detectors/doubled-word.js.map +1 -1
  85. package/dist/detectors/duplicate-definition.d.ts +3 -0
  86. package/dist/detectors/duplicate-definition.d.ts.map +1 -0
  87. package/dist/detectors/duplicate-definition.js +16 -0
  88. package/dist/detectors/duplicate-definition.js.map +1 -0
  89. package/dist/detectors/final-period-captions.d.ts +15 -0
  90. package/dist/detectors/final-period-captions.d.ts.map +1 -0
  91. package/dist/detectors/final-period-captions.js +61 -0
  92. package/dist/detectors/final-period-captions.js.map +1 -0
  93. package/dist/detectors/fullwidth-alnum.d.ts +3 -0
  94. package/dist/detectors/fullwidth-alnum.d.ts.map +1 -1
  95. package/dist/detectors/fullwidth-alnum.js +11 -2
  96. package/dist/detectors/fullwidth-alnum.js.map +1 -1
  97. package/dist/detectors/gram-furniture.d.ts +8 -5
  98. package/dist/detectors/gram-furniture.d.ts.map +1 -1
  99. package/dist/detectors/gram-furniture.js +23 -13
  100. package/dist/detectors/gram-furniture.js.map +1 -1
  101. package/dist/detectors/gram-openers.d.ts +11 -0
  102. package/dist/detectors/gram-openers.d.ts.map +1 -1
  103. package/dist/detectors/gram-openers.js +42 -1
  104. package/dist/detectors/gram-openers.js.map +1 -1
  105. package/dist/detectors/gram-repetition.d.ts.map +1 -1
  106. package/dist/detectors/gram-repetition.js +18 -7
  107. package/dist/detectors/gram-repetition.js.map +1 -1
  108. package/dist/detectors/heading-sentences.d.ts +10 -0
  109. package/dist/detectors/heading-sentences.d.ts.map +1 -0
  110. package/dist/detectors/heading-sentences.js +32 -0
  111. package/dist/detectors/heading-sentences.js.map +1 -0
  112. package/dist/detectors/known-correction.d.ts.map +1 -1
  113. package/dist/detectors/known-correction.js +11 -9
  114. package/dist/detectors/known-correction.js.map +1 -1
  115. package/dist/detectors/lexicon.d.ts +2 -3
  116. package/dist/detectors/lexicon.d.ts.map +1 -1
  117. package/dist/detectors/lexicon.js +16 -56
  118. package/dist/detectors/lexicon.js.map +1 -1
  119. package/dist/detectors/list-lead-in.d.ts +1 -1
  120. package/dist/detectors/list-lead-in.d.ts.map +1 -1
  121. package/dist/detectors/list-lead-in.js +42 -11
  122. package/dist/detectors/list-lead-in.js.map +1 -1
  123. package/dist/detectors/list-run.d.ts.map +1 -1
  124. package/dist/detectors/list-run.js +16 -2
  125. package/dist/detectors/list-run.js.map +1 -1
  126. package/dist/detectors/missing-final-period.d.ts.map +1 -1
  127. package/dist/detectors/missing-final-period.js +3 -1
  128. package/dist/detectors/missing-final-period.js.map +1 -1
  129. package/dist/detectors/numbering-readings.d.ts +2 -2
  130. package/dist/detectors/numbering-readings.d.ts.map +1 -1
  131. package/dist/detectors/numbering-readings.js +7 -0
  132. package/dist/detectors/numbering-readings.js.map +1 -1
  133. package/dist/detectors/open-end-anaphor.d.ts +8 -0
  134. package/dist/detectors/open-end-anaphor.d.ts.map +1 -0
  135. package/dist/detectors/open-end-anaphor.js +22 -0
  136. package/dist/detectors/open-end-anaphor.js.map +1 -0
  137. package/dist/detectors/open-end-lead.d.ts +4 -0
  138. package/dist/detectors/open-end-lead.d.ts.map +1 -0
  139. package/dist/detectors/open-end-lead.js +34 -0
  140. package/dist/detectors/open-end-lead.js.map +1 -0
  141. package/dist/detectors/open-end-scope.d.ts.map +1 -1
  142. package/dist/detectors/open-end-scope.js +7 -1
  143. package/dist/detectors/open-end-scope.js.map +1 -1
  144. package/dist/detectors/ordinal-run-gaps.d.ts +1 -0
  145. package/dist/detectors/ordinal-run-gaps.d.ts.map +1 -1
  146. package/dist/detectors/ordinal-run-gaps.js +1 -1
  147. package/dist/detectors/ordinal-run-gaps.js.map +1 -1
  148. package/dist/detectors/orthographic-variant-open.d.ts +4 -2
  149. package/dist/detectors/orthographic-variant-open.d.ts.map +1 -1
  150. package/dist/detectors/orthographic-variant-open.js +5 -3
  151. package/dist/detectors/orthographic-variant-open.js.map +1 -1
  152. package/dist/detectors/orthography.d.ts.map +1 -1
  153. package/dist/detectors/orthography.js +14 -5
  154. package/dist/detectors/orthography.js.map +1 -1
  155. package/dist/detectors/oxford-comma.d.ts.map +1 -1
  156. package/dist/detectors/oxford-comma.js +17 -2
  157. package/dist/detectors/oxford-comma.js.map +1 -1
  158. package/dist/detectors/phrase-match.d.ts.map +1 -1
  159. package/dist/detectors/phrase-match.js +3 -2
  160. package/dist/detectors/phrase-match.js.map +1 -1
  161. package/dist/detectors/placeholder-text.d.ts.map +1 -1
  162. package/dist/detectors/placeholder-text.js +14 -2
  163. package/dist/detectors/placeholder-text.js.map +1 -1
  164. package/dist/detectors/quote-without-source.d.ts +6 -2
  165. package/dist/detectors/quote-without-source.d.ts.map +1 -1
  166. package/dist/detectors/quote-without-source.js +33 -8
  167. package/dist/detectors/quote-without-source.js.map +1 -1
  168. package/dist/detectors/quoted-pattern.d.ts +2 -0
  169. package/dist/detectors/quoted-pattern.d.ts.map +1 -0
  170. package/dist/detectors/quoted-pattern.js +13 -0
  171. package/dist/detectors/quoted-pattern.js.map +1 -0
  172. package/dist/detectors/reference-entry.d.ts +5 -0
  173. package/dist/detectors/reference-entry.d.ts.map +1 -1
  174. package/dist/detectors/reference-entry.js +6 -1
  175. package/dist/detectors/reference-entry.js.map +1 -1
  176. package/dist/detectors/register-separate-part.d.ts +7 -0
  177. package/dist/detectors/register-separate-part.d.ts.map +1 -0
  178. package/dist/detectors/register-separate-part.js +32 -0
  179. package/dist/detectors/register-separate-part.js.map +1 -0
  180. package/dist/detectors/registry/contraction-mix.js +1 -1
  181. package/dist/detectors/registry/contraction-mix.js.map +1 -1
  182. package/dist/detectors/registry/duplicate-definition.js +1 -1
  183. package/dist/detectors/registry/duplicate-definition.js.map +1 -1
  184. package/dist/detectors/relative-pronoun-mix.d.ts.map +1 -1
  185. package/dist/detectors/relative-pronoun-mix.js +7 -3
  186. package/dist/detectors/relative-pronoun-mix.js.map +1 -1
  187. package/dist/detectors/reproduced-text.d.ts +5 -0
  188. package/dist/detectors/reproduced-text.d.ts.map +1 -0
  189. package/dist/detectors/reproduced-text.js +19 -0
  190. package/dist/detectors/reproduced-text.js.map +1 -0
  191. package/dist/detectors/request-owner.d.ts +2 -1
  192. package/dist/detectors/request-owner.d.ts.map +1 -1
  193. package/dist/detectors/request-owner.js +31 -7
  194. package/dist/detectors/request-owner.js.map +1 -1
  195. package/dist/detectors/requirement-smell.d.ts.map +1 -1
  196. package/dist/detectors/requirement-smell.js +16 -5
  197. package/dist/detectors/requirement-smell.js.map +1 -1
  198. package/dist/detectors/sentence-counts.d.ts +2 -1
  199. package/dist/detectors/sentence-counts.d.ts.map +1 -1
  200. package/dist/detectors/sentence-counts.js +23 -7
  201. package/dist/detectors/sentence-counts.js.map +1 -1
  202. package/dist/detectors/sentence-ending.d.ts +1 -0
  203. package/dist/detectors/sentence-ending.d.ts.map +1 -1
  204. package/dist/detectors/sentence-ending.js +5 -2
  205. package/dist/detectors/sentence-ending.js.map +1 -1
  206. package/dist/detectors/sentence-length.d.ts.map +1 -1
  207. package/dist/detectors/sentence-length.js +13 -3
  208. package/dist/detectors/sentence-length.js.map +1 -1
  209. package/dist/detectors/sentence-parts.d.ts +7 -0
  210. package/dist/detectors/sentence-parts.d.ts.map +1 -1
  211. package/dist/detectors/sentence-parts.js +11 -1
  212. package/dist/detectors/sentence-parts.js.map +1 -1
  213. package/dist/detectors/signals.d.ts.map +1 -1
  214. package/dist/detectors/signals.js +31 -7
  215. package/dist/detectors/signals.js.map +1 -1
  216. package/dist/detectors/spelling-variety.d.ts.map +1 -1
  217. package/dist/detectors/spelling-variety.js +20 -2
  218. package/dist/detectors/spelling-variety.js.map +1 -1
  219. package/dist/detectors/structure-tree.d.ts +2 -1
  220. package/dist/detectors/structure-tree.d.ts.map +1 -1
  221. package/dist/detectors/structure-tree.js +2 -7
  222. package/dist/detectors/structure-tree.js.map +1 -1
  223. package/dist/detectors/structure.d.ts.map +1 -1
  224. package/dist/detectors/structure.js +19 -5
  225. package/dist/detectors/structure.js.map +1 -1
  226. package/dist/detectors/superlative-context.d.ts +2 -1
  227. package/dist/detectors/superlative-context.d.ts.map +1 -1
  228. package/dist/detectors/superlative-context.js +9 -2
  229. package/dist/detectors/superlative-context.js.map +1 -1
  230. package/dist/detectors/title-list.d.ts +7 -0
  231. package/dist/detectors/title-list.d.ts.map +1 -0
  232. package/dist/detectors/title-list.js +14 -0
  233. package/dist/detectors/title-list.js.map +1 -0
  234. package/dist/detectors/token-shape.d.ts.map +1 -1
  235. package/dist/detectors/token-shape.js +17 -7
  236. package/dist/detectors/token-shape.js.map +1 -1
  237. package/dist/detectors/undefined-term.d.ts +5 -0
  238. package/dist/detectors/undefined-term.d.ts.map +1 -1
  239. package/dist/detectors/undefined-term.js +22 -1
  240. package/dist/detectors/undefined-term.js.map +1 -1
  241. package/dist/detectors/unfilled-placeholder.d.ts.map +1 -1
  242. package/dist/detectors/unfilled-placeholder.js +15 -1
  243. package/dist/detectors/unfilled-placeholder.js.map +1 -1
  244. package/dist/detectors/unknown-word-context.d.ts +9 -0
  245. package/dist/detectors/unknown-word-context.d.ts.map +1 -1
  246. package/dist/detectors/unknown-word-context.js +15 -0
  247. package/dist/detectors/unknown-word-context.js.map +1 -1
  248. package/dist/detectors/unknown-word.d.ts.map +1 -1
  249. package/dist/detectors/unknown-word.js +12 -4
  250. package/dist/detectors/unknown-word.js.map +1 -1
  251. package/dist/latin-spacing-source.d.ts +12 -0
  252. package/dist/latin-spacing-source.d.ts.map +1 -0
  253. package/dist/latin-spacing-source.js +25 -0
  254. package/dist/latin-spacing-source.js.map +1 -0
  255. package/dist/name-separator.d.ts.map +1 -1
  256. package/dist/name-separator.js +4 -1
  257. package/dist/name-separator.js.map +1 -1
  258. package/dist/paragraph-length.d.ts +14 -0
  259. package/dist/paragraph-length.d.ts.map +1 -1
  260. package/dist/paragraph-length.js +25 -0
  261. package/dist/paragraph-length.js.map +1 -1
  262. package/dist/paragraph-runs.d.ts +2 -2
  263. package/dist/paragraph-runs.d.ts.map +1 -1
  264. package/dist/paragraph-runs.js +65 -14
  265. package/dist/paragraph-runs.js.map +1 -1
  266. package/dist/plugin.d.ts +2 -0
  267. package/dist/plugin.d.ts.map +1 -1
  268. package/dist/quote-echo.d.ts +6 -0
  269. package/dist/quote-echo.d.ts.map +1 -0
  270. package/dist/quote-echo.js +14 -0
  271. package/dist/quote-echo.js.map +1 -0
  272. package/dist/run.d.ts.map +1 -1
  273. package/dist/run.js +4 -2
  274. package/dist/run.js.map +1 -1
  275. package/dist/semantic.d.ts.map +1 -1
  276. package/dist/semantic.js +2 -2
  277. package/dist/semantic.js.map +1 -1
  278. package/dist/set-phrase-particles.d.ts +4 -0
  279. package/dist/set-phrase-particles.d.ts.map +1 -0
  280. package/dist/set-phrase-particles.js +26 -0
  281. package/dist/set-phrase-particles.js.map +1 -0
  282. package/dist/structure/alternative-clause.d.ts +7 -0
  283. package/dist/structure/alternative-clause.d.ts.map +1 -1
  284. package/dist/structure/alternative-clause.js +23 -8
  285. package/dist/structure/alternative-clause.js.map +1 -1
  286. package/dist/structure/cited-document-section.d.ts +2 -0
  287. package/dist/structure/cited-document-section.d.ts.map +1 -1
  288. package/dist/structure/cited-document-section.js +8 -0
  289. package/dist/structure/cited-document-section.js.map +1 -1
  290. package/dist/structure/issues.d.ts +3 -1
  291. package/dist/structure/issues.d.ts.map +1 -1
  292. package/dist/structure/issues.js +12 -8
  293. package/dist/structure/issues.js.map +1 -1
  294. package/dist/structure/numbering.d.ts +10 -1
  295. package/dist/structure/numbering.d.ts.map +1 -1
  296. package/dist/structure/numbering.js +41 -4
  297. package/dist/structure/numbering.js.map +1 -1
  298. package/dist/structure/unread-label.d.ts +13 -0
  299. package/dist/structure/unread-label.d.ts.map +1 -0
  300. package/dist/structure/unread-label.js +70 -0
  301. package/dist/structure/unread-label.js.map +1 -0
  302. package/dist/structure-shape/faq-sections.d.ts +7 -0
  303. package/dist/structure-shape/faq-sections.d.ts.map +1 -0
  304. package/dist/structure-shape/faq-sections.js +14 -0
  305. package/dist/structure-shape/faq-sections.js.map +1 -0
  306. package/dist/structure-shape/features.d.ts.map +1 -1
  307. package/dist/structure-shape/features.js +5 -3
  308. package/dist/structure-shape/features.js.map +1 -1
  309. package/dist/topic-clause.d.ts.map +1 -1
  310. package/dist/topic-clause.js +15 -2
  311. package/dist/topic-clause.js.map +1 -1
  312. package/package.json +3 -3
  313. package/rules/ai-generated-composite.yaml +3 -2
  314. package/rules/ai-structure.yaml +2 -2
  315. package/rules/ai-tell.yaml +8 -4
  316. package/rules/bold-label-list.yaml +6 -6
  317. package/rules/closing-cliche.yaml +2 -2
  318. package/rules/colon-lead-in.yaml +2 -2
  319. package/rules/contraction-consistency.yaml +4 -2
  320. package/rules/contrast-framing.yaml +3 -3
  321. package/rules/date-format-consistency.yaml +2 -2
  322. package/rules/duplicate-definition.yaml +2 -2
  323. package/rules/fullwidth-alnum-consistency.yaml +2 -2
  324. package/rules/honesty-marker.yaml +84 -0
  325. package/rules/latin-spacing.yaml +6 -4
  326. package/rules/max-paragraph-length.yaml +2 -2
  327. package/rules/max-sentence-length.yaml +4 -2
  328. package/rules/missing-final-period.yaml +2 -2
  329. package/rules/ngram-repetition.yaml +2 -2
  330. package/rules/no-doubled-joshi.yaml +2 -2
  331. package/rules/no-mixed-desumasu.yaml +2 -2
  332. package/rules/nominalization.yaml +1 -1
  333. package/rules/numbering-gap.yaml +2 -2
  334. package/rules/one-sentence-paragraph-run.yaml +2 -2
  335. package/rules/orthographic-variant.yaml +2 -2
  336. package/rules/oxford-comma-consistency.yaml +2 -2
  337. package/rules/quote-without-source.yaml +2 -2
  338. package/rules/request-without-deadline.yaml +2 -2
  339. package/rules/requirement-smell.yaml +2 -2
  340. package/rules/spelling-consistency.yaml +4 -4
  341. package/rules/teki-overuse.yaml +2 -2
  342. package/rules/topic-predicate-distance.yaml +2 -2
  343. package/rules/undefined-acronym.yaml +5 -2
  344. package/rules/undefined-term.yaml +2 -2
  345. package/rules/unfilled-placeholder.yaml +2 -2
  346. package/rules/unknown-word.yaml +2 -2
  347. package/rules/unqualified-superlative.yaml +1 -1
  348. package/skills/chaff/SKILL.md +2 -1
  349. package/src/ai-score/human-shares.ts +1 -0
  350. package/src/alternative-words.ts +15 -0
  351. package/src/closing-code.ts +21 -0
  352. package/src/composite-signals.ts +27 -0
  353. package/src/date-format.ts +54 -7
  354. package/src/detectors/acronym-context.ts +61 -2
  355. package/src/detectors/acronym-mention.ts +17 -0
  356. package/src/detectors/acronym-name.ts +18 -0
  357. package/src/detectors/acronym-series.ts +22 -3
  358. package/src/detectors/ai-phrasing.ts +7 -1
  359. package/src/detectors/ai-structure.ts +6 -2
  360. package/src/detectors/blank-runs.ts +30 -0
  361. package/src/detectors/bold-label.ts +22 -6
  362. package/src/detectors/capitalised-term.ts +36 -9
  363. package/src/detectors/citation-string.ts +57 -0
  364. package/src/detectors/contraction-emphasis.ts +46 -0
  365. package/src/detectors/contraction-mention.ts +52 -6
  366. package/src/detectors/contraction-mix.ts +104 -0
  367. package/src/detectors/contraction-set-apart.ts +52 -0
  368. package/src/detectors/date-format.ts +18 -2
  369. package/src/detectors/densest-stretch.ts +21 -0
  370. package/src/detectors/doubled-word.ts +10 -10
  371. package/src/detectors/duplicate-definition.ts +21 -0
  372. package/src/detectors/final-period-captions.ts +78 -0
  373. package/src/detectors/fullwidth-alnum.ts +19 -3
  374. package/src/detectors/gram-furniture.ts +27 -13
  375. package/src/detectors/gram-openers.ts +54 -1
  376. package/src/detectors/gram-repetition.ts +21 -7
  377. package/src/detectors/heading-sentences.ts +36 -0
  378. package/src/detectors/known-correction.ts +15 -8
  379. package/src/detectors/lexicon.ts +18 -62
  380. package/src/detectors/list-lead-in.ts +60 -11
  381. package/src/detectors/list-run.ts +16 -2
  382. package/src/detectors/missing-final-period.ts +9 -1
  383. package/src/detectors/numbering-readings.ts +10 -2
  384. package/src/detectors/open-end-anaphor.ts +31 -0
  385. package/src/detectors/open-end-lead.ts +46 -0
  386. package/src/detectors/open-end-scope.ts +8 -1
  387. package/src/detectors/ordinal-run-gaps.ts +1 -1
  388. package/src/detectors/orthographic-variant-open.ts +8 -3
  389. package/src/detectors/orthography.ts +20 -7
  390. package/src/detectors/oxford-comma.ts +17 -2
  391. package/src/detectors/phrase-match.ts +3 -2
  392. package/src/detectors/placeholder-text.ts +21 -4
  393. package/src/detectors/quote-without-source.ts +52 -10
  394. package/src/detectors/quoted-pattern.ts +14 -0
  395. package/src/detectors/reference-entry.ts +8 -1
  396. package/src/detectors/register-separate-part.ts +42 -0
  397. package/src/detectors/registry/contraction-mix.ts +1 -1
  398. package/src/detectors/registry/duplicate-definition.ts +1 -1
  399. package/src/detectors/relative-pronoun-mix.ts +5 -3
  400. package/src/detectors/reproduced-text.ts +33 -0
  401. package/src/detectors/request-owner.ts +31 -8
  402. package/src/detectors/requirement-smell.ts +21 -5
  403. package/src/detectors/sentence-counts.ts +27 -7
  404. package/src/detectors/sentence-ending.ts +6 -2
  405. package/src/detectors/sentence-length.ts +18 -3
  406. package/src/detectors/sentence-parts.ts +19 -1
  407. package/src/detectors/signals.ts +35 -7
  408. package/src/detectors/spelling-variety.ts +26 -2
  409. package/src/detectors/structure-tree.ts +2 -8
  410. package/src/detectors/structure.ts +22 -6
  411. package/src/detectors/superlative-context.ts +10 -2
  412. package/src/detectors/title-list.ts +21 -0
  413. package/src/detectors/token-shape.ts +35 -21
  414. package/src/detectors/undefined-term.ts +26 -1
  415. package/src/detectors/unfilled-placeholder.ts +20 -2
  416. package/src/detectors/unknown-word-context.ts +23 -0
  417. package/src/detectors/unknown-word.ts +23 -4
  418. package/src/latin-spacing-source.ts +33 -0
  419. package/src/name-separator.ts +4 -1
  420. package/src/paragraph-length.ts +31 -0
  421. package/src/paragraph-runs.ts +71 -13
  422. package/src/plugin.ts +2 -0
  423. package/src/quote-echo.ts +18 -0
  424. package/src/run.ts +4 -2
  425. package/src/semantic.ts +2 -3
  426. package/src/set-phrase-particles.ts +32 -0
  427. package/src/structure/alternative-clause.ts +32 -7
  428. package/src/structure/cited-document-section.ts +8 -0
  429. package/src/structure/issues.ts +19 -9
  430. package/src/structure/numbering.ts +50 -3
  431. package/src/structure/unread-label.ts +74 -0
  432. package/src/structure-shape/faq-sections.ts +24 -0
  433. package/src/structure-shape/features.ts +5 -3
  434. package/src/topic-clause.ts +16 -2
@@ -65,8 +65,8 @@ example:
65
65
  In the room, no food or drink is allowed. Put the desks back when you leave.
66
66
 
67
67
  not_flagged:
68
- ja: 上限までの一文の段落、見出し・箇条書き・表・コードを挟んだ段落、改行一つでつないだ行、文の終わりの印(。..!?)で終わらない段落(「日時:」のような札、項目、平文にした表の欄)、○・※ などの印で始まる段落(手で印を付けた項目の並び)、文献一覧の項目(参考文献などの見出しの下の段落と、[7] や [RFC2119] のような番号で始まる段落)は数えません。法務と文学のジャンルでは既定で止めています(条項や定義、台詞や詩の行は、一文ずつ立てるのが形のため)。
69
- en: One-sentence paragraphs up to the limit, paragraphs separated by a heading, a list, a table or code, lines joined by a single line break, and paragraphs that do not end with a sentence mark (a label such as Date:, a field, a cell of a table written as plain text), paragraphs that open with a mark such as ○, ・ or ※ (items marked by hand), and the entries of a reference list (paragraphs under a References heading, or opening with a label such as [7] or [RFC2119]) are not counted together. The legal and literature presets turn it off, since a clause, a definition, a line of dialogue or of verse stands alone by form.
68
+ ja: 上限までの一文の段落、見出し・箇条書き・表・コードを挟んだ段落、改行一つでつないだ行、文の終わりの印(。..!?)で終わらない段落(「日時:」のような札、項目、平文にした表の欄)、○・※ などの印や(1)・(i)・① のような番号で始まる段落(手で印や番号を付けた項目の並び)、「次のとおりです:」のようにコロンで終わる前置きの後に続く短い段落(印の消えた箇条書きの項目)、どれも同じ三語で始まる段落の並び(英語のように語を空白で区切る文書で、一つの型で書いた項目)、文献一覧の項目(参考文献などの見出しの下の段落と、[7] や [RFC2119] のような番号で始まる段落)は数えません。法務と文学のジャンルでは既定で止めています(条項や定義、台詞や詩の行は、一文ずつ立てるのが形のため)。
69
+ en: One-sentence paragraphs up to the limit, paragraphs separated by a heading, a list, a table or code, lines joined by a single line break, and paragraphs that do not end with a sentence mark (a label such as Date:, a field, a cell of a table written as plain text), paragraphs that open with a mark such as ○, ・ or ※ or a number such as (1), (i) or ① (items marked by hand), the short paragraphs after a lead-in ending with a colon (Follow these steps:, the items of a list that lost its markup), a run whose paragraphs all open with the same three words (entries written in one frame), and the entries of a reference list (paragraphs under a References heading, or opening with a label such as [7] or [RFC2119]) are not counted together. The legal and literature presets turn it off, since a clause, a definition, a line of dialogue or of verse stands alone by form.
70
70
  level_meaning:
71
71
  ja: 一文だけの段落の連続 {limit} 個まで
72
72
  en: up to {limit} one-sentence paragraphs in a row
@@ -56,8 +56,8 @@ example:
56
56
  Send the form by email. We answer every email within a day. Attach the receipt to the email.
57
57
 
58
58
  not_flagged:
59
- ja: 読みが同じでも漢字の違う語(書く・描く)、補助動詞・形式名詞と本来の使い方の書き分け(見て下さい・資料を下さい)、書き分けが意味の違いになる語(成る・なる、言う・いう。法務のジャンルでは、法令の書き方で書き分ける 時・とき、物・もの、在る・ある も)、名詞と動詞(払込み・払い込む、申出・申し出る。辞書が名詞を動詞と読んでも)、二つの語に読める漢字の書き方(行っ は 行く とも 行う とも読み、「様を」の様は さま)、語末の「ー」だけの違い(katakana-long-vowel が見ます)、鉤括弧や引用符の中(判決が法令を文をまたいで引く一重の引用符も)、行の頭のリンクで引いた外のページの題名、語の直後のふりがなの括弧の中(HTTP(えいちてぃーてぃーぴー))、会社の名前(青葉硝子㈱、株式会社の前後の名前)、施設や組織の名前(こども動物園、〜センター)、番号を付けて引いた法令の題名(愛がん動物用飼料の安全性の確保に関する法律(平成20年法律第83号))、引用のすぐ後ろの括弧の書き下し(「天子有道」(天子に道有らば))、文献一覧と文の形で書いた文献の引用、略語の元の語(Communication Access Realtime Translation (CART))、#を付けたハッシュタグ、chaff.yaml の names に書いた名前は見ません。「でもって」(以て)、「と」の後の「いたす」(議題といたします)、複合動詞の後ろの動詞(貼り付ける の 付ける)は、それだけの動詞(持つ、思いを致す、つける)と別に比べます。一語の副詞や語(ただいま、昨日来)、熟語の頭の一字の漢字(曇雨天の曇)、切られたカタカナの名前(ラオカイ のカイ)も比べません。「方」と「ほう」は「が」「で」の前(早いほうが)だけで比べ、人の「方」の多い所(担当の方に)は比べません。文の頭の丸括弧の印(問答の(答))、別の書き方を言う文の丸括弧の中((くもり)、(曇)とも書く。)、漢数字(三十の三)、代名詞に続けたかな(私みたような)、切られた送りがな(誂らえる)も比べません。かなの「たつ」は、時がたつにも立つにも読めるので「立つ」と比べません。複合動詞の頭(出来上る)、文の頭の接続詞(――もっとも)、意味を変えるカタカナ(品物のモノ)は、それだけの語(できる、最も、もの)と別に比べます。接続詞の「さらに、」と副詞の「更に」は同じ語として比べます。法務のジャンルでは、判決の裁判官ごとの意見(裁判官甲の反対意見は次のとおりである。)を、その意見の中だけで比べます。名詞に続けて書いたかなの名詞(全員ぶん)と慣用句の動詞(気をつける)、見立ての「みる」(〜とみられる、増加がみられる)と評価を言う「いえる」(〜とはいえない)は、同じ読みの語(文、名札を付ける、資料を見る)と別に比べます。英字は、頭の字の大文字小文字(Email と email)と、大文字だけの語(強調や略語)、大文字の名前に語尾が付いた語(関数名の SENDs)、名簿の大文字の名字(MICHAEL T. McCAUL)、同じ文の略語の字を示した語(CLIPER と並ぶ CLImatology)、大文字で書いた一節の中の語(免責の段落の eGAIN)、大文字で始まる語でないかけらをハイフンでつないだ名前(medical と並ぶ Medi-Cal)、大文字で始まる語を並べた名前の中のハイフン(inter-agency と並ぶ the Interagency Group)を書き方の違いにしません(HBase のような名前の大文字は比べます)。少ないほうが三分の一を超えるときも言いません。文学のジャンルでは既定で止めています(その時代の書き方のため)。
60
- en: The case of a word's first letter (Email, email; Long-Term, long-term) is not a spelling, nor is a word in capitals only (emphasis or an acronym), nor a name in capitals with an ending (SENDs, OPENed), nor the letters of an acronym picked out beside it (CLImatology next to CLIPER), nor a word inside a passage written in capitals (eGAIN in a disclaimer), nor a name coined from capitalised pieces that are not words (Medi-Cal beside medical). A name spelled with capitals (HBase) is still compared. In Japanese, words whose kanji and kana forms mean different things (成る and なる) are not compared, 方 and ほう are compared only before が or で (早いほうが), since elsewhere 方 is mostly the person (担当の方に), nor a label opening a sentence (the (答) of a Q&A), a bracketed spelling in a sentence that names other spellings ((くもり)、(曇)とも書く), kana たつ beside 立つ, since たつ is also time passing (経つ), a numeral (the 三 of 三十), kana written onto a pronoun (私みたような) or okurigana cut off a word (誂らえる); the head of a compound verb (出来上る), an adverb opening a sentence as a conjunction (――もっとも) and a katakana spelling that names a sense (モノ for goods) are compared apart from the word on its own (できる, 最も, もの), while the conjunction さらに、 and the adverb 更に are one word and are compared; in the legal genres each justice's separate opinion (裁判官甲の反対意見は次のとおりである。) is compared only within itself; the judging みる (〜とみられる) and いえる (〜とはいえない) are compared apart from looking and saying (資料を見る, 一概には言えない), and in the legal genres neither are 時 and とき, 物 and もの or 在る and ある, which legal drafting writes apart. A noun and a verb (払込み and 払い込む) are different words, even where the analyser reads the noun as the verb. Hyphenated words that are another word (re-sign, resign), part of an address (github.com), anything in quotation marks (single ones too, as an opinion quotes a statute over several sentences), the title of an outside page quoted by a link at a line's head, an entry of a reference list and a citation written as a sentence (See Kay and King (2020), Radical Uncertainty …), the words an acronym stands for (Communication Access Realtime Translation (CART), VADER (Valence Aware Dictionary and sEntiment Reasoner)), a hashtag (#vimconf), a surname a roster sets in capitals (MICHAEL T. McCAUL), the hyphens of a capitalised name where the word is otherwise written with or without them (the Interagency Group beside inter-agency), a Japanese reading in brackets right after a word (HTTP(えいちてぃーてぃーぴー)), a Japanese company name written with its form (青葉硝子㈱) and the team's names are not compared. Nothing is reported when the minority is more than a third. The literature preset turns it off, since old spelling belongs to its time. Nor is a kanji spelling that reads as two words (行っ, read as 行く or 行う; 様 before を, read さま) compared with the kana of the reading the tokenizer picked.
59
+ ja: 読みが同じでも漢字の違う語(書く・描く)、補助動詞・形式名詞と本来の使い方の書き分け(見て下さい・資料を下さい)、書き分けが意味の違いになる語(成る・なる、言う・いう。法務のジャンルでは、法令の書き方で書き分ける 時・とき、物・もの、在る・ある も)、名詞と動詞(払込み・払い込む、申出・申し出る。辞書が名詞を動詞と読んでも)、二つの語に読める漢字の書き方(行っ は 行く とも 行う とも読み、「様を」の様は さま)、語末の「ー」だけの違い(katakana-long-vowel が見ます)、鉤括弧や引用符の中(判決が法令を文をまたいで引く一重の引用符も)と、引用した句を地の文でそのまま繰り返した所、行の頭のリンクで引いた外のページの題名、語の直後のふりがなの括弧の中(HTTP(えいちてぃーてぃーぴー))、会社の名前(青葉硝子㈱、株式会社の前後の名前)、施設や組織の名前(こども動物園、〜センター)、番号を付けて引いた法令の題名(愛がん動物用飼料の安全性の確保に関する法律(平成20年法律第83号))、引用のすぐ後ろの括弧の書き下し(「天子有道」(天子に道有らば))、文献一覧と文の形で書いた文献の引用、略語の元の語(Communication Access Realtime Translation (CART))、#を付けたハッシュタグ、chaff.yaml の names に書いた名前は見ません。「でもって」(以て)、「と」の後の「いたす」(議題といたします)、複合動詞の後ろの動詞(貼り付ける の 付ける)は、それだけの動詞(持つ、思いを致す、つける)と別に比べます。一語の副詞や語(ただいま、昨日来)、熟語の頭の一字の漢字(曇雨天の曇)、切られたカタカナの名前(ラオカイ のカイ)も比べません。「方」と「ほう」は「が」「で」の前(早いほうが)だけで比べ、人の「方」の多い所(担当の方に)は比べません。文の頭の丸括弧の印(問答の(答))、別の書き方を言う文の丸括弧の中((くもり)、(曇)とも書く。)、漢数字(三十の三)、代名詞に続けたかな(私みたような)、切られた送りがな(誂らえる)も比べません。かなの「たつ」は、時がたつにも立つにも読めるので「立つ」と比べません。複合動詞の頭(出来上る)、文の頭の接続詞(――もっとも)、意味を変えるカタカナ(品物のモノ)は、それだけの語(できる、最も、もの)と別に比べます。接続詞の「さらに、」と副詞の「更に」は同じ語として比べます。法務のジャンルでは、判決の裁判官ごとの意見(裁判官甲の反対意見は次のとおりである。)を、その意見の中だけで比べます。名詞に続けて書いたかなの名詞(全員ぶん)と慣用句の動詞(気をつける)、見立ての「みる」(〜とみられる、増加がみられる)と評価を言う「いえる」(〜とはいえない)は、同じ読みの語(文、名札を付ける、資料を見る)と別に比べます。英字は、頭の字の大文字小文字(Email と email)と、大文字だけの語(強調や略語)、大文字の名前に語尾が付いた語(関数名の SENDs)、名簿の大文字の名字(MICHAEL T. McCAUL)、同じ文の略語の字を示した語(CLIPER と並ぶ CLImatology)、大文字で書いた一節の中の語(免責の段落の eGAIN)、大文字で始まる語でないかけらをハイフンでつないだ名前(medical と並ぶ Medi-Cal)、大文字で始まる語を並べた名前の中のハイフン(inter-agency と並ぶ the Interagency Group)を書き方の違いにしません(HBase のような名前の大文字は比べます)。少ないほうが三分の一を超えるときも言いません。文学のジャンルでは既定で止めています(その時代の書き方のため)。
60
+ en: The case of a word's first letter (Email, email; Long-Term, long-term) is not a spelling, nor is a word in capitals only (emphasis or an acronym), nor a name in capitals with an ending (SENDs, OPENed), nor the letters of an acronym picked out beside it (CLImatology next to CLIPER), nor a word inside a passage written in capitals (eGAIN in a disclaimer), nor a name coined from capitalised pieces that are not words (Medi-Cal beside medical). A name spelled with capitals (HBase) is still compared. In Japanese, words whose kanji and kana forms mean different things (成る and なる) are not compared, 方 and ほう are compared only before が or で (早いほうが), since elsewhere 方 is mostly the person (担当の方に), nor a label opening a sentence (the (答) of a Q&A), a bracketed spelling in a sentence that names other spellings ((くもり)、(曇)とも書く), kana たつ beside 立つ, since たつ is also time passing (経つ), a numeral (the 三 of 三十), kana written onto a pronoun (私みたような) or okurigana cut off a word (誂らえる); the head of a compound verb (出来上る), an adverb opening a sentence as a conjunction (――もっとも) and a katakana spelling that names a sense (モノ for goods) are compared apart from the word on its own (できる, 最も, もの), while the conjunction さらに、 and the adverb 更に are one word and are compared; in the legal genres each justice's separate opinion (裁判官甲の反対意見は次のとおりである。) is compared only within itself; the judging みる (〜とみられる) and いえる (〜とはいえない) are compared apart from looking and saying (資料を見る, 一概には言えない), and in the legal genres neither are 時 and とき, 物 and もの or 在る and ある, which legal drafting writes apart. A noun and a verb (払込み and 払い込む) are different words, even where the analyser reads the noun as the verb. Hyphenated words that are another word (re-sign, resign), part of an address (github.com), anything in quotation marks (single ones too, as an opinion quotes a statute over several sentences) and a phrase the writer repeats word for word from a quotation in the document, the title of an outside page quoted by a link at a line's head, an entry of a reference list and a citation written as a sentence (See Kay and King (2020), Radical Uncertainty …), the words an acronym stands for (Communication Access Realtime Translation (CART), VADER (Valence Aware Dictionary and sEntiment Reasoner)), a hashtag (#vimconf), a surname a roster sets in capitals (MICHAEL T. McCAUL), the hyphens of a capitalised name where the word is otherwise written with or without them (the Interagency Group beside inter-agency), a Japanese reading in brackets right after a word (HTTP(えいちてぃーてぃーぴー)), a Japanese company name written with its form (青葉硝子㈱) and the team's names are not compared. Nothing is reported when the minority is more than a third. The literature preset turns it off, since old spelling belongs to its time. Nor is a kanji spelling that reads as two words (行っ, read as 行く or 行う; 様 before を, read さま) compared with the kana of the reading the tokenizer picked.
61
61
  level_meaning:
62
62
  ja: 少ないほうが語の {limit}% 以下のとき指摘
63
63
  en: reported when the minority spelling is {limit}% of the word's uses or less
@@ -52,8 +52,8 @@ example:
52
52
  We sell apples, pears, and plums. We ship to homes, offices, and schools. We accept cash, cards, and vouchers.
53
53
 
54
54
  not_flagged:
55
- ja: カンマを打つかどうかは決めません。半々に分かれた文書では、どちらが少ないとも言えないので指しません。郵便番号で終わる住所のあとの and / or(Leeds LS1 4AB, or email)は、住所の読点のあとなので並びとして数えません。最後の読点のあとに前後を空けたダッシュがある and / or(Washington, DC – The Cybersecurity and Infrastructure Security Agency)も、読点はダッシュの前の日付行のものなので数えません。読点のあとの否定(more correct, not cleaner or more elegant)と、順番の語で始まる導入(First, outside a block, …)も並びではありません。主語と述語のあいだに読点で挟んだ例の句(X, such as Y, are excluded and are not…)も並びの項目に数えません。and / or の直前で読点に挟まれ、中に and / or を持つ例の句(gases, such as ozone and carbon dioxide, and the amount)のあとの読点は、句を閉じる読点なので数えません。番号を付けた法典の区分のあとの名前(Title 44, Public Printing and Documents)と、前の項目を限定する句(any other agency or office, in accordance with law or as directed)の中の and / or も数えません。but で始まる節(If you need help, but it’s not a priority, add it and bring it up)、文頭のつなぎの語(However,)、不定冠詞と形容詞だけの語(A simple, minimalist palette / Neat, a flexible and lightweight grid)、目的語を後ろに残した前置詞(impose conditions upon, certain transfers / on or before May 1)は並びの項目ではありません。並びがその先も続くなら(and so forth まで続く並びも)、途中の項目の中の and / or は最後の継ぎ目ではありません(counseling and financial literacy, commercial conversions, and support)。読点なしで同じ接続詞を重ねた並び(questions and issues and use cases)と、省略の印(... や * * *)を含む引用の中の並びも数えません。
56
- en: Whether to use the comma is not decided. A document split evenly has no minority and is not reported. An and / or right after a postal address closed by its postcode ("Leeds LS1 4AB, or email us") follows the address's commas and is not counted as a list, and neither is one after a spaced dash that follows the last comma (a dateline such as "Washington, DC – The Cybersecurity and Infrastructure Security Agency"). Nor is a contrast after a comma ("more correct, not cleaner or more elegant") or an introduction opened by a sequence word ("First, outside a block, …"), and an example phrase set off by commas between a subject and its predicate ("X, such as Y, are excluded and are not…") is not counted as an item. A comma that closes an example phrase holding its own and / or just before the and ("gases, such as ozone and carbon dioxide, and the amount") closes the aside and is not counted. Nor is an and / or inside the name after a numbered division of a code ("Title 44, Public Printing and Documents") or inside a phrase that qualifies the item before it ("any other agency or office, in accordance with law or as directed"). A clause opened by but ("If you need help, but it’s not a priority, add it and bring it up"), a word tying the sentence to the last one ("However,"), an indefinite article with only adjectives ("A simple, minimalist palette" / "Neat, a flexible and lightweight grid") and a preposition left waiting for its object ("impose conditions upon, certain transfers" / "on or before May 1") are not items. When the list goes on past an and / or, including to "and so forth", that and / or is inside an item, not the last joint ("counseling and financial literacy, commercial conversions, and support"). A run that repeats the conjunction without commas ("questions and issues and use cases") and a list inside a quotation that marks an omission (... or * * *) are not counted either.
55
+ ja: カンマを打つかどうかは決めません。半々に分かれた文書では、どちらが少ないとも言えないので指しません。郵便番号で終わる住所のあとの and / or(Leeds LS1 4AB, or email)は、住所の読点のあとなので並びとして数えません。最後の読点のあとに前後を空けたダッシュがある and / or(Washington, DC – The Cybersecurity and Infrastructure Security Agency)も、読点はダッシュの前の日付行のものなので数えません。読点のあとの否定(more correct, not cleaner or more elegant)と、順番の語で始まる導入(First, outside a block, …)も並びではありません。主語と述語のあいだに読点で挟んだ例の句(X, such as Y, are excluded and are not…)も並びの項目に数えません。and / or の直前で読点に挟まれ、中に and / or を持つ例の句(gases, such as ozone and carbon dioxide, and the amount)のあとの読点は、句を閉じる読点なので数えません。番号を付けた法典の区分のあとの名前(Title 44, Public Printing and Documents)と、前の項目を限定する句(any other agency or office, in accordance with law or as directed)の中の and / or も数えません。but で始まる節(If you need help, but it’s not a priority, add it and bring it up)、文頭のつなぎの語(However,)、不定冠詞と形容詞だけの語(A simple, minimalist palette / Neat, a flexible and lightweight grid)、目的語を後ろに残した前置詞(impose conditions upon, certain transfers / on or before May 1)は並びの項目ではありません。並びがその先も続くなら(and so forth まで続く並びも)、途中の項目の中の and / or は最後の継ぎ目ではありません(counseling and financial literacy, commercial conversions, and support)。読点なしで同じ接続詞を重ねた並び(questions and issues and use cases)と、省略の印(... や * * *)を含む引用の中の並びも数えません。動詞と目的語のあいだに読点で挟んだ前置詞の句(received, at its most recent examination, a rating)は並びの項目ではなく、並びの前置詞を最後の項目で言い直したもの(at A, B, C and D campgrounds, and at E)は同じ並びの続きです。題名を文の書き方で並べた所(The bridge witch, The law of finance and regulation, …)の、小文字の語が続く and / or は題名の中のものです。
56
+ en: Whether to use the comma is not decided. A document split evenly has no minority and is not reported. An and / or right after a postal address closed by its postcode ("Leeds LS1 4AB, or email us") follows the address's commas and is not counted as a list, and neither is one after a spaced dash that follows the last comma (a dateline such as "Washington, DC – The Cybersecurity and Infrastructure Security Agency"). Nor is a contrast after a comma ("more correct, not cleaner or more elegant") or an introduction opened by a sequence word ("First, outside a block, …"), and an example phrase set off by commas between a subject and its predicate ("X, such as Y, are excluded and are not…") is not counted as an item. A comma that closes an example phrase holding its own and / or just before the and ("gases, such as ozone and carbon dioxide, and the amount") closes the aside and is not counted. Nor is an and / or inside the name after a numbered division of a code ("Title 44, Public Printing and Documents") or inside a phrase that qualifies the item before it ("any other agency or office, in accordance with law or as directed"). A clause opened by but ("If you need help, but it’s not a priority, add it and bring it up"), a word tying the sentence to the last one ("However,"), an indefinite article with only adjectives ("A simple, minimalist palette" / "Neat, a flexible and lightweight grid") and a preposition left waiting for its object ("impose conditions upon, certain transfers" / "on or before May 1") are not items. When the list goes on past an and / or, including to "and so forth", that and / or is inside an item, not the last joint ("counseling and financial literacy, commercial conversions, and support"). A run that repeats the conjunction without commas ("questions and issues and use cases") and a list inside a quotation that marks an omission (... or * * *) are not counted either. A prepositional phrase set off by commas between a verb and its object ("received, at its most recent examination, a rating") is not an item, a last item that repeats the list's preposition ("at A, B, C and D campgrounds, and at E") continues the same list, and in a list of titles written in sentence case ("The bridge witch, The law of finance and regulation, …") an and / or followed by a lower-case word belongs to a title.
57
57
  level_meaning:
58
58
  ja: 少ないほうの打ち方が {limit} 箇所以下のとき指摘
59
59
  en: reported when the minority style appears {limit} times or fewer
@@ -57,5 +57,5 @@ example:
57
57
  As one engineer put it, "adding people to a late project only makes it later" ([source](https://example.com/essay)). Before adding people, ask whether the work can be split.
58
58
 
59
59
  not_flagged:
60
- ja: 短い鉤括弧(「保存」ボタン、「出典」という語)は語や名前を引いたもので、人の言葉ではないので見ません。誰かに帰する言い回しが引用のすぐ後ろ(「…」と述べた)か少し前(によれば「…」)に無い引用は、書き手自身の言葉か、題名や言い換えなので見ません。「…」と述べる方が適切です、「…」と書くべきです、のように言い方を勧める続きは、人の言葉を引いていないので見ません(続きの一覧は語彙表 quote-advice にあります)。引用の前に誰かに帰する言い回しがあれば(山田氏によれば「…」と言う方が適切だ)、勧めでも人の言葉として見ます。同じ段落にリンク、URL、脚注([^1])、番号の引用([3])、括弧の中の年((1975)、(1999年))があれば、出典を書いたと見ます。「— 名前」の行が無い `>` の引用は、誰の言葉かを示していないので見ません。「— 名前、書名(1975)」のように名前の行に年やリンクがあれば、出典を書いたと見ます。出典が正しいかは見ません。それは `chaff cite` が照らします。記事(ブログ、エッセイ)と論文で見ます。組織の記事は取材した人の言葉を、プレスリリースや報告書は自分たちの言葉や題名で示した文書を引くので、手順書、仕様、契約や法令、小説、話し言葉とあわせて既定で止めています。
61
- en: 'A short quotation (the "Save" button, the word "source") names a word or a thing, not someone''s words, and is not read. A quotation with no such words right after it or shortly before it is the writer''s own words, a title or a paraphrase. In Japanese, words right after the quotation that suggest a wording rather than quote it (「…」と述べる方が適切です) are not read either, unless a word before the quotation gives it to someone; the word list quote-advice holds them. English has no such list yet. A link, a URL, a footnote ([^1]), a numbered citation ([3]) or a year in brackets ((1975)) in the same paragraph counts as a source. A `>` block quotation with no dash line ("— Name") does not say whose words it holds and is not read; a dash line with a year or a link ("— Name, Title (1975)") counts as a source. Whether the source is right is not checked here: `chaff cite` checks that. Blog posts, essays and papers are read. An organisation''s articles quote the people they interviewed, and press releases and reports quote their own people or documents named by title, so they are left out by default, with manuals, specifications, contracts and statutes, fiction and speech.'
60
+ ja: 短い鉤括弧(「保存」ボタン、「出典」という語)は語や名前を引いたもので、人の言葉ではないので見ません。誰かに帰する言い回しが引用のすぐ後ろ(「…」と述べた)か少し前(によれば「…」)に無い引用は、書き手自身の言葉か、題名や言い換えなので見ません。「…」と述べる方が適切です、「…」と書くべきです、のように言い方を勧める続きは、人の言葉を引いていないので見ません(続きの一覧は語彙表 quote-advice にあります)。引用の前に誰かに帰する言い回しがあれば(山田氏によれば「…」と言う方が適切だ)、勧めでも人の言葉として見ます。同じ文で引用より前に「たとえば」がある例(たとえば「…」と書いて送る)、閉じ括弧のすぐ後ろが「と言われて、」「と言われても」のように言われる側の言い方の引用、空白の無い英語の一語("core_claim_false")、英語で物に書かれた言葉(a sign that said "…")も、人の言葉を引いていないので見ません(語彙表 quote-not-attribution)。同じ段落か、空行をはさまずに続く行にリンク、URL、脚注([^1])、番号の引用([3])、括弧の中の年((1975)、(1999年))があれば、出典を書いたと見ます。「— 名前」の行が無い `>` の引用は、誰の言葉かを示していないので見ません。「— 名前、書名(1975)」のように名前の行に年やリンクがあれば、出典を書いたと見ます。出典が正しいかは見ません。それは `chaff cite` が照らします。記事(ブログ、エッセイ)と論文で見ます。組織の記事は取材した人の言葉を、プレスリリースや報告書は自分たちの言葉や題名で示した文書を引くので、手順書、仕様、契約や法令、小説、話し言葉とあわせて既定で止めています。
61
+ en: 'A short quotation (the "Save" button, the word "source") names a word or a thing, not someone''s words, and is not read. A quotation with no such words right after it or shortly before it is the writer''s own words, a title or a paraphrase. In Japanese, words right after the quotation that suggest a wording rather than quote it (「…」と述べる方が適切です) are not read either, unless a word before the quotation gives it to someone; the word list quote-advice holds them. English has no such list yet. Nor are words made up as an example (For instance, a user says "…"), words written on a thing (a sign that said "…"), or a quotation of one word with no space ("core_claim_false"); the word list quote-not-attribution holds these shapes. A link, a URL, a footnote ([^1]), a numbered citation ([3]) or a year in brackets ((1975)) in the same paragraph, or on a line written right next to it with no blank line between, counts as a source. A `>` block quotation with no dash line ("— Name") does not say whose words it holds and is not read; a dash line with a year or a link ("— Name, Title (1975)") counts as a source. Whether the source is right is not checked here: `chaff cite` checks that. Blog posts, essays and papers are read. An organisation''s articles quote the people they interviewed, and press releases and reports quote their own people or documents named by title, so they are left out by default, with manuals, specifications, contracts and statutes, fiction and speech.'
@@ -60,8 +60,8 @@ example:
60
60
  I have no other questions.
61
61
 
62
62
  not_flagged:
63
- ja: 確認・返信・提出のように、済んだかどうかが後で分かる動作を頼む文だけを見ます。「ご了承ください」のような心構えの依頼、「ご不明な点があれば、ご連絡ください」のような条件付きの申し出、「ご質問はメールでお送りください」のような質問を受け付ける申し出、「ご相談ください」「お越しください」のような誘い、連絡先の行(「電話:」)と同じ文の依頼は見ません。期限か担当が、その文か次の文にあれば指しません。「ご提出いただく前に」「送信後、」のように、いつするかを依頼の文が言っていれば期限と読みます。見出しが期限を言っていれば(「見積提出期限:…」「【随時受付】」)、その下の依頼はその期限を受け継ぎます。締め切りだけを書く節(見出しが「提出期限」「DATES:」だけで、締め切りの語と日付がある)があれば、その後ろの依頼はどれもその締め切りを持ちます。しないように頼む文(「送らないでください」「ご遠慮ください」)は禁止なので見ません。ビジネスの文書でだけ動きます。
64
- en: Only requests for an action whose completion can be checked (review, reply, send) are read. Courtesy requests, conditional offers ("If you have questions, let me know"), open offers ("Please send any questions to me"), invitations ("Please come and register") and a request on a contact line (a "Fax" or "Phone" label and its number) are not. A deadline or owner in the same or the next sentence is enough; so is a timing in the request itself ("after you pay"), or a heading above it that names the deadline. A section of its own for the deadline (headed only "DATES:" or "Deadline", with a deadline word and a date in it) gives every request after it that deadline. A request not to do something ("Please do not submit comments by email") forbids and is not read. Business documents only.
63
+ ja: 確認・返信・提出のように、済んだかどうかが後で分かる動作を頼む文だけを見ます。「ご了承ください」のような心構えの依頼、「ご不明な点があれば、ご連絡ください」のような条件付きの申し出、「ご質問はメールでお送りください」のような質問を受け付ける申し出、「ご相談ください」「お越しください」のような誘い、連絡先の行(「電話:」)と同じ文の依頼は見ません。期限か担当が、その文か次の文にあれば指しません。「ご提出いただく前に」「送信後、」のように、いつするかを依頼の文が言っていれば期限と読みます。見出しが期限を言っていれば(「見積提出期限:…」「【随時受付】」)、その下の依頼はその期限を受け継ぎます。締め切りだけを書く節(見出しが「提出期限」「判断の期限」「DATES:」だけで、締め切りの語と日付がある)があれば、その後ろの依頼と、同じ見出しの下で前に並ぶ節(提案の「結論」)の依頼は、どれもその締め切りを持ちます。「ぜひ参加をご検討ください」は誘いなので見ません。題が「(諮問)」の文書は、審議会に期限を付けずに審議を頼む文書なので見ません。しないように頼む文(「送らないでください」「ご遠慮ください」)は禁止なので見ません。ビジネスの文書でだけ動きます。
64
+ en: Only requests for an action whose completion can be checked (review, reply, send) are read. Courtesy requests, conditional offers ("If you have questions, let me know"), open offers ("Please send any questions to me"), invitations ("Please come and register") and a request on a contact line (a "Fax" or "Phone" label and its number) are not. A deadline or owner in the same or the next sentence is enough; so is a timing in the request itself ("after you pay"), or a heading above it that names the deadline. A section of its own for the deadline (headed only "DATES:" or "Deadline", with a deadline word and a date in it) gives that deadline to every request after it, and to the requests in the sections before it at its own level under the same heading (a proposal's "Summary"). In Japanese, 「ぜひ参加をご検討ください」 ("do consider joining") is an invitation, and a document titled 「(諮問)」, which asks a council to deliberate, carries no deadline by its kind. A request not to do something ("Please do not submit comments by email") forbids and is not read. Business documents only.
65
65
  rewrite:
66
66
  depth: light
67
67
  ja:
@@ -74,5 +74,5 @@ example:
74
74
  config: { genre: technical/spec }
75
75
 
76
76
  not_flagged:
77
- ja: 要求の文でない文(説明や背景)、法令、ブログやビジネス文書は見ません。語彙表にない言い方は指しません。文書が定めた名前の「等」(以下「委託先等」という、銀行等(…をいう。)、定義の号の頭の語、次の段落で定義する項目だけを書いた語(9 書面等)と、監査等委員会のように後ろへ語が続く「等」は、列挙を閉じているので指しません。すぐ後ろで種類を名指す「等」(印刷等、二次的に利用される場合/印刷等の二次的利用)も、一覧がその種類の例なので指しません。条件(訂正等を行った際に)、与える権利(消去等できるものとします)、禁止や免責(転載等をしてはならない、責任を負わないものとします)の中の「等」も、わざと広く取った一覧なので指しません。要求が何についてかを説明する節の中の「など」(SNSなどを通じて知り合った人と行う取引は、…必要があります)も、果たす義務の中にないので指しません。条件の語のすぐ後ろの括弧の中の「等」(不要な場合(一つの表だけを読むとき等)も付けること)は、いつ当てはまるかの例なので指しません。英語の as soon as possible は、同じ文に日数の期限(no later than two days after)があれば、期限が決まっているので指しません。英語の but not limited to(including, but not limited to)は、契約書では例の一覧で範囲を狭めないための決まった言い方なので、契約書では指しません。
78
- en: Sentences that state no requirement (background, explanation), statutes, and blogs and business documents are not checked. Phrases not on chaff's lists are not reported. In Japanese, an open word in the clause that describes what the requirement is about (SNSなどを通じて…行う取引は、…必要があります) is not reported, since it is not in what the reader is asked to do. An open-ended word inside a name the document defines (a quoted term, one defined in the brackets after it, or one an item of a definition list holds alone and the next paragraph defines) is not reported. "As soon as possible" followed in the same sentence by a limit in numbers ("but in any event no later than two days after") is bounded, and not reported. In a contract, "including, but not limited to" is a term of art that keeps the listed examples from narrowing the class, and is not reported. In Japanese, 等 right before the words that name the kind it gives examples of (印刷等、二次的に利用, "secondary use, such as printing") is not reported either. Nor is a Japanese 等 in a condition (訂正等を行った際に), a right the writer grants (できるものとする) or a prohibition or disclaimer (てはならない, ないものとする), because such a list is kept wide on purpose, or an open list in brackets right after a condition word (場合(…等), "in cases (…, etc.)"), which gives examples of when the requirement applies.
77
+ ja: 要求の文でない文(説明や背景)、法令、ブログやビジネス文書は見ません。語彙表にない言い方は指しません。文書が定めた名前の「等」(以下「委託先等」という、銀行等(…をいう。)、定義の号の頭の語、次の段落で定義する項目だけを書いた語(9 書面等)と、監査等委員会のように後ろへ語が続く「等」は、列挙を閉じているので指しません。すぐ後ろで種類を名指す「等」(印刷等、二次的に利用される場合/印刷等の二次的利用)も、一覧がその種類の例なので指しません。条件(訂正等を行った際に)、与える権利(消去等できるものとします)、禁止や免責(転載等をしてはならない、責任を負わないものとします)の中の「等」も、わざと広く取った一覧なので指しません。「しないこと。」「ではないこと。」で閉じる文(禁止や否定)、権利が誰のものかを定める文(帰属するものとする、留保されるものとします)、「次の行為をしてはならない。」の下に並ぶ項目の中の「等」も同じです。「当該」「前記」で始まる一覧(当該改良、改善等)は前に挙げた一覧を指し直すだけなので、そこでは指しません。要求が何についてかを説明する節の中の「など」(SNSなどを通じて知り合った人と行う取引は、…必要があります)も、果たす義務の中にないので指しません。条件の語のすぐ後ろの括弧の中の「等」(不要な場合(一つの表だけを読むとき等)も付けること)は、いつ当てはまるかの例なので指しません。英語の as soon as possible は、同じ文に日数の期限(no later than two days after)があれば、期限が決まっているので指しません。英語の but not limited to(including, but not limited to)は、契約書では例の一覧で範囲を狭めないための決まった言い方なので、契約書では指しません。
78
+ en: Sentences that state no requirement (background, explanation), statutes, and blogs and business documents are not checked. Phrases not on chaff's lists are not reported. In Japanese, an open word in the clause that describes what the requirement is about (SNSなどを通じて…行う取引は、…必要があります) is not reported, since it is not in what the reader is asked to do. An open-ended word inside a name the document defines (a quoted term, one defined in the brackets after it, or one an item of a definition list holds alone and the next paragraph defines) is not reported. "As soon as possible" followed in the same sentence by a limit in numbers ("but in any event no later than two days after") is bounded, and not reported. In a contract, "including, but not limited to" is a term of art that keeps the listed examples from narrowing the class, and is not reported. In Japanese, 等 right before the words that name the kind it gives examples of (印刷等、二次的に利用, "secondary use, such as printing") is not reported either. Nor is a Japanese 等 in a condition (訂正等を行った際に), a right the writer grants (できるものとする) or a prohibition or disclaimer (てはならない, ないものとする), because such a list is kept wide on purpose; the same holds for a sentence closed by a negation (しないこと, ではないこと), one that says who holds a right (帰属するものとする, 留保されるものとします), and the items of a list under a lead that forbids them (次の行為をしてはならない). A Japanese list opened by a pointing word (当該改良、改善等, "the said improvements, etc.") names one given before and is not reported again; or an open list in brackets right after a condition word (場合(…等), "in cases (…, etc.)"), which gives examples of when the requirement applies.
@@ -12,8 +12,8 @@ name:
12
12
  en: British and American spellings are mixed
13
13
 
14
14
  why:
15
- ja: colour と color、centre と center、organise と organize のように、イギリスとアメリカの綴りはどちらも正しい英語です。困るのは一つの文書の中で混ざることで、検索で別の語になり、別の人が書いた段落がそこだけ違って見えます。chaff はどちらが正しいかを決めず、文書の中で少ないほうを指摘します。-ise と -ize は別に比べます(Oxford の綴りは colour と organize を一緒に使うため)。文の頭でないのに大文字で始まる語(Labor Day、World Health Organization)は名前なので数えず、引用符の中と引用符で引いた語(‘organize’)も数えません。古い文学の綴りは時代のものなので、文学のジャンルでは既定で止めています。少ないほうが三分の一を超える文書は、使い分けている(引用や固有の用語)と見て言いません。
16
- en: British and American spellings (colour and color, centre and center, organise and organize) are both correct English. What reads badly is mixing them in one document, which makes search treat them as different words and makes another writer's paragraph stand out. chaff does not decide which is right; it points at whichever the document uses less. -ise and -ize are compared on their own, since Oxford spelling writes colour with organize. A word capitalised in the middle of a sentence (Labor Day, World Health Organization) is a name and is not counted, nor is anything in quotation marks or a word quoted on its own (‘organize’). The literature preset turns it off, since old spelling belongs to its time. It says nothing when the minority is more than a third, since the document then mixes them on purpose (quotations, fixed terms).
15
+ ja: colour と color、centre と center、organise と organize のように、イギリスとアメリカの綴りはどちらも正しい英語です。困るのは一つの文書の中で混ざることで、検索で別の語になり、別の人が書いた段落がそこだけ違って見えます。chaff はどちらが正しいかを決めず、文書の中で少ないほうを指摘します。-ise と -ize は別に比べます(Oxford の綴りは colour と organize を一緒に使うため)。文の頭でないのに大文字で始まる語(Labor Day、World Health Organization)は名前なので数えず、引用符の中と引用符で引いた語(‘organize’)、斜線で並べた二つの綴り(analyse/analyze)、文献一覧の中(引いた文献の題や出版者の名前はその文献の綴り)も数えません。古い文学の綴りは時代のものなので、文学のジャンルでは既定で止めています。少ないほうが三分の一を超える文書は、使い分けている(引用や固有の用語)と見て言いません。
16
+ en: British and American spellings (colour and color, centre and center, organise and organize) are both correct English. What reads badly is mixing them in one document, which makes search treat them as different words and makes another writer's paragraph stand out. chaff does not decide which is right; it points at whichever the document uses less. -ise and -ize are compared on their own, since Oxford spelling writes colour with organize. A word capitalised in the middle of a sentence (Labor Day, World Health Organization) is a name and is not counted, nor is anything in quotation marks, a word quoted on its own (‘organize’), the two spellings named side by side (analyse/analyze), or a reference list (a cited title or publisher keeps its own spelling). The literature preset turns it off, since old spelling belongs to its time. It says nothing when the minority is more than a third, since the document then mixes them on purpose (quotations, fixed terms).
17
17
 
18
18
  message:
19
19
  ja: 「{matched}」と書いています(この文書はふつう「{other}」の綴り。{of} 箇所のうち {count} 箇所が違う)
@@ -42,8 +42,8 @@ example:
42
42
  The colour of the logo is blue. The colour of the button is green. The colour of the link is red.
43
43
 
44
44
  not_flagged:
45
- ja: どちらの綴りが正しいかは決めません。-ise と -ize は別に比べるので、Oxford の綴り(colour と organize)はそろっていると見ます。文の途中で大文字で始まる名前(Labor Day)と引用符の中は数えません。
46
- en: Neither spelling is called right. -ise and -ize are compared on their own, so Oxford spelling (colour with organize) is consistent. Names capitalised mid-sentence (Labor Day) and quotations are not counted.
45
+ ja: どちらの綴りが正しいかは決めません。-ise と -ize は別に比べるので、Oxford の綴り(colour と organize)はそろっていると見ます。文の途中で大文字で始まる名前(Labor Day)、引用符の中、斜線で並べた二つの綴り(analyse/analyze)、文献一覧の中は数えません。
46
+ en: Neither spelling is called right. -ise and -ize are compared on their own, so Oxford spelling (colour with organize) is consistent. Names capitalised mid-sentence (Labor Day), quotations, the two spellings side by side (analyse/analyze) and reference lists are not counted.
47
47
  level_meaning:
48
48
  ja: 少ないほうが組の {limit}% 以下のとき指摘
49
49
  en: reported when the minority spelling is {limit}% of its group or less
@@ -40,8 +40,8 @@ example:
40
40
  問い合わせを半分に減らす施策を、四月から全店で始めます。
41
41
 
42
42
  not_flagged:
43
- ja: 接尾の「的」だけを数えます。「目的」「的確」「標的」のように一語になったもの、法令が定めた語(電磁的方法、反社会的勢力)、鉤括弧で引いたものの中は数えません。「か」で並べた選択肢(連続的か断続的か、一時的)は、一つの選びなので一つと数えます。
44
- en: Only the suffix 的 is counted; words such as 目的 and 的確, terms the law defines (電磁的方法, 反社会的勢力), and anything in 「」 are not. The options of one choice joined by か (連続的か断続的か、一時的) count once.
43
+ ja: 接尾の「的」だけを数えます。「目的」「的確」「標的」のように一語になったもの、法令が定めた語(電磁的方法、反社会的勢力)、鉤括弧で引いたものの中は数えません。「か」で並べた選択肢(連続的か断続的か、一時的)と、間に名詞だけを挟んで続けて書いた組(信仰的主観的、時間的空間的)は、一つの事柄なので一つと数えます。文の中に丸数字で並べた箇条(①…、②…)は、項目ごとに数えます。
44
+ en: Only the suffix 的 is counted; words such as 目的 and 的確, terms the law defines (電磁的方法, 反社会的勢力), and anything in 「」 are not. The options of one choice joined by か (連続的か断続的か、一時的) and a pair written together with only nouns between (信仰的主観的, 時間的空間的) count once. A list written inside the sentence with circled numbers (①…、②…) is counted item by item.
45
45
  level_meaning:
46
46
  ja: 一文の「〜的」{limit} 個まで
47
47
  en: up to {limit} 〜的 words in a sentence
@@ -45,8 +45,8 @@ example:
45
45
  来週は、新しい担当者の紹介、先月から続く予算の見直し、春の本社移転の準備、秋の採用計画の確認、年末の懇親会の段取りを話し合います。そのため定例会議は二時間に延長します。
46
46
 
47
47
  not_flagged:
48
- ja: 主題(名詞+は)の無い文、鉤括弧で引いたものの中、上限までの距離は見ません。主題の述語が先の節で閉じる文(「この計画は簡単ではありませんが、…」「〜であって、…」、後ろの節に別の主語がある「〜ではなく、」「〜であるため、」、読点を挟まない「〜は〜で、」「〜であるならば、」「〜にあるところ、」「〜ており、」、受け身で伝える引用「〜だと言われているが」、主題と「〜ますが、」「〜ましたが、」の間に別の主語が無く、その後ろが別の主語(〜が)の節を経て新しい主題に移る文、主題からそこまでに別の主語が無い「〜ことから、」「〜つつ、」「〜としても、」「〜こととし、」(語は語彙表 topic-clause-close)、述語の後ろに丸数字の番号(③)が来て一行に詰まった箇条の次の項目が始まるところ)は、その節の終わりまでを数えます。後ろの節の主語には「〜のほとんどは」も数えます。時や場面を言う「は」(今夜は、当日は、〜ときは)の後ろに別の主題があれば、その主題から数えます。法令でも契約でもない文書が条文をそのまま載せた文(「第7条 …」、形は語彙表 statute-article-opener)は、書き手が直せる文ではないので数えません。英語の文書には使いません。
49
- en: Sentences with no topic (noun + は), quotations in 「」, and distances up to the limit are not counted. When the topic gets its own predicate in an earlier clause (〜ではありませんが, 〜であって; 〜ではなく, 〜であるため, 〜は〜で with no comma between, 〜であるならば, 〜にあるところ or 〜ており followed by a clause with its own subject; a passive report 〜だと言われているが; 〜ますが or 〜ましたが with no other subject between the topic and it, followed by a clause with a subject of its own (〜が) and then a new topic; 〜ことから, 〜つつ, 〜としても or 〜こととし with no other subject between the topic and it, from the topic-clause-close word list; a circled number (③) after a predicate, where a list run into one line starts its next item), the count stops at that clause's end. A later clause's subject may be a part, as in 〜のほとんどは. When a は that sets the time or the case (今夜は, 当日は, 〜ときは) is followed by another topic, the count starts from that topic. An article of a statute that a document of another kind quotes as it stands (第7条 …, the forms in the statute-article-opener word list) is not the writer's sentence and is not counted. Not used on English documents.
48
+ ja: 主題(名詞+は)の無い文、鉤括弧で引いたものの中、上限までの距離は見ません。主題の述語が先の節で閉じる文(「この計画は簡単ではありませんが、…」「〜であって、…」、後ろの節に別の主語がある「〜ではなく、」「〜であるため、」、読点を挟まない「〜は〜で、」「〜であるならば、」「〜にあるところ、」「〜ており、」、受け身で伝える引用「〜だと言われているが」、主題と「〜ますが、」「〜ましたが、」の間に別の主語が無く、その後ろが別の主語(〜が)の節を経て新しい主題に移る文か、直後に名前の新しい主題(〜ましたが、赤澤大臣は…)が立って文末まで続く文、主題からそこまでに別の主語が無い「〜ことから、」「〜つつ、」「〜としても、」「〜こととし、」(語は語彙表 topic-clause-close)、述語の後ろに丸数字の番号(③)が来て一行に詰まった箇条の次の項目が始まるところ)は、その節の終わりまでを数えます。後ろの節の主語には「〜のほとんどは」も数えます。時や場面を言う「は」(今夜は、当日は、〜ときは)の後ろに別の主題があれば、その主題から数えます。法令でも契約でもない文書が条文をそのまま載せた文(「第7条 …」、形は語彙表 statute-article-opener)は、書き手が直せる文ではないので数えません。英語の文書には使いません。
49
+ en: Sentences with no topic (noun + は), quotations in 「」, and distances up to the limit are not counted. When the topic gets its own predicate in an earlier clause (〜ではありませんが, 〜であって; 〜ではなく, 〜であるため, 〜は〜で with no comma between, 〜であるならば, 〜にあるところ or 〜ており followed by a clause with its own subject; a passive report 〜だと言われているが; 〜ますが or 〜ましたが with no other subject between the topic and it, followed by a clause with a subject of its own (〜が) and then a new topic, or straight away by a name as a new topic that runs to the end (〜ましたが、赤澤大臣は…); 〜ことから, 〜つつ, 〜としても or 〜こととし with no other subject between the topic and it, from the topic-clause-close word list; a circled number (③) after a predicate, where a list run into one line starts its next item), the count stops at that clause's end. A later clause's subject may be a part, as in 〜のほとんどは. When a は that sets the time or the case (今夜は, 当日は, 〜ときは) is followed by another topic, the count starts from that topic. An article of a statute that a document of another kind quotes as it stands (第7条 …, the forms in the statute-article-opener word list) is not the writer's sentence and is not counted. Not used on English documents.
50
50
  level_meaning:
51
51
  ja: 主題から述語まで {limit} 字まで
52
52
  en: up to {limit} characters between the topic and the predicate
@@ -20,6 +20,7 @@ extra_word_lists:
20
20
  name-title,
21
21
  date-time-unit,
22
22
  http-method,
23
+ sql-keyword,
23
24
  reference-list-heading,
24
25
  legal-form,
25
26
  company-form,
@@ -34,7 +35,9 @@ extra_word_lists:
34
35
  case-party-joiner,
35
36
  citation-author-joiner,
36
37
  text-message-verb,
38
+ opening-conjunction,
37
39
  product-name,
40
+ phone-label,
38
41
  ]
39
42
  uses: [pos]
40
43
  severity: info
@@ -87,8 +90,8 @@ example:
87
90
  after: Our key goal indicator (KGI) this term is to reach product-market fit (PMF).
88
91
 
89
92
  not_flagged:
90
- ja: 誰でも知っている略語(URL、PDF など)と、前後の括弧で説明した略語、会社の名前の中の英字(㈱ADEKA、CO.,LTD.)は指しません。ひな形の名前の置き場所(OOOO、XX 月)と、外のページへのリンクを並べた一覧の題名の中の略語も指しません(題名の略語は数には入れます)。大文字の違うだけの書き方で説明した略語(TCoP と TCOP)、略語を話題にする文で語に書き出した略語(略語の DOB … date of birth)、一覧で語のすぐ下にその語を名指すリンクを入れ子にした語(- GPL の下の GNU General Public License)も指しません。判例の引用の中の当事者と裁判所の名前(Ashwander v. TVA, 297 U.S. 288、MCI Telecomms. Corp. v. AT&T、(SDNY 1952))、引用の中の行政機関の事件番号(NOV/CFA 01-01)も指しません(引用の略語は数には入れます)。判決の頭の MR. JUSTICE も指しません。括弧の中で略語に「or」で別の呼び名を添えたもの(Department of Health and Human Services (HHS or the Department))、ハイフンで繋いだ字まで名前と揃うもの(Agency for Health (ARPA-H))は説明したと読み、メールアドレスの中の英字(OASH-RFI@hhs.gov)は略語と読みません。文書の中に書いた ABNF の文法の規則の名前と値(CRLF、%x0D)、等級の並び(A と AA)、番号で引く官報や判例集(80 FR 66128、2022 WL 4447293)、日付の付いた識別子の前の種類(WD WD-ABC1-20200101)、PO Box の PO も指しません。文献を引いて始まる注(1. See L. Summers (2015), "…," IMF Economic Review)の中の略語は、引いた文献の題名や誌名の書き方なので指しません(数には入れます)。角括弧の見出しで始まる文献の項目([FETCH] WHATWG, …)の中の略語も同じです。2 つ以上の番号で引く続き物の名前(BCP 78 と BCP 14、DR 4339 と DR 4340)、同じ文の前のほうで名前を書き出した略語(U.S. Small Business Administration … SBA)、肩書きの後ろの判事の姓(Lord HOLT、Mr. Justice BULLER)、商標の印の付いた名前(Acrobat DC®)、条で引く法令集(44 USC. 3502、15 USCA § 709)と、編と区分で引く法令集(21 CFR subpart J)も指しません。ショートメッセージで送るキーワード(texting GNPCGS to 333111)、名前のまま書いた製品の版(Adobe Acrobat Reader DC)、頭だけ大文字の語に繋いだ名前の中の大文字(NITE SAFE-Lite)も指しません。同じ文の前のほうで、同じ名詞の前に小文字で書き出した略語(incident response plan … IR plans)と、括弧の中で小文字の語を添えた略語の名前の頭の頭文字が揃うもの(… Partnerships to Stimulate Cybersecurity Education (RAMPS program))は説明したと読みます。貼り付けたチャットの発言(<jinxer-wm> FIRING …)の中の略語は、発言した人やボットの言葉なので指しません(数には入れます)。
91
- en: Common acronyms (URL, PDF), acronyms spelled out in brackets next to them, and the letters of a company name (㈱ADEKA, CO.,LTD.) are not reported. Neither are a template's placeholders (OOOO, XX 月) or an acronym in the title of a page in a list of links (it still counts towards the limit). Nor are an acronym explained under another capitalisation (TCoP, then TCOP), one a sentence about the abbreviation writes out (the abbreviation DOB … date of birth), or a term in a list whose nested link names it (- GPL above GNU General Public License). Nor are the parties and courts of a case citation (Ashwander v. TVA, 297 U.S. 288; MCI Telecomms. Corp. v. AT&T; (SDNY 1952)), an agency's docket number in a citation (NOV/CFA 01-01); a citation's acronyms still count towards the limit. Nor is the MR. JUSTICE that opens a line of an opinion. An acronym given another name after "or" in its parenthesis (Department of Health and Human Services (HHS or the Department)) or spelled out with its hyphened letter (Agency for Health (ARPA-H)) counts as expanded, and the letters of an email address (OASH-RFI@hhs.gov) are not an acronym. Nor are the rule names and values of an ABNF grammar in the text (CRLF, %x0D), the rungs of a grade ladder (A and AA), a register or reporter cited by number (80 FR 66128, 2022 WL 4447293), the kind written before a dated identifier (WD WD-ABC1-20200101), or the PO of a PO Box. A note that opens with a citation (1. See L. Summers (2015), "…," IMF Economic Review) is written in the cited work's words, and its acronyms are not reported (they still count towards the limit); so is an entry of a reference list keyed by a bracketed label ([FETCH] WHATWG, …). Nor are capitals the document cites by two or more numbers (BCP 78 and BCP 14, DR 4339 and DR 4340), an acronym whose name the same sentence writes out before it (U.S. Small Business Administration … SBA), a judge's surname after his title (Lord HOLT, Mr. Justice BULLER), a name marked as a trademark (Acrobat DC®), a code cited by section (44 USC. 3502, 15 USCA § 709), or a code cited by title and division (21 CFR subpart J). Nor are a keyword to send by text message (texting GNPCGS to 333111), a product's edition written with the product's name (Adobe Acrobat Reader DC), or capitals joined to a capitalised word in a name (NITE SAFE-Lite). An acronym the same sentence writes out in lower case before the same noun (incident response plan … IR plans), and one bracketed with a word in lower case after a name whose head gives its letters (… Partnerships to Stimulate Cybersecurity Education (RAMPS program)), count as expanded. An acronym in a pasted chat line (<jinxer-wm> FIRING …) is the speaker's or the bot's words, and is not reported (it still counts towards the limit).
93
+ ja: 誰でも知っている略語(URL、PDF など)と、前後の括弧で説明した略語、会社の名前の中の英字(㈱ADEKA、CO.,LTD.)は指しません。ひな形の名前の置き場所(OOOO、XX 月)と、外のページへのリンクを並べた一覧の題名の中の略語も指しません(題名の略語は数には入れます)。大文字の違うだけの書き方で説明した略語(TCoP と TCOP)、略語を話題にする文で語に書き出した略語(略語の DOB … date of birth)、一覧で語のすぐ下にその語を名指すリンクを入れ子にした語(- GPL の下の GNU General Public License)も指しません。判例の引用の中の当事者と裁判所の名前(Ashwander v. TVA, 297 U.S. 288、MCI Telecomms. Corp. v. AT&T、(SDNY 1952))、引用の中の行政機関の事件番号(NOV/CFA 01-01)も指しません(引用の略語は数には入れます)。判決の頭の MR. JUSTICE も指しません。括弧の中で略語に「or」で別の呼び名を添えたもの(Department of Health and Human Services (HHS or the Department))、ハイフンで繋いだ字まで名前と揃うもの(Agency for Health (ARPA-H))は説明したと読み、メールアドレスの中の英字(OASH-RFI@hhs.gov)は略語と読みません。文書の中に書いた ABNF の文法の規則の名前と値(CRLF、%x0D)、等級の並び(A と AA)、番号で引く官報や判例集(80 FR 66128、2022 WL 4447293)、日付の付いた識別子の前の種類(WD WD-ABC1-20200101)、PO Box の PO も指しません。文献を引いて始まる注(1. See L. Summers (2015), "…," IMF Economic Review)の中の略語は、引いた文献の題名や誌名の書き方なので指しません(数には入れます)。角括弧の見出しで始まる文献の項目([FETCH] WHATWG, …)の中の略語も同じです。2 つ以上の番号で引く続き物の名前(BCP 78 と BCP 14、DR 4339 と DR 4340)、同じ文の前のほうで名前を書き出した略語(U.S. Small Business Administration … SBA)、肩書きの後ろの判事の姓(Lord HOLT、Mr. Justice BULLER)、商標の印の付いた名前(Acrobat DC®)、条で引く法令集(44 USC. 3502、15 USCA § 709)と、編と区分で引く法令集(21 CFR subpart J)も指しません。ショートメッセージで送るキーワード(texting GNPCGS to 333111)、名前のまま書いた製品の版(Adobe Acrobat Reader DC)、頭だけ大文字の語に繋いだ名前の中の大文字(NITE SAFE-Lite)も指しません。同じ文の前のほうで、同じ名詞の前に小文字で書き出した略語(incident response plan … IR plans)と、括弧の中で小文字の語を添えた略語の名前の頭の頭文字が揃うもの(… Partnerships to Stimulate Cybersecurity Education (RAMPS program))は説明したと読みます。貼り付けたチャットの発言(<jinxer-wm> FIRING …)の中の略語は、発言した人やボットの言葉なので指しません(数には入れます)。番地から州と郵便番号まで揃った所在地の中の大文字(1600 Elm Rd. NE, MS K12-3, Springfield, GA 30329 の NE と MS)、SQL のキーワード(VIEW、WHERE)、文の中で頭だけ大文字の語にも書いた名前を大文字で書いたもの(a hotel / Airbnb と書いた文書の AIRBNB)も指しません。行の頭に大文字で書いた接続詞(OR, Skip to …、二つの選択肢の間に一行で置いた OR)も指しません。
94
+ en: Common acronyms (URL, PDF), acronyms spelled out in brackets next to them, and the letters of a company name (㈱ADEKA, CO.,LTD.) are not reported. Neither are a template's placeholders (OOOO, XX 月) or an acronym in the title of a page in a list of links (it still counts towards the limit). Nor are an acronym explained under another capitalisation (TCoP, then TCOP), one a sentence about the abbreviation writes out (the abbreviation DOB … date of birth), or a term in a list whose nested link names it (- GPL above GNU General Public License). Nor are the parties and courts of a case citation (Ashwander v. TVA, 297 U.S. 288; MCI Telecomms. Corp. v. AT&T; (SDNY 1952)), an agency's docket number in a citation (NOV/CFA 01-01); a citation's acronyms still count towards the limit. Nor is the MR. JUSTICE that opens a line of an opinion. An acronym given another name after "or" in its parenthesis (Department of Health and Human Services (HHS or the Department)) or spelled out with its hyphened letter (Agency for Health (ARPA-H)) counts as expanded, and the letters of an email address (OASH-RFI@hhs.gov) are not an acronym. Nor are the rule names and values of an ABNF grammar in the text (CRLF, %x0D), the rungs of a grade ladder (A and AA), a register or reporter cited by number (80 FR 66128, 2022 WL 4447293), the kind written before a dated identifier (WD WD-ABC1-20200101), or the PO of a PO Box. A note that opens with a citation (1. See L. Summers (2015), "…," IMF Economic Review) is written in the cited work's words, and its acronyms are not reported (they still count towards the limit); so is an entry of a reference list keyed by a bracketed label ([FETCH] WHATWG, …). Nor are capitals the document cites by two or more numbers (BCP 78 and BCP 14, DR 4339 and DR 4340), an acronym whose name the same sentence writes out before it (U.S. Small Business Administration … SBA), a judge's surname after his title (Lord HOLT, Mr. Justice BULLER), a name marked as a trademark (Acrobat DC®), a code cited by section (44 USC. 3502, 15 USCA § 709), or a code cited by title and division (21 CFR subpart J). Nor are a keyword to send by text message (texting GNPCGS to 333111), a product's edition written with the product's name (Adobe Acrobat Reader DC), or capitals joined to a capitalised word in a name (NITE SAFE-Lite). An acronym the same sentence writes out in lower case before the same noun (incident response plan … IR plans), and one bracketed with a word in lower case after a name whose head gives its letters (… Partnerships to Stimulate Cybersecurity Education (RAMPS program)), count as expanded. An acronym in a pasted chat line (<jinxer-wm> FIRING …) is the speaker's or the bot's words, and is not reported (it still counts towards the limit). Nor are the capitals inside a postal address that runs from a street number to a state and ZIP code (the NE and MS of 1600 Elm Rd. NE, MS K12-3, Springfield, GA 30329), a keyword of SQL (VIEW, WHERE), or a name in capitals that the document also writes inside a sentence with only its first letter a capital (AIRBNB in a text that writes a hotel / Airbnb). Nor is a conjunction written in capitals at the head of a line (OR, Skip to …; an OR alone between two options).
92
95
  level_meaning:
93
96
  ja: 説明のない略語が {limit} 種類あれば指摘。文書が自分で略語を {limit} 個展開していれば、1 つの抜けから指摘
94
97
  en: reported once {limit} different acronyms go unexplained, or from the first one when the document itself spells out {limit} others
@@ -69,8 +69,8 @@ example:
69
69
  1. The Supplier shall provide the hosting services (the "Services") to the Customer.
70
70
 
71
71
  not_flagged:
72
- ja: 文書が「本」を付けた語を一つも定義していなければ見ません。定義した語とその言い換え(本件業務、defined-term-form が見ます)、定義した語で始まる語(本サービス上、本報告書提出後)、この文書やその一部を指す語(本条、本項、本書、本契約、本利用規約、本サイト)、どこかでかぎ括弧に入れた語と、定義の箇条書きの項目に語だけを書いたもの(② 本報告書。定義の書き方を chaff が読めなかったもの)とそれで始まる語、一語の言葉(本人、本日、本社)は見ません。定義した語に「等」を付けた語(本報告書等)は、まとめて呼ぶ別の語なので指します。同じ語は最初の一か所だけ指します。英語は、大文字は法令・組織・方針の名前(the Federal Trade Commission Act、Acceptable Use Policies)にも使うので、狭く読みます。"X" means や (the "X") の形の定義が二つ未満の文書は見ません。文の頭や記号の後ろの語、小文字の名詞の前に付けた語(the Premium plan)、名前の一覧(proper-name-word、地名、曜日と月、会社の形、当事者の役割)の語を含むもの、条の参照(Section 4、Schedule A)、前後の語から名前と分かるもの(後ろに番号が付く Proposition 65、長い名前の頭 Post Holdings, Inc. や Canton, Ohio や the Federal Food, Drug, and Cosmetic Act、直後の括弧で定義するもの Certificate of Analysis (“COA”) や the Closing (as defined in the Merger Agreement)、文書が定義した略語の頭文字になるもの “IRS” means the Internal Revenue Service、当事者の立場 Citibank, N.A., as Administrative Agent、すぐ後ろの attached hereto などで添付した書式の題と分かるもの the Termination Certificate attached hereto)、見出し・リンク・太字・HTML の要素・表・箇条書きの見出し・条の頭の見出し(5.8 No Representation or Warranty.)の中、どこかで引用符か太字に入れた語、定義した語を含むもの(大文字小文字を問いません)、文書のどこかで小文字でも書いた語(your Account と your account。普通の語か画面の名前)は見ません。法令・判決・特許は見ません。契約書・規約のジャンルで見ます。
73
- en: "A document that defines no term with the prefix is not read. Defined terms and their other-prefix forms (本件業務, which defined-term-form reads), terms that start with a defined term (本サービス上, 本報告書提出後), the document's names for itself and its parts (本条, 本項, 本書, 本契約, 本利用規約, 本サイト), terms set in quotes anywhere or alone on an item of a definition list (② 本報告書: a definition chaff could not read) and terms that start with one, and single words (本人, 本日, 本社) are not reported. A defined term with 等 added (本報告書等) names a group, another term, and is reported. Each term is reported once, at its first use. English is read narrowly, since capitals also name laws, organisations and policies (the Federal Trade Commission Act, Acceptable Use Policies): a document with fewer than two definitions written with a defining word (“X” means, (the “X”)) is not read; and a word at the start of a sentence or after a mark, a modifier of a lower-case noun (the Premium plan), a run holding a word of the name lists (proper-name-word, places, weekdays and months, company forms, party roles), a reference to a part (Section 4, Schedule A), a name shown by the words around it (a number after it: Proposition 65; a longer name it starts: Post Holdings, Inc., Canton, Ohio, the Federal Food, Drug, and Cosmetic Act; brackets right after it that define it: Certificate of Analysis (“COA”), the Closing (as defined in the Merger Agreement); initials that spell a term the document defines: “IRS” means the Internal Revenue Service; a party's capacity: Citibank, N.A., as Administrative Agent; words right after it that make it the title of an attached form: the Termination Certificate attached hereto), anything inside a heading, a link, bold, an HTML element, a table, a list item's label or a clause's run-in caption (5.8 No Representation or Warranty.), a word set in quotes or bold anywhere, a run holding a defined term in any case, and a word the document also writes in lower case (your Account and your account: an ordinary word or a screen's name) are not reported. Statutes, court decisions and patents are not read; the contract genre runs this rule."
72
+ ja: 文書が「本」を付けた語を一つも定義していなければ見ません。定義した語とその言い換え(本件業務、defined-term-form が見ます)、定義した語で始まる語(本サービス上、本報告書提出後)、この文書やその一部を指す語(本条、本項、本書、本契約、本利用規約、本サイト)、どこかでかぎ括弧に入れた語と、定義の箇条書きの項目に語だけを書いたもの(② 本報告書。定義の書き方を chaff が読めなかったもの)とそれで始まる語、一語の言葉(本人、本日、本社)は見ません。定義した語に「等」を付けた語(本報告書等)は、まとめて呼ぶ別の語なので指します。同じ語は最初の一か所だけ指します。英語は、大文字は法令・組織・方針の名前(the Federal Trade Commission Act、Acceptable Use Policies)にも使うので、狭く読みます。"X" means や (the "X") の形の定義が二つ未満の文書は見ません。文の頭や記号の後ろの語、小文字の名詞の前に付けた語(the Premium plan)、名前の一覧(proper-name-word、地名、曜日と月、会社の形、当事者の役割)の語を含むもの、条の参照(Section 4、Schedule A)、前後の語から名前と分かるもの(後ろに番号が付く Proposition 65、長い名前の頭 Post Holdings, Inc. や Canton, Ohio や the Federal Food, Drug, and Cosmetic Act、直後の括弧で定義するもの Certificate of Analysis (“COA”) や the Closing (as defined in the Merger Agreement)、文書が定義した略語の頭文字になるもの “IRS” means the Internal Revenue Service、当事者の立場 Citibank, N.A., as Administrative Agent、すぐ後ろの attached hereto などで添付した書式の題と分かるもの the Termination Certificate attached hereto)、見出し・リンク・太字・HTML の要素・表・箇条書きの見出し・条の頭の見出し(5.8 No Representation or Warranty.)の中、どこかで引用符か太字に入れた語、定義した語を含むもの(大文字小文字を問いません)、文書のどこかで小文字でも書いた語(your Account と your account。普通の語か画面の名前)、空白の続きで分かれた語(Normal Business Hours は一つの語)、句点や斜線で次の語と続けて書いたもの(Borrowmoney.com、Leased/rent)、小さな語まで大文字で始めたもの(Maintenance And Deployment。語ごとに大文字にした書き方)は見ません。「本共同研究開発契約において定義した用語は…同契約内の定義に従う」のように別の文書の定義に従うと書いた文書では、定義の多くが向こうにあるので、ほかの語の書き誤りに見える語(「本学習済みモデル」の横の「本学習モデル」)だけを指します。文書の名前(本共同開発契約)は、定義した文書名(本共同研究開発契約)の書き誤りに見えれば指します。法令・判決・特許は見ません。契約書・規約のジャンルで見ます。
73
+ en: "A document that defines no term with the prefix is not read. Defined terms and their other-prefix forms (本件業務, which defined-term-form reads), terms that start with a defined term (本サービス上, 本報告書提出後), the document's names for itself and its parts (本条, 本項, 本書, 本契約, 本利用規約, 本サイト), terms set in quotes anywhere or alone on an item of a definition list (② 本報告書: a definition chaff could not read) and terms that start with one, and single words (本人, 本日, 本社) are not reported. A defined term with 等 added (本報告書等) names a group, another term, and is reported. Each term is reported once, at its first use. English is read narrowly, since capitals also name laws, organisations and policies (the Federal Trade Commission Act, Acceptable Use Policies): a document with fewer than two definitions written with a defining word (“X” means, (the “X”)) is not read; and a word at the start of a sentence or after a mark, a modifier of a lower-case noun (the Premium plan), a run holding a word of the name lists (proper-name-word, places, weekdays and months, company forms, party roles), a reference to a part (Section 4, Schedule A), a name shown by the words around it (a number after it: Proposition 65; a longer name it starts: Post Holdings, Inc., Canton, Ohio, the Federal Food, Drug, and Cosmetic Act; brackets right after it that define it: Certificate of Analysis (“COA”), the Closing (as defined in the Merger Agreement); initials that spell a term the document defines: “IRS” means the Internal Revenue Service; a party's capacity: Citibank, N.A., as Administrative Agent; words right after it that make it the title of an attached form: the Termination Certificate attached hereto), anything inside a heading, a link, bold, an HTML element, a table, a list item's label or a clause's run-in caption (5.8 No Representation or Warranty.), a word set in quotes or bold anywhere, a run holding a defined term in any case, and a word the document also writes in lower case (your Account and your account: an ordinary word or a screen's name) are not reported, and neither are words split only by a run of spaces read apart (Normal Business Hours is one term), a word glued to more letters by a full stop or a slash (Borrowmoney.com, Leased/rent), or a phrase that capitalises its small words too (Maintenance And Deployment: every word capitalised). In Japanese, a document that says it follows another document's definitions (…同契約内の定義に従う) has most of its terms defined there, so only a term that looks like a slip for another of its terms (本学習モデル beside 本学習済みモデル) is reported; a document's name (本共同開発契約) is reported when it looks like a slip for a defined name (本共同研究開発契約). Statutes, court decisions and patents are not read; the contract genre runs this rule."
74
74
  rewrite:
75
75
  depth: light
76
76
  ja:
@@ -10,8 +10,8 @@ name:
10
10
  en: Unfilled placeholder
11
11
 
12
12
  why:
13
- ja: "「【会社名】」「[Your Name]」「(ここに会社名を書く)」は、雛形や生成した下書きに残る空欄です。値に「TODO: …」「未定」とだけ書いたものも、後で埋めるつもりの空欄です。英語の雛形の指示の行(OPTIONAL: General conclusions …)が、埋めた報告書に残ったものも同じです。文体の好みではなく、埋め忘れです。ビジネス文書の宛名・署名・金額・日付の位置に残った「〇〇様」「株式会社〇〇」「〇万円」も同じ空欄です。文の中で例として置いた「○○」は正しい書き方なので数えません。"
14
- en: '"[Your Name]" and "[Insert Date]" are the blanks a template or a generated draft leaves. A value that only says "TODO: …" or "TBD" is a blank too, left to fill in later, and so is an instruction line from the template left in a filled report ("OPTIONAL: General conclusions …"). This is not a matter of style: the blank was never filled. In a Japanese business document, the blank marks (〇〇) left where a name, a sum or a date belongs (〇〇様, 株式会社〇〇, 〇万円) are blanks too.'
13
+ ja: "「【会社名】」「[Your Name]」「(ここに会社名を書く)」は、雛形や生成した下書きに残る空欄です。値に「TODO: …」「未定」とだけ書いたものも、後で埋めるつもりの空欄です。英語の雛形の指示の行(OPTIONAL: General conclusions …)が、埋めた報告書に残ったものも同じです。文体の好みではなく、埋め忘れです。ビジネス文書の宛名・署名・金額・日付・住所・電話番号の位置に残った「〇〇様」「株式会社〇〇」「〇万円」「氏名:〇〇」「03-〇〇〇〇」も同じ空欄です。表の升に残った空欄も数えます。文の中で例として置いた「○○」は正しい書き方なので数えません。"
14
+ en: '"[Your Name]" and "[Insert Date]" are the blanks a template or a generated draft leaves. A value that only says "TODO: …" or "TBD" is a blank too, left to fill in later, and so is an instruction line from the template left in a filled report ("OPTIONAL: General conclusions …"). This is not a matter of style: the blank was never filled. In a Japanese business document, the blank marks (〇〇) left where a name, a sum, a date, an address or a phone number belongs (〇〇様, 株式会社〇〇, 〇万円, 氏名:〇〇, 03-〇〇〇〇) are blanks too. A blank left in a table cell counts as well.'
15
15
 
16
16
  message:
17
17
  ja: 「{matched}」が埋まっていません
@@ -47,8 +47,8 @@ example:
47
47
  The report is attached to this email.
48
48
 
49
49
  not_flagged:
50
- ja: 大文字を含む語、四字より短い語、コード・URL・メールアドレスの中の語、強調や角括弧で頭の字を分けた語の残り(**G**lobally の lobally、[e]xpressions の xpressions)、文書で二度以上使う語、一字違いの辞書の語が無い語、chaff.yaml の names に並べた語、語彙表 known-misspelling が別に言う語は指しません。同じ文書がコード(`tidyq check` やコードの区画)にも書いた語も、その文書の名前なので指しません。検索の語の後に * を付けた形(vaccin*)と、それと同じ行に並べた検索の語も、語ではないので指しません。文書がほかの語尾で使う語(rightsize と rightsized)、引用符や括弧の中に一語だけ書いた語("mailto"、(jchaplin))、文書が URL にも書いた語、他の言語の語の隣の語(bête noire)、角括弧や括弧の字を続けた語(handl[e]、neuro(a)typicality)、= の前の変数の名(nboot=2,000)、四字以上の辞書の語二つを続けた語(crowdwork)、薬の国際一般名の語幹で終わる語(paroxetine の -oxetine)も指しません。
51
- en: Words with a capital letter, words shorter than four letters, words in code, URLs and email addresses, the rest of a word whose first letter is set apart by emphasis or brackets (lobally in **G**lobally, xpressions in [e]xpressions), words used twice or more in the document, words with no dictionary word one letter away, words listed under names in chaff.yaml, and the misspellings known-misspelling reports are not reported. Nor is a word the document also writes in code (`tidyq check`, a code block), since it is a name the document uses. Nor is a search stem ending in a wildcard (vaccin*), or any search term on the same line. Nor is a word the document uses with another ending (rightsize and rightsized), a word alone in quotes or brackets ("mailto", (jchaplin)), a word the document also writes in a URL, a word beside a word of another language (bête noire), a word joined to a bracketed letter (handl[e], neuro(a)typicality), a variable name before = (nboot=2,000), two dictionary words of four letters or more written as one (crowdwork), or a word ending in the stem of a drug's international name (-oxetine in paroxetine).
50
+ ja: 大文字を含む語、四字より短い語、コード・URL・メールアドレスの中の語、強調や角括弧で頭の字を分けた語の残り(**G**lobally の lobally、[e]xpressions の xpressions)、文書で二度以上使う語、一字違いの辞書の語が無い語、chaff.yaml の names に並べた語、語彙表 known-misspelling が別に言う語は指しません。同じ文書がコード(`tidyq check` やコードの区画)にも書いた語も、その文書の名前なので指しません。検索の語の後に * を付けた形(vaccin*)と、それと同じ行に並べた検索の語も、語ではないので指しません。文書がほかの語尾で使う語(rightsize と rightsized)、引用符や括弧の中に一語だけ書いた語("mailto"、(jchaplin))、文書が URL にも書いた語、他の言語の語の隣の語(bête noire)、角括弧や括弧の字を続けた語(handl[e]、neuro(a)typicality)、= の前の変数の名(nboot=2,000)、四字以上の辞書の語二つを続けた語(crowdwork)、薬の国際一般名の語幹で終わる語(paroxetine の -oxetine)、版の番号の前の語(golang 1.21.5)、誌の巻と号の前の語(Biochemia medica 22 (3) の medica)、辞書に無い別の語と一字だけ違う語(pthread と bthread、同じ作りの名前)も指しません。
51
+ en: Words with a capital letter, words shorter than four letters, words in code, URLs and email addresses, the rest of a word whose first letter is set apart by emphasis or brackets (lobally in **G**lobally, xpressions in [e]xpressions), words used twice or more in the document, words with no dictionary word one letter away, words listed under names in chaff.yaml, and the misspellings known-misspelling reports are not reported. Nor is a word the document also writes in code (`tidyq check`, a code block), since it is a name the document uses. Nor is a search stem ending in a wildcard (vaccin*), or any search term on the same line. Nor is a word the document uses with another ending (rightsize and rightsized), a word alone in quotes or brackets ("mailto", (jchaplin)), a word the document also writes in a URL, a word beside a word of another language (bête noire), a word joined to a bracketed letter (handl[e], neuro(a)typicality), a variable name before = (nboot=2,000), two dictionary words of four letters or more written as one (crowdwork), a word ending in the stem of a drug's international name (-oxetine in paroxetine), a word before a release number (golang 1.21.5), a word before a journal's volume and issue (medica in Biochemia medica 22 (3)), or a word one letter from another word of the document the dictionary does not know either (pthread and bthread, names on one scheme).
52
52
  rewrite:
53
53
  depth: light
54
54
  en:
@@ -53,7 +53,7 @@ example:
53
53
 
54
54
  not_flagged:
55
55
  ja: 「当社比」「〜の中で」「〜のほうが」のように、比べる相手や範囲が同じ文にあれば指しません。「SES との最大の違い」のように、最上級のすぐ前に相手があるときも同じです。「国内最大」「業界最速」のように名詞がじかに付いた最上級と、「日本で最も」のように名前と「で」が前にある最上級は、範囲を言っているので指しません。「バグを検出できる唯一のルール」のように、動詞で終わる節が最上級のすぐ前にあって範囲を決めているときも同じです。「」や引用符で引いた言葉の中の最上級は、書き手の主張ではないので指しません。「最大化する」のように接尾辞が付いて別の語になったものも指しません。「芭蕉の最も有名な句」のように名前と「の」がすぐ前にある最上級、「最高裁判所」「最も近い駅」のような決まった言い方、「最大5億ドル」のように数のある文の最上級も指しません。「世界で唯一の」のように場や分野の名詞と「で」が前にある最上級、「俺にとって最高の日」のように誰にとってなのかが同じ節にある最上級、「最高の規律が求められる」「最高の栄誉が与えられるべき」のように求めるもの・あるべき姿として述べた最上級、「最も重要なことは」のように話の順を示す言い方、問いの文(?で終わる文)の最上級も指しません。
56
- en: A superlative with its comparison or scope in the same sentence ("in our range", "than last year", "the fastest in the industry") is not reported, nor is one limited by a clause ("the best we have measured"), nor one inside quotation marks, which are someone else's words, nor one inside a set phrase ("even the best", "in the best case", "make the most of", "the most recent", "the most common"), nor one in a question. A superlative that is sought or chosen rather than claimed ("to achieve the best results", "before deciding the best way", "start with the most important tasks") is not reported, nor one whose predicate points at a member of a set ("the best plan is the one you keep"), nor one whose noun names a part of a whole ("the most important part", "the most important role"), nor one whose set follows its noun ("the best thing about this event", "the most common form of debunking", "the most important tool for creating the culture").
56
+ en: A superlative with its comparison or scope in the same sentence ("in our range", "than last year", "the fastest in the industry") is not reported, nor is one limited by a clause ("the best we have measured"), nor one inside quotation marks, which are someone else's words, nor one inside a set phrase ("even the best", "in the best case", "make the most of", "the most recent", "the most common"), nor one in a question. A superlative that is sought or chosen rather than claimed ("to achieve the best results", "before deciding the best way", "start with the most important tasks") is not reported, nor one whose predicate points at a member of a set ("the best plan is the one you keep") or puts it in an order ("the most critical vulnerabilities are addressed first"), nor one whose noun names a part of a whole ("the most important part", "the most important role"), nor one whose set follows its noun ("the best thing about this event", "the most common form of debunking", "the most important tool for creating the culture").
57
57
  level_meaning:
58
58
  ja: 比べる相手のない最上級が {limit} 箇所あれば指摘
59
59
  en: reported once there are {limit} such claims
@@ -179,7 +179,8 @@ Use this section when asked to make a text sound less generated: 「AIっぽさ
179
179
  chaff marks the shapes common in generated text (group "Signs of generated text" in `npx chaffjs rules`: `ai-tell`,
180
180
  `contrast-framing`, `stock-transition`, `announcing-opener`, `colon-lead-in`, `over-general-claim` (English only),
181
181
  `q-fragment-answer` (English only), `assistant-residue`, `email-stock-courtesy` (English emails: stacked "I hope this email finds
182
- you well"-type courtesies), `closing-exhortation` (a closing that cheers the reader on: 「ぜひ〜してみてください」,
182
+ you well"-type courtesies), `honesty-marker` ("Honestly,", 「正直、」: one is reported in blog posts and business documents),
183
+ `closing-exhortation` (a closing that cheers the reader on: 「ぜひ〜してみてください」,
183
184
  "You've got this"), `cold-open` (an opening that piles a bare wish, a quoted echo of the previous sentence and a teaser),
184
185
  `unprompted-denial` (sentences that deny a premise nobody stated: 「〜の話ではありません」, "This isn't about tooling."), and the signals
185
186
  `ai-generated-composite` reads, among others). Most of them do not run in `technical/spec` or in the legal, docs, literature and
@@ -160,6 +160,7 @@ export const HUMAN_SHARES: HumanShares = {
160
160
  speech: { documents: 7, fired: 0 },
161
161
  technical: { documents: 49, fired: 0 },
162
162
  },
163
+ "honesty-marker": { blog: { documents: 23, fired: 0 }, business: { documents: 80, fired: 0 } },
163
164
  "no-em-dash": {
164
165
  academic: { documents: 10, fired: 0 },
165
166
  blog: { documents: 23, fired: 0 },
@@ -18,3 +18,18 @@ export const laterAlternatives = (tokens: readonly Token[], counted: readonly nu
18
18
  return tokens.slice(previous + 2, at).every(isSkippable);
19
19
  }),
20
20
  );
21
+
22
+ const isJoiningNoun = (token: Token): boolean => token.pos === "NOUN" || token.pos === "PROPN";
23
+
24
+ /**
25
+ * Of the counted tokens, those written straight onto the one before with only nouns between (信仰的主観的, 時間的空間的,
26
+ * 気候学的地理学的): the pair names one combined quality, so only the first counts. A particle, a comma or な between them
27
+ * (効果的かつ効率的, 経済的、社会的) keeps them two.
28
+ */
29
+ export const laterJoined = (tokens: readonly Token[], counted: readonly number[]): ReadonlySet<number> =>
30
+ new Set(
31
+ counted.filter((at, k) => {
32
+ const previous = counted[k - 1];
33
+ return previous !== undefined && at - previous > 1 && tokens.slice(previous + 1, at).every(isJoiningNoun);
34
+ }),
35
+ );
@@ -0,0 +1,21 @@
1
+ /** A fenced block: code the closing shows, never only a mention of code the body gave. */
2
+ const FENCE = /^[ \t]*(?:```|~~~)/mu;
3
+ /** Inline code (`pip freeze`) and a bare or linked address (https://…). */
4
+ const CODE_OR_LINK = /`([^`\n]+)`|(https?:\/\/[^\s)>\]]+)/gu;
5
+
6
+ /**
7
+ * Whether the closing gives code or a link the text before it did not. A closing that repeats the body's commands
8
+ * (`python -m venv .venv` again) restates the body, the same as one that repeats its numbers.
9
+ */
10
+ export const hasNewCodeOrLink = (closing: string, earlier: string): boolean =>
11
+ FENCE.test(closing) || [...closing.matchAll(CODE_OR_LINK)].some((match) => !earlier.includes((match[1] ?? match[2] ?? "").trim()));
12
+
13
+ const HEADING = /^#{1,6}[ \t]/u;
14
+ const ITEM_MARKER = /^[ \t]*(?:[-*+]|\d{1,9}[.)])[ \t]/u;
15
+ const ADDRESS = /https?:\/\//u;
16
+
17
+ /** Whether a section, its heading aside, is only list items that each carry a link: references, not a closing that could restate anything. */
18
+ export const isLinkList = (section: string): boolean => {
19
+ const lines = section.split("\n").filter((line) => line.trim() !== "" && !HEADING.test(line));
20
+ return lines.length > 0 && lines.every((line) => ITEM_MARKER.test(line) && ADDRESS.test(line));
21
+ };
@@ -0,0 +1,27 @@
1
+ import type { Finding } from "./plugin.ts";
2
+
3
+ /** A finding that adds up measures names here the rules that read the same shapes as some of them (ai-structure). */
4
+ export const SAME_SHAPE_VALUE = "same_shape_rules";
5
+
6
+ const sameShapeRules = (finding: Finding): string[] =>
7
+ String(finding.values[SAME_SHAPE_VALUE] ?? "")
8
+ .split(",")
9
+ .filter((id) => id !== "");
10
+
11
+ /**
12
+ * Whether a finding still reaches its own limit once the measures already counted by their own rule are taken out:
13
+ * section length variation and section-length-uniformity are one sign, and a composite would count it twice.
14
+ */
15
+ const countsOnItsOwn = (finding: Finding, fired: readonly string[]): boolean => {
16
+ const shared = sameShapeRules(finding).filter((id) => fired.includes(id)).length;
17
+ const count = finding.values["count"];
18
+ const limit = finding.values["limit"];
19
+ if (shared === 0 || typeof count !== "number" || typeof limit !== "number") return true;
20
+ return count - shared >= limit;
21
+ };
22
+
23
+ /** The signals of `from` a composite counts: each one that fired, and one sign only once. */
24
+ export const compositeSignals = (from: readonly string[], found: readonly Finding[]): string[] => {
25
+ const fired = from.filter((id) => found.some((finding) => finding.rule === id));
26
+ return fired.filter((id) => found.some((finding) => finding.rule === id && countsOnItsOwn(finding, fired)));
27
+ };
@@ -1,6 +1,8 @@
1
1
  // 日付の書き方(2026-10-02、2026年10月2日、Oct 2, 2026)を読む。純粋な関数だけを置く。
2
2
  // 月の名前と元号は言語パッケージの語彙表が渡す。年・月・日のそろった日付だけを読む(年だけ、月日だけは書き方を比べられない)。
3
3
 
4
+ import type { Span } from "./plugin.ts";
5
+
4
6
  /** 見つけた日付 1 つ。offset は渡した文字列の中の位置、style は書き方の名前。 */
5
7
  export type WrittenDate = { readonly offset: number; readonly written: string; readonly style: string };
6
8
 
@@ -123,8 +125,8 @@ const withoutGap = (text: string): string => {
123
125
  return chars.slice(0, chars.findLastIndex((char) => !STAMP_GAP.test(char)) + 1).join("");
124
126
  };
125
127
 
126
- /** 刻印のラベルの前に来てよい字。行の頭か、ページの部品を区切る空白と縦線(ページID:0014616 更新日:)。 */
127
- const STAMP_LEAD = /[\s||]/u;
128
+ /** 刻印のラベルの前に来てよい字。行の頭か、ページの部品を区切る空白と縦線(ページID:0014616 更新日:)と、刻印を囲む開き括弧([更新日 2021年10月1日])。 */
129
+ const STAMP_LEAD = /[\s||[[【((]/u;
128
130
 
129
131
  /**
130
132
  * text が刻印のラベル word で終わり、ラベルが行の頭か区切りの後ろから始まる。文の中の語(この日付は公開:、The date:、
@@ -145,18 +147,63 @@ export const stampedDate = (text: string, offset: number, stampLabels: readonly
145
147
  return stampLabels.some((label) => endsWithLabel(before, label));
146
148
  };
147
149
 
148
- type DateGroup = "head" | "body" | "stamp";
150
+ /** 見出しの行。 */
151
+ const HEADING_LINE = /^ {0,3}#{1,6}(?:\s|$)/u;
152
+ /** 日付を除いた行に残ってよいもの: 空白と強調の印。 */
153
+ const DATE_ONLY_REST = /^[\s*_]*$/u;
154
+
155
+ const lineAround = (text: string, offset: number): Span => {
156
+ const end = text.indexOf("\n", offset);
157
+ return { start: text.lastIndexOf("\n", offset - 1) + 1, end: end === -1 ? text.length : end };
158
+ };
159
+
160
+ /**
161
+ * 文書の頭(空行と見出しのほかに何も無い所)の、日付だけの行。題のすぐ下に CMS が付けるページの日付(# 講師募集 / 2026年10月7日)で、
162
+ * 書いた人が本文で選んだ書き方(令和8年…)とは別のもの。source は記法を覆う前の文書で、位置は text と同じ。
163
+ */
164
+ export const headerDate = (source: string, date: WrittenDate): boolean => {
165
+ const line = lineAround(source, date.offset);
166
+ const rest = source.slice(line.start, date.offset) + source.slice(date.offset + date.written.length, line.end);
167
+ if (!DATE_ONLY_REST.test(rest)) return false;
168
+ return source
169
+ .slice(0, line.start)
170
+ .split("\n")
171
+ .every((above) => above.trim() === "" || HEADING_LINE.test(above));
172
+ };
173
+
174
+ /** 括弧一つで行の全部を囲んだ行([受理:2020-11-18]、[更新日 2021年10月1日])。 */
175
+ const BRACKETED_LINE = /^\s*[[[【((][^\]]】))\n]*[\]]】))]\s*$/u;
176
+
177
+ /** 日付が、括弧一つで囲んだ行の中にある。論文の受理日や頁の更新日を付け足した刻印で、本文の日付の書き方とは別のもの。 */
178
+ export const bracketedDate = (text: string, date: WrittenDate): boolean => {
179
+ const line = lineAround(text, date.offset);
180
+ return BRACKETED_LINE.test(text.slice(line.start, line.end));
181
+ };
182
+
183
+ /**
184
+ * 日付の置き場所の手がかり。stampLabels は刻印のラベル(語彙表 date-stamp-label)、cited は文献一覧と注の並びの範囲、
185
+ * source は記法を覆う前の文書(文書の頭の日付の行を見分ける)。
186
+ */
187
+ export type DatePlaces = { readonly stampLabels?: readonly string[]; readonly cited?: readonly Span[]; readonly source?: string };
188
+
189
+ type DateGroup = "head" | "body" | "stamp" | "cited";
190
+
191
+ const isWithin = (spans: readonly Span[], offset: number): boolean => spans.some((span) => offset >= span.start && offset < span.end);
149
192
 
150
- const groupOf = (text: string, date: WrittenDate, stampLabels: readonly string[]): DateGroup => {
151
- if (stampedDate(text, date.offset, stampLabels)) return "stamp";
193
+ const groupOf = (text: string, date: WrittenDate, places: DatePlaces): DateGroup => {
194
+ if (isWithin(places.cited ?? [], date.offset)) return "cited";
195
+ if (stampedDate(text, date.offset, places.stampLabels ?? []) || bracketedDate(text, date)) return "stamp";
196
+ if (places.source !== undefined && headerDate(places.source, date)) return "stamp";
152
197
  return opensLine(text, date.offset) ? "head" : "body";
153
198
  };
154
199
 
200
+ /** 比べる組。文献一覧と注の日付(cited)は比べない。題の中の日付は引いた文書の書き方で、参照日は文献の書き方の決まりに従う。 */
155
201
  const GROUP_ORDER: readonly DateGroup[] = ["head", "body", "stamp"];
156
202
 
157
203
  /**
158
204
  * 行の頭の日付と、文の中の日付と、更新日・公開日の刻印の日付を分ける。予定表を 2026-10-16 で並べ、文では 14 October 2026 と
159
205
  * 書くのは使い分けで、混ざりではない。刻印のラベルは言語パッケージの語彙表(date-stamp-label)が渡す。書き方はそれぞれの組の中でだけ比べる。
206
+ * 文献一覧と注の並びの中の日付は、どの組にも入れない。
160
207
  */
161
- export const dateGroups = (text: string, dates: readonly WrittenDate[], stampLabels: readonly string[] = []): WrittenDate[][] =>
162
- GROUP_ORDER.map((group) => dates.filter((date) => groupOf(text, date, stampLabels) === group)).filter((group) => group.length > 0);
208
+ export const dateGroups = (text: string, dates: readonly WrittenDate[], places: DatePlaces = {}): WrittenDate[][] =>
209
+ GROUP_ORDER.map((group) => dates.filter((date) => groupOf(text, date, places) === group)).filter((group) => group.length > 0);