chaffjs 0.29.0 → 0.31.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 (681) hide show
  1. package/dist/announced-count.d.ts +2 -0
  2. package/dist/announced-count.d.ts.map +1 -1
  3. package/dist/announced-count.js +4 -3
  4. package/dist/announced-count.js.map +1 -1
  5. package/dist/contacts/addresses.d.ts +21 -0
  6. package/dist/contacts/addresses.d.ts.map +1 -0
  7. package/dist/contacts/addresses.js +144 -0
  8. package/dist/contacts/addresses.js.map +1 -0
  9. package/dist/contacts/emails.d.ts +11 -0
  10. package/dist/contacts/emails.d.ts.map +1 -0
  11. package/dist/contacts/emails.js +51 -0
  12. package/dist/contacts/emails.js.map +1 -0
  13. package/dist/contacts/variants.d.ts +14 -0
  14. package/dist/contacts/variants.d.ts.map +1 -0
  15. package/dist/contacts/variants.js +25 -0
  16. package/dist/contacts/variants.js.map +1 -0
  17. package/dist/derived/battery-runtime.d.ts +85 -0
  18. package/dist/derived/battery-runtime.d.ts.map +1 -0
  19. package/dist/derived/battery-runtime.js +217 -0
  20. package/dist/derived/battery-runtime.js.map +1 -0
  21. package/dist/derived/period-counts.d.ts +48 -0
  22. package/dist/derived/period-counts.d.ts.map +1 -0
  23. package/dist/derived/period-counts.js +128 -0
  24. package/dist/derived/period-counts.js.map +1 -0
  25. package/dist/derived/session-hours.d.ts +26 -0
  26. package/dist/derived/session-hours.d.ts.map +1 -0
  27. package/dist/derived/session-hours.js +29 -0
  28. package/dist/derived/session-hours.js.map +1 -0
  29. package/dist/derived/time-lengths.d.ts +37 -0
  30. package/dist/derived/time-lengths.d.ts.map +1 -0
  31. package/dist/derived/time-lengths.js +171 -0
  32. package/dist/derived/time-lengths.js.map +1 -0
  33. package/dist/derived/unit-counts.d.ts +7 -0
  34. package/dist/derived/unit-counts.d.ts.map +1 -0
  35. package/dist/derived/unit-counts.js +13 -0
  36. package/dist/derived/unit-counts.js.map +1 -0
  37. package/dist/derived/use-interval.d.ts +33 -0
  38. package/dist/derived/use-interval.d.ts.map +1 -0
  39. package/dist/derived/use-interval.js +93 -0
  40. package/dist/derived/use-interval.js.map +1 -0
  41. package/dist/derived/working-hours.d.ts +36 -0
  42. package/dist/derived/working-hours.d.ts.map +1 -0
  43. package/dist/derived/working-hours.js +55 -0
  44. package/dist/derived/working-hours.js.map +1 -0
  45. package/dist/detectors/acronym-expansion.d.ts +1 -1
  46. package/dist/detectors/acronym-expansion.d.ts.map +1 -1
  47. package/dist/detectors/acronym-expansion.js +46 -2
  48. package/dist/detectors/acronym-expansion.js.map +1 -1
  49. package/dist/detectors/announced-count.d.ts.map +1 -1
  50. package/dist/detectors/announced-count.js +1 -0
  51. package/dist/detectors/announced-count.js.map +1 -1
  52. package/dist/detectors/capacity-runtime.d.ts +7 -0
  53. package/dist/detectors/capacity-runtime.d.ts.map +1 -0
  54. package/dist/detectors/capacity-runtime.js +98 -0
  55. package/dist/detectors/capacity-runtime.js.map +1 -0
  56. package/dist/detectors/capitalised-term.d.ts +44 -0
  57. package/dist/detectors/capitalised-term.d.ts.map +1 -0
  58. package/dist/detectors/capitalised-term.js +101 -0
  59. package/dist/detectors/capitalised-term.js.map +1 -0
  60. package/dist/detectors/contact-variant.d.ts +3 -0
  61. package/dist/detectors/contact-variant.d.ts.map +1 -0
  62. package/dist/detectors/contact-variant.js +21 -0
  63. package/dist/detectors/contact-variant.js.map +1 -0
  64. package/dist/detectors/count-over-capacity.d.ts +4 -0
  65. package/dist/detectors/count-over-capacity.d.ts.map +1 -0
  66. package/dist/detectors/count-over-capacity.js +26 -0
  67. package/dist/detectors/count-over-capacity.js.map +1 -0
  68. package/dist/detectors/date-outside-period.d.ts.map +1 -1
  69. package/dist/detectors/date-outside-period.js +5 -1
  70. package/dist/detectors/date-outside-period.js.map +1 -1
  71. package/dist/detectors/date-stamp-order.d.ts +3 -0
  72. package/dist/detectors/date-stamp-order.d.ts.map +1 -0
  73. package/dist/detectors/date-stamp-order.js +24 -0
  74. package/dist/detectors/date-stamp-order.js.map +1 -0
  75. package/dist/detectors/defined-term-form.d.ts.map +1 -1
  76. package/dist/detectors/defined-term-form.js +57 -7
  77. package/dist/detectors/defined-term-form.js.map +1 -1
  78. package/dist/detectors/definition-use.d.ts +1 -1
  79. package/dist/detectors/definition-use.d.ts.map +1 -1
  80. package/dist/detectors/definition-use.js +4 -2
  81. package/dist/detectors/definition-use.js.map +1 -1
  82. package/dist/detectors/derived-numbers.d.ts +11 -1
  83. package/dist/detectors/derived-numbers.d.ts.map +1 -1
  84. package/dist/detectors/derived-numbers.js +74 -20
  85. package/dist/detectors/derived-numbers.js.map +1 -1
  86. package/dist/detectors/due-date.d.ts.map +1 -1
  87. package/dist/detectors/due-date.js +6 -0
  88. package/dist/detectors/due-date.js.map +1 -1
  89. package/dist/detectors/en-shape.d.ts.map +1 -1
  90. package/dist/detectors/en-shape.js +7 -4
  91. package/dist/detectors/en-shape.js.map +1 -1
  92. package/dist/detectors/event-deadline.d.ts +3 -0
  93. package/dist/detectors/event-deadline.d.ts.map +1 -0
  94. package/dist/detectors/event-deadline.js +24 -0
  95. package/dist/detectors/event-deadline.js.map +1 -0
  96. package/dist/detectors/fact-consistency.d.ts +1 -1
  97. package/dist/detectors/fact-consistency.d.ts.map +1 -1
  98. package/dist/detectors/fact-consistency.js +52 -3
  99. package/dist/detectors/fact-consistency.js.map +1 -1
  100. package/dist/detectors/heading-case.d.ts +5 -2
  101. package/dist/detectors/heading-case.d.ts.map +1 -1
  102. package/dist/detectors/heading-case.js +12 -4
  103. package/dist/detectors/heading-case.js.map +1 -1
  104. package/dist/detectors/heading-echo.d.ts +5 -0
  105. package/dist/detectors/heading-echo.d.ts.map +1 -1
  106. package/dist/detectors/heading-echo.js +14 -1
  107. package/dist/detectors/heading-echo.js.map +1 -1
  108. package/dist/detectors/layout-code.d.ts +5 -0
  109. package/dist/detectors/layout-code.d.ts.map +1 -0
  110. package/dist/detectors/layout-code.js +124 -0
  111. package/dist/detectors/layout-code.js.map +1 -0
  112. package/dist/detectors/measured-facts.d.ts +8 -0
  113. package/dist/detectors/measured-facts.d.ts.map +1 -0
  114. package/dist/detectors/measured-facts.js +18 -0
  115. package/dist/detectors/measured-facts.js.map +1 -0
  116. package/dist/detectors/name-variant-model-codes.d.ts +11 -0
  117. package/dist/detectors/name-variant-model-codes.d.ts.map +1 -0
  118. package/dist/detectors/name-variant-model-codes.js +21 -0
  119. package/dist/detectors/name-variant-model-codes.js.map +1 -0
  120. package/dist/detectors/name-variant.d.ts.map +1 -1
  121. package/dist/detectors/name-variant.js +78 -10
  122. package/dist/detectors/name-variant.js.map +1 -1
  123. package/dist/detectors/orthographic-variant.d.ts.map +1 -1
  124. package/dist/detectors/orthographic-variant.js +62 -7
  125. package/dist/detectors/orthographic-variant.js.map +1 -1
  126. package/dist/detectors/orthography.d.ts.map +1 -1
  127. package/dist/detectors/orthography.js +12 -6
  128. package/dist/detectors/orthography.js.map +1 -1
  129. package/dist/detectors/party-order.d.ts +3 -0
  130. package/dist/detectors/party-order.d.ts.map +1 -0
  131. package/dist/detectors/party-order.js +46 -0
  132. package/dist/detectors/party-order.js.map +1 -0
  133. package/dist/detectors/quantity-range.d.ts +3 -0
  134. package/dist/detectors/quantity-range.d.ts.map +1 -0
  135. package/dist/detectors/quantity-range.js +35 -0
  136. package/dist/detectors/quantity-range.js.map +1 -0
  137. package/dist/detectors/range-band.d.ts +5 -0
  138. package/dist/detectors/range-band.d.ts.map +1 -0
  139. package/dist/detectors/range-band.js +80 -0
  140. package/dist/detectors/range-band.js.map +1 -0
  141. package/dist/detectors/registry/capacity-runtime-mismatch.d.ts +3 -0
  142. package/dist/detectors/registry/capacity-runtime-mismatch.d.ts.map +1 -0
  143. package/dist/detectors/registry/capacity-runtime-mismatch.js +3 -0
  144. package/dist/detectors/registry/capacity-runtime-mismatch.js.map +1 -0
  145. package/dist/detectors/registry/connection-time-short.d.ts +3 -0
  146. package/dist/detectors/registry/connection-time-short.d.ts.map +1 -0
  147. package/dist/detectors/registry/connection-time-short.js +3 -0
  148. package/dist/detectors/registry/connection-time-short.js.map +1 -0
  149. package/dist/detectors/registry/contact-variant.d.ts +3 -0
  150. package/dist/detectors/registry/contact-variant.d.ts.map +1 -0
  151. package/dist/detectors/registry/contact-variant.js +3 -0
  152. package/dist/detectors/registry/contact-variant.js.map +1 -0
  153. package/dist/detectors/registry/count-over-capacity.d.ts +3 -0
  154. package/dist/detectors/registry/count-over-capacity.d.ts.map +1 -0
  155. package/dist/detectors/registry/count-over-capacity.js +3 -0
  156. package/dist/detectors/registry/count-over-capacity.js.map +1 -0
  157. package/dist/detectors/registry/date-stamp-order.d.ts +3 -0
  158. package/dist/detectors/registry/date-stamp-order.d.ts.map +1 -0
  159. package/dist/detectors/registry/date-stamp-order.js +3 -0
  160. package/dist/detectors/registry/date-stamp-order.js.map +1 -0
  161. package/dist/detectors/registry/duration-product-mismatch.d.ts +3 -0
  162. package/dist/detectors/registry/duration-product-mismatch.d.ts.map +1 -0
  163. package/dist/detectors/registry/duration-product-mismatch.js +3 -0
  164. package/dist/detectors/registry/duration-product-mismatch.js.map +1 -0
  165. package/dist/detectors/registry/event-deadline.d.ts +3 -0
  166. package/dist/detectors/registry/event-deadline.d.ts.map +1 -0
  167. package/dist/detectors/registry/event-deadline.js +3 -0
  168. package/dist/detectors/registry/event-deadline.js.map +1 -0
  169. package/dist/detectors/registry/interval-count-mismatch.d.ts +3 -0
  170. package/dist/detectors/registry/interval-count-mismatch.d.ts.map +1 -0
  171. package/dist/detectors/registry/interval-count-mismatch.js +3 -0
  172. package/dist/detectors/registry/interval-count-mismatch.js.map +1 -0
  173. package/dist/detectors/registry/layout-code-mismatch.d.ts +3 -0
  174. package/dist/detectors/registry/layout-code-mismatch.d.ts.map +1 -0
  175. package/dist/detectors/registry/layout-code-mismatch.js +3 -0
  176. package/dist/detectors/registry/layout-code-mismatch.js.map +1 -0
  177. package/dist/detectors/registry/party-order.d.ts +3 -0
  178. package/dist/detectors/registry/party-order.d.ts.map +1 -0
  179. package/dist/detectors/registry/party-order.js +3 -0
  180. package/dist/detectors/registry/party-order.js.map +1 -0
  181. package/dist/detectors/registry/quantity-range.d.ts +3 -0
  182. package/dist/detectors/registry/quantity-range.d.ts.map +1 -0
  183. package/dist/detectors/registry/quantity-range.js +3 -0
  184. package/dist/detectors/registry/quantity-range.js.map +1 -0
  185. package/dist/detectors/registry/range-band-mismatch.d.ts +3 -0
  186. package/dist/detectors/registry/range-band-mismatch.d.ts.map +1 -0
  187. package/dist/detectors/registry/range-band-mismatch.js +3 -0
  188. package/dist/detectors/registry/range-band-mismatch.js.map +1 -0
  189. package/dist/detectors/registry/rent-multiple-mismatch.d.ts +3 -0
  190. package/dist/detectors/registry/rent-multiple-mismatch.d.ts.map +1 -0
  191. package/dist/detectors/registry/rent-multiple-mismatch.js +3 -0
  192. package/dist/detectors/registry/rent-multiple-mismatch.js.map +1 -0
  193. package/dist/detectors/registry/requirement-lists.d.ts +3 -0
  194. package/dist/detectors/registry/requirement-lists.d.ts.map +1 -0
  195. package/dist/detectors/registry/requirement-lists.js +3 -0
  196. package/dist/detectors/registry/requirement-lists.js.map +1 -0
  197. package/dist/detectors/registry/return-type.d.ts +3 -0
  198. package/dist/detectors/registry/return-type.d.ts.map +1 -0
  199. package/dist/detectors/registry/return-type.js +3 -0
  200. package/dist/detectors/registry/return-type.js.map +1 -0
  201. package/dist/detectors/registry/scaled-quantity-mismatch.d.ts +3 -0
  202. package/dist/detectors/registry/scaled-quantity-mismatch.d.ts.map +1 -0
  203. package/dist/detectors/registry/scaled-quantity-mismatch.js +3 -0
  204. package/dist/detectors/registry/scaled-quantity-mismatch.js.map +1 -0
  205. package/dist/detectors/registry/step-time-sum-mismatch.d.ts +3 -0
  206. package/dist/detectors/registry/step-time-sum-mismatch.d.ts.map +1 -0
  207. package/dist/detectors/registry/step-time-sum-mismatch.js +3 -0
  208. package/dist/detectors/registry/step-time-sum-mismatch.js.map +1 -0
  209. package/dist/detectors/registry/time-range-reversed.d.ts +3 -0
  210. package/dist/detectors/registry/time-range-reversed.d.ts.map +1 -0
  211. package/dist/detectors/registry/time-range-reversed.js +3 -0
  212. package/dist/detectors/registry/time-range-reversed.js.map +1 -0
  213. package/dist/detectors/registry/unlisted-item-used.d.ts +3 -0
  214. package/dist/detectors/registry/unlisted-item-used.d.ts.map +1 -0
  215. package/dist/detectors/registry/unlisted-item-used.js +3 -0
  216. package/dist/detectors/registry/unlisted-item-used.js.map +1 -0
  217. package/dist/detectors/registry/walk-time-distance-mismatch.d.ts +3 -0
  218. package/dist/detectors/registry/walk-time-distance-mismatch.d.ts.map +1 -0
  219. package/dist/detectors/registry/walk-time-distance-mismatch.js +3 -0
  220. package/dist/detectors/registry/walk-time-distance-mismatch.js.map +1 -0
  221. package/dist/detectors/rent-multiple-mismatch.d.ts +3 -0
  222. package/dist/detectors/rent-multiple-mismatch.d.ts.map +1 -0
  223. package/dist/detectors/rent-multiple-mismatch.js +39 -0
  224. package/dist/detectors/rent-multiple-mismatch.js.map +1 -0
  225. package/dist/detectors/requirement-lists.d.ts +3 -0
  226. package/dist/detectors/requirement-lists.d.ts.map +1 -0
  227. package/dist/detectors/requirement-lists.js +46 -0
  228. package/dist/detectors/requirement-lists.js.map +1 -0
  229. package/dist/detectors/return-type.d.ts +3 -0
  230. package/dist/detectors/return-type.d.ts.map +1 -0
  231. package/dist/detectors/return-type.js +24 -0
  232. package/dist/detectors/return-type.js.map +1 -0
  233. package/dist/detectors/scaled-quantity.d.ts +3 -0
  234. package/dist/detectors/scaled-quantity.d.ts.map +1 -0
  235. package/dist/detectors/scaled-quantity.js +37 -0
  236. package/dist/detectors/scaled-quantity.js.map +1 -0
  237. package/dist/detectors/signals.d.ts.map +1 -1
  238. package/dist/detectors/signals.js +3 -1
  239. package/dist/detectors/signals.js.map +1 -1
  240. package/dist/detectors/step-time-sum.d.ts +3 -0
  241. package/dist/detectors/step-time-sum.d.ts.map +1 -0
  242. package/dist/detectors/step-time-sum.js +46 -0
  243. package/dist/detectors/step-time-sum.js.map +1 -0
  244. package/dist/detectors/structure-tree.d.ts +2 -0
  245. package/dist/detectors/structure-tree.d.ts.map +1 -1
  246. package/dist/detectors/structure-tree.js +31 -6
  247. package/dist/detectors/structure-tree.js.map +1 -1
  248. package/dist/detectors/structure.js +1 -1
  249. package/dist/detectors/structure.js.map +1 -1
  250. package/dist/detectors/technical-docs.d.ts +5 -0
  251. package/dist/detectors/technical-docs.d.ts.map +1 -1
  252. package/dist/detectors/technical-docs.js +12 -0
  253. package/dist/detectors/technical-docs.js.map +1 -1
  254. package/dist/detectors/time-order.d.ts +2 -0
  255. package/dist/detectors/time-order.d.ts.map +1 -1
  256. package/dist/detectors/time-order.js +33 -5
  257. package/dist/detectors/time-order.js.map +1 -1
  258. package/dist/detectors/undefined-term.d.ts.map +1 -1
  259. package/dist/detectors/undefined-term.js +19 -3
  260. package/dist/detectors/undefined-term.js.map +1 -1
  261. package/dist/detectors/unit-consistency.d.ts +1 -1
  262. package/dist/detectors/unit-consistency.d.ts.map +1 -1
  263. package/dist/detectors/unit-consistency.js +46 -38
  264. package/dist/detectors/unit-consistency.js.map +1 -1
  265. package/dist/detectors/unlisted-items.d.ts +3 -0
  266. package/dist/detectors/unlisted-items.d.ts.map +1 -0
  267. package/dist/detectors/unlisted-items.js +57 -0
  268. package/dist/detectors/unlisted-items.js.map +1 -0
  269. package/dist/detectors/use-count-words.d.ts +8 -0
  270. package/dist/detectors/use-count-words.d.ts.map +1 -0
  271. package/dist/detectors/use-count-words.js +20 -0
  272. package/dist/detectors/use-count-words.js.map +1 -0
  273. package/dist/detectors/use-interval.d.ts +3 -0
  274. package/dist/detectors/use-interval.d.ts.map +1 -0
  275. package/dist/detectors/use-interval.js +39 -0
  276. package/dist/detectors/use-interval.js.map +1 -0
  277. package/dist/detectors/walk-time-distance-mismatch.d.ts +4 -0
  278. package/dist/detectors/walk-time-distance-mismatch.d.ts.map +1 -0
  279. package/dist/detectors/walk-time-distance-mismatch.js +38 -0
  280. package/dist/detectors/walk-time-distance-mismatch.js.map +1 -0
  281. package/dist/document.d.ts.map +1 -1
  282. package/dist/document.js +4 -1
  283. package/dist/document.js.map +1 -1
  284. package/dist/facts/approximate-tolerance.d.ts +7 -0
  285. package/dist/facts/approximate-tolerance.d.ts.map +1 -0
  286. package/dist/facts/approximate-tolerance.js +16 -0
  287. package/dist/facts/approximate-tolerance.js.map +1 -0
  288. package/dist/facts/item-amounts.d.ts +18 -0
  289. package/dist/facts/item-amounts.d.ts.map +1 -0
  290. package/dist/facts/item-amounts.js +67 -0
  291. package/dist/facts/item-amounts.js.map +1 -0
  292. package/dist/facts/labelled-facts.d.ts +4 -0
  293. package/dist/facts/labelled-facts.d.ts.map +1 -1
  294. package/dist/facts/labelled-facts.js +21 -6
  295. package/dist/facts/labelled-facts.js.map +1 -1
  296. package/dist/facts/measure-units.d.ts +5 -0
  297. package/dist/facts/measure-units.d.ts.map +1 -0
  298. package/dist/facts/measure-units.js +28 -0
  299. package/dist/facts/measure-units.js.map +1 -0
  300. package/dist/facts/measures.d.ts +23 -4
  301. package/dist/facts/measures.d.ts.map +1 -1
  302. package/dist/facts/measures.js +68 -19
  303. package/dist/facts/measures.js.map +1 -1
  304. package/dist/facts/retention-periods.d.ts +51 -0
  305. package/dist/facts/retention-periods.d.ts.map +1 -0
  306. package/dist/facts/retention-periods.js +148 -0
  307. package/dist/facts/retention-periods.js.map +1 -0
  308. package/dist/facts/table-facts.d.ts +2 -0
  309. package/dist/facts/table-facts.d.ts.map +1 -1
  310. package/dist/facts/table-facts.js +2 -0
  311. package/dist/facts/table-facts.js.map +1 -1
  312. package/dist/facts/unit-conflicts.d.ts +3 -2
  313. package/dist/facts/unit-conflicts.d.ts.map +1 -1
  314. package/dist/facts/unit-conflicts.js +15 -7
  315. package/dist/facts/unit-conflicts.js.map +1 -1
  316. package/dist/facts/unit-equivalents.d.ts +13 -0
  317. package/dist/facts/unit-equivalents.d.ts.map +1 -0
  318. package/dist/facts/unit-equivalents.js +56 -0
  319. package/dist/facts/unit-equivalents.js.map +1 -0
  320. package/dist/facts/unit-tolerance.d.ts +4 -0
  321. package/dist/facts/unit-tolerance.d.ts.map +1 -0
  322. package/dist/facts/unit-tolerance.js +13 -0
  323. package/dist/facts/unit-tolerance.js.map +1 -0
  324. package/dist/facts/unit-word.d.ts +8 -0
  325. package/dist/facts/unit-word.d.ts.map +1 -0
  326. package/dist/facts/unit-word.js +34 -0
  327. package/dist/facts/unit-word.js.map +1 -0
  328. package/dist/facts/written-precision.d.ts +10 -0
  329. package/dist/facts/written-precision.d.ts.map +1 -0
  330. package/dist/facts/written-precision.js +20 -0
  331. package/dist/facts/written-precision.js.map +1 -0
  332. package/dist/kana-spelling.d.ts +12 -0
  333. package/dist/kana-spelling.d.ts.map +1 -1
  334. package/dist/kana-spelling.js +23 -0
  335. package/dist/kana-spelling.js.map +1 -1
  336. package/dist/model-codes.d.ts +23 -0
  337. package/dist/model-codes.d.ts.map +1 -0
  338. package/dist/model-codes.js +81 -0
  339. package/dist/model-codes.js.map +1 -0
  340. package/dist/name-spelling-chars.d.ts +16 -0
  341. package/dist/name-spelling-chars.d.ts.map +1 -0
  342. package/dist/name-spelling-chars.js +14 -0
  343. package/dist/name-spelling-chars.js.map +1 -0
  344. package/dist/name-variants.d.ts +8 -2
  345. package/dist/name-variants.d.ts.map +1 -1
  346. package/dist/name-variants.js +72 -7
  347. package/dist/name-variants.js.map +1 -1
  348. package/dist/name-word-order.d.ts +49 -0
  349. package/dist/name-word-order.d.ts.map +1 -0
  350. package/dist/name-word-order.js +114 -0
  351. package/dist/name-word-order.js.map +1 -0
  352. package/dist/phone-numbers.d.ts.map +1 -1
  353. package/dist/phone-numbers.js +22 -5
  354. package/dist/phone-numbers.js.map +1 -1
  355. package/dist/place-names.d.ts +12 -5
  356. package/dist/place-names.d.ts.map +1 -1
  357. package/dist/place-names.js +34 -14
  358. package/dist/place-names.js.map +1 -1
  359. package/dist/plugin.d.ts +12 -0
  360. package/dist/plugin.d.ts.map +1 -1
  361. package/dist/preamble-paragraphs.d.ts +2 -1
  362. package/dist/preamble-paragraphs.d.ts.map +1 -1
  363. package/dist/preamble-paragraphs.js +16 -1
  364. package/dist/preamble-paragraphs.js.map +1 -1
  365. package/dist/profile/parse.d.ts.map +1 -1
  366. package/dist/profile/parse.js +11 -0
  367. package/dist/profile/parse.js.map +1 -1
  368. package/dist/return-type.d.ts +33 -0
  369. package/dist/return-type.d.ts.map +1 -0
  370. package/dist/return-type.js +302 -0
  371. package/dist/return-type.js.map +1 -0
  372. package/dist/spacing-code.d.ts +6 -0
  373. package/dist/spacing-code.d.ts.map +1 -0
  374. package/dist/spacing-code.js +16 -0
  375. package/dist/spacing-code.js.map +1 -0
  376. package/dist/structure/amount-range.d.ts +2 -2
  377. package/dist/structure/amount-range.d.ts.map +1 -1
  378. package/dist/structure/amount-range.js +12 -5
  379. package/dist/structure/amount-range.js.map +1 -1
  380. package/dist/structure/capacity-count.d.ts +59 -0
  381. package/dist/structure/capacity-count.d.ts.map +1 -0
  382. package/dist/structure/capacity-count.js +118 -0
  383. package/dist/structure/capacity-count.js.map +1 -0
  384. package/dist/structure/connection-times.d.ts +56 -0
  385. package/dist/structure/connection-times.d.ts.map +1 -0
  386. package/dist/structure/connection-times.js +165 -0
  387. package/dist/structure/connection-times.js.map +1 -0
  388. package/dist/structure/counted-amounts.d.ts +6 -0
  389. package/dist/structure/counted-amounts.d.ts.map +1 -1
  390. package/dist/structure/counted-amounts.js +4 -4
  391. package/dist/structure/counted-amounts.js.map +1 -1
  392. package/dist/structure/date-order-tie.d.ts +13 -0
  393. package/dist/structure/date-order-tie.d.ts.map +1 -0
  394. package/dist/structure/date-order-tie.js +61 -0
  395. package/dist/structure/date-order-tie.js.map +1 -0
  396. package/dist/structure/date-order.d.ts +2 -2
  397. package/dist/structure/date-order.d.ts.map +1 -1
  398. package/dist/structure/date-order.js +26 -9
  399. package/dist/structure/date-order.js.map +1 -1
  400. package/dist/structure/date-outside-period.d.ts +8 -0
  401. package/dist/structure/date-outside-period.d.ts.map +1 -1
  402. package/dist/structure/date-outside-period.js +52 -3
  403. package/dist/structure/date-outside-period.js.map +1 -1
  404. package/dist/structure/date-range.d.ts +6 -2
  405. package/dist/structure/date-range.d.ts.map +1 -1
  406. package/dist/structure/date-range.js +37 -9
  407. package/dist/structure/date-range.js.map +1 -1
  408. package/dist/structure/deadline-after-event.d.ts +23 -0
  409. package/dist/structure/deadline-after-event.d.ts.map +1 -0
  410. package/dist/structure/deadline-after-event.js +42 -0
  411. package/dist/structure/deadline-after-event.js.map +1 -0
  412. package/dist/structure/definition-use.d.ts +1 -1
  413. package/dist/structure/definition-use.d.ts.map +1 -1
  414. package/dist/structure/definition-use.js +55 -2
  415. package/dist/structure/definition-use.js.map +1 -1
  416. package/dist/structure/due-date.d.ts.map +1 -1
  417. package/dist/structure/due-date.js +5 -27
  418. package/dist/structure/due-date.js.map +1 -1
  419. package/dist/structure/labelled-date-order.d.ts +38 -0
  420. package/dist/structure/labelled-date-order.d.ts.map +1 -0
  421. package/dist/structure/labelled-date-order.js +41 -0
  422. package/dist/structure/labelled-date-order.js.map +1 -0
  423. package/dist/structure/layout-codes.d.ts +68 -0
  424. package/dist/structure/layout-codes.d.ts.map +1 -0
  425. package/dist/structure/layout-codes.js +161 -0
  426. package/dist/structure/layout-codes.js.map +1 -0
  427. package/dist/structure/leg-times.d.ts +2 -0
  428. package/dist/structure/leg-times.d.ts.map +1 -1
  429. package/dist/structure/leg-times.js +13 -0
  430. package/dist/structure/leg-times.js.map +1 -1
  431. package/dist/structure/measured-amounts.d.ts +17 -0
  432. package/dist/structure/measured-amounts.d.ts.map +1 -0
  433. package/dist/structure/measured-amounts.js +110 -0
  434. package/dist/structure/measured-amounts.js.map +1 -0
  435. package/dist/structure/party-order.d.ts +33 -0
  436. package/dist/structure/party-order.d.ts.map +1 -0
  437. package/dist/structure/party-order.js +79 -0
  438. package/dist/structure/party-order.js.map +1 -0
  439. package/dist/structure/quantity-range.d.ts +8 -0
  440. package/dist/structure/quantity-range.d.ts.map +1 -0
  441. package/dist/structure/quantity-range.js +36 -0
  442. package/dist/structure/quantity-range.js.map +1 -0
  443. package/dist/structure/range-bands.d.ts +75 -0
  444. package/dist/structure/range-bands.d.ts.map +1 -0
  445. package/dist/structure/range-bands.js +244 -0
  446. package/dist/structure/range-bands.js.map +1 -0
  447. package/dist/structure/rent-multiple.d.ts +76 -0
  448. package/dist/structure/rent-multiple.d.ts.map +1 -0
  449. package/dist/structure/rent-multiple.js +186 -0
  450. package/dist/structure/rent-multiple.js.map +1 -0
  451. package/dist/structure/requirement-lists.d.ts +37 -0
  452. package/dist/structure/requirement-lists.d.ts.map +1 -0
  453. package/dist/structure/requirement-lists.js +89 -0
  454. package/dist/structure/requirement-lists.js.map +1 -0
  455. package/dist/structure/scaled-quantities.d.ts +50 -0
  456. package/dist/structure/scaled-quantities.d.ts.map +1 -0
  457. package/dist/structure/scaled-quantities.js +153 -0
  458. package/dist/structure/scaled-quantities.js.map +1 -0
  459. package/dist/structure/stamp-order.d.ts +16 -0
  460. package/dist/structure/stamp-order.d.ts.map +1 -0
  461. package/dist/structure/stamp-order.js +78 -0
  462. package/dist/structure/stamp-order.js.map +1 -0
  463. package/dist/structure/step-times.d.ts +49 -0
  464. package/dist/structure/step-times.d.ts.map +1 -0
  465. package/dist/structure/step-times.js +128 -0
  466. package/dist/structure/step-times.js.map +1 -0
  467. package/dist/structure/term-deadline.d.ts +19 -0
  468. package/dist/structure/term-deadline.d.ts.map +1 -0
  469. package/dist/structure/term-deadline.js +28 -0
  470. package/dist/structure/term-deadline.js.map +1 -0
  471. package/dist/structure/time-order.d.ts +21 -0
  472. package/dist/structure/time-order.d.ts.map +1 -1
  473. package/dist/structure/time-order.js +5 -6
  474. package/dist/structure/time-order.js.map +1 -1
  475. package/dist/structure/time-range.d.ts +16 -0
  476. package/dist/structure/time-range.d.ts.map +1 -0
  477. package/dist/structure/time-range.js +57 -0
  478. package/dist/structure/time-range.js.map +1 -0
  479. package/dist/structure/total-line.d.ts +16 -0
  480. package/dist/structure/total-line.d.ts.map +1 -0
  481. package/dist/structure/total-line.js +44 -0
  482. package/dist/structure/total-line.js.map +1 -0
  483. package/dist/structure/total.d.ts +7 -1
  484. package/dist/structure/total.d.ts.map +1 -1
  485. package/dist/structure/total.js +28 -5
  486. package/dist/structure/total.js.map +1 -1
  487. package/dist/structure/unlisted-items.d.ts +70 -0
  488. package/dist/structure/unlisted-items.d.ts.map +1 -0
  489. package/dist/structure/unlisted-items.js +152 -0
  490. package/dist/structure/unlisted-items.js.map +1 -0
  491. package/dist/structure/version-order.d.ts +2 -0
  492. package/dist/structure/version-order.d.ts.map +1 -1
  493. package/dist/structure/version-order.js +10 -0
  494. package/dist/structure/version-order.js.map +1 -1
  495. package/dist/structure/walk-time.d.ts +87 -0
  496. package/dist/structure/walk-time.d.ts.map +1 -0
  497. package/dist/structure/walk-time.js +195 -0
  498. package/dist/structure/walk-time.js.map +1 -0
  499. package/dist/surname-near.d.ts +6 -0
  500. package/dist/surname-near.d.ts.map +1 -0
  501. package/dist/surname-near.js +31 -0
  502. package/dist/surname-near.js.map +1 -0
  503. package/dist/table-cells.d.ts +13 -0
  504. package/dist/table-cells.d.ts.map +1 -0
  505. package/dist/table-cells.js +36 -0
  506. package/dist/table-cells.js.map +1 -0
  507. package/dist/table-names.d.ts +42 -0
  508. package/dist/table-names.d.ts.map +1 -0
  509. package/dist/table-names.js +94 -0
  510. package/dist/table-names.js.map +1 -0
  511. package/package.json +3 -3
  512. package/profiles/listing.yaml +20 -0
  513. package/rules/announced-count-mismatch.yaml +2 -2
  514. package/rules/capacity-runtime-mismatch.yaml +66 -0
  515. package/rules/connection-time-short.yaml +52 -0
  516. package/rules/contact-variant.yaml +76 -0
  517. package/rules/count-over-capacity.yaml +55 -0
  518. package/rules/date-outside-period.yaml +4 -4
  519. package/rules/date-stamp-order.yaml +82 -0
  520. package/rules/deadline-after-event.yaml +67 -0
  521. package/rules/defined-name-repeated.yaml +2 -2
  522. package/rules/due-before-issue.yaml +11 -7
  523. package/rules/duration-mismatch.yaml +7 -4
  524. package/rules/duration-product-mismatch.yaml +73 -0
  525. package/rules/fact-conflict.yaml +9 -4
  526. package/rules/heading-echo.yaml +2 -2
  527. package/rules/interval-count-mismatch.yaml +54 -0
  528. package/rules/latin-spacing.yaml +2 -2
  529. package/rules/layout-code-mismatch.yaml +68 -0
  530. package/rules/name-variant.yaml +14 -2
  531. package/rules/no-em-dash.yaml +2 -2
  532. package/rules/party-order.yaml +84 -0
  533. package/rules/preamble-length.yaml +2 -2
  534. package/rules/quantity-range-reversed.yaml +53 -0
  535. package/rules/range-band-mismatch.yaml +70 -0
  536. package/rules/rent-multiple-mismatch.yaml +61 -0
  537. package/rules/required-listed-as-preferred.yaml +102 -0
  538. package/rules/return-type-mismatch.yaml +79 -0
  539. package/rules/scaled-quantity-mismatch.yaml +69 -0
  540. package/rules/step-time-sum-mismatch.yaml +65 -0
  541. package/rules/time-range-reversed.yaml +48 -0
  542. package/rules/title-case-consistency.yaml +2 -2
  543. package/rules/total-mismatch.yaml +2 -2
  544. package/rules/undefined-term.yaml +21 -7
  545. package/rules/unit-mismatch.yaml +12 -4
  546. package/rules/unlisted-item-used.yaml +90 -0
  547. package/rules/unused-definition.yaml +2 -2
  548. package/rules/use-before-definition.yaml +2 -2
  549. package/rules/walk-time-distance-mismatch.yaml +55 -0
  550. package/src/announced-count.ts +6 -3
  551. package/src/contacts/addresses.ts +179 -0
  552. package/src/contacts/emails.ts +63 -0
  553. package/src/contacts/variants.ts +33 -0
  554. package/src/derived/battery-runtime.ts +284 -0
  555. package/src/derived/period-counts.ts +178 -0
  556. package/src/derived/session-hours.ts +62 -0
  557. package/src/derived/time-lengths.ts +229 -0
  558. package/src/derived/unit-counts.ts +18 -0
  559. package/src/derived/use-interval.ts +151 -0
  560. package/src/derived/working-hours.ts +97 -0
  561. package/src/detectors/acronym-expansion.ts +57 -2
  562. package/src/detectors/announced-count.ts +1 -0
  563. package/src/detectors/capacity-runtime.ts +128 -0
  564. package/src/detectors/capitalised-term.ts +147 -0
  565. package/src/detectors/contact-variant.ts +24 -0
  566. package/src/detectors/count-over-capacity.ts +37 -0
  567. package/src/detectors/date-outside-period.ts +5 -1
  568. package/src/detectors/date-stamp-order.ts +28 -0
  569. package/src/detectors/defined-term-form.ts +63 -7
  570. package/src/detectors/definition-use.ts +6 -2
  571. package/src/detectors/derived-numbers.ts +97 -24
  572. package/src/detectors/due-date.ts +10 -2
  573. package/src/detectors/en-shape.ts +11 -4
  574. package/src/detectors/event-deadline.ts +29 -0
  575. package/src/detectors/fact-consistency.ts +64 -3
  576. package/src/detectors/heading-case.ts +13 -4
  577. package/src/detectors/heading-echo.ts +17 -1
  578. package/src/detectors/layout-code.ts +174 -0
  579. package/src/detectors/measured-facts.ts +20 -0
  580. package/src/detectors/name-variant-model-codes.ts +27 -0
  581. package/src/detectors/name-variant.ts +99 -15
  582. package/src/detectors/orthographic-variant.ts +78 -9
  583. package/src/detectors/orthography.ts +16 -6
  584. package/src/detectors/party-order.ts +50 -0
  585. package/src/detectors/quantity-range.ts +47 -0
  586. package/src/detectors/range-band.ts +125 -0
  587. package/src/detectors/registry/capacity-runtime-mismatch.ts +4 -0
  588. package/src/detectors/registry/connection-time-short.ts +4 -0
  589. package/src/detectors/registry/contact-variant.ts +4 -0
  590. package/src/detectors/registry/count-over-capacity.ts +4 -0
  591. package/src/detectors/registry/date-stamp-order.ts +4 -0
  592. package/src/detectors/registry/duration-product-mismatch.ts +4 -0
  593. package/src/detectors/registry/event-deadline.ts +4 -0
  594. package/src/detectors/registry/interval-count-mismatch.ts +4 -0
  595. package/src/detectors/registry/layout-code-mismatch.ts +4 -0
  596. package/src/detectors/registry/party-order.ts +4 -0
  597. package/src/detectors/registry/quantity-range.ts +4 -0
  598. package/src/detectors/registry/range-band-mismatch.ts +4 -0
  599. package/src/detectors/registry/rent-multiple-mismatch.ts +4 -0
  600. package/src/detectors/registry/requirement-lists.ts +4 -0
  601. package/src/detectors/registry/return-type.ts +4 -0
  602. package/src/detectors/registry/scaled-quantity-mismatch.ts +4 -0
  603. package/src/detectors/registry/step-time-sum-mismatch.ts +4 -0
  604. package/src/detectors/registry/time-range-reversed.ts +4 -0
  605. package/src/detectors/registry/unlisted-item-used.ts +4 -0
  606. package/src/detectors/registry/walk-time-distance-mismatch.ts +4 -0
  607. package/src/detectors/rent-multiple-mismatch.ts +56 -0
  608. package/src/detectors/requirement-lists.ts +65 -0
  609. package/src/detectors/return-type.ts +30 -0
  610. package/src/detectors/scaled-quantity.ts +49 -0
  611. package/src/detectors/signals.ts +3 -1
  612. package/src/detectors/step-time-sum.ts +55 -0
  613. package/src/detectors/structure-tree.ts +42 -6
  614. package/src/detectors/structure.ts +1 -1
  615. package/src/detectors/technical-docs.ts +12 -0
  616. package/src/detectors/time-order.ts +45 -6
  617. package/src/detectors/undefined-term.ts +20 -3
  618. package/src/detectors/unit-consistency.ts +50 -38
  619. package/src/detectors/unlisted-items.ts +72 -0
  620. package/src/detectors/use-count-words.ts +32 -0
  621. package/src/detectors/use-interval.ts +51 -0
  622. package/src/detectors/walk-time-distance-mismatch.ts +45 -0
  623. package/src/document.ts +4 -1
  624. package/src/facts/approximate-tolerance.ts +19 -0
  625. package/src/facts/item-amounts.ts +94 -0
  626. package/src/facts/labelled-facts.ts +29 -7
  627. package/src/facts/measure-units.ts +31 -0
  628. package/src/facts/measures.ts +113 -25
  629. package/src/facts/retention-periods.ts +216 -0
  630. package/src/facts/table-facts.ts +3 -0
  631. package/src/facts/unit-conflicts.ts +22 -9
  632. package/src/facts/unit-equivalents.ts +70 -0
  633. package/src/facts/unit-tolerance.ts +17 -0
  634. package/src/facts/unit-word.ts +35 -0
  635. package/src/facts/written-precision.ts +23 -0
  636. package/src/kana-spelling.ts +25 -0
  637. package/src/model-codes.ts +104 -0
  638. package/src/name-spelling-chars.ts +34 -0
  639. package/src/name-variants.ts +83 -7
  640. package/src/name-word-order.ts +149 -0
  641. package/src/phone-numbers.ts +26 -6
  642. package/src/place-names.ts +53 -14
  643. package/src/plugin.ts +7 -0
  644. package/src/preamble-paragraphs.ts +21 -2
  645. package/src/profile/parse.ts +10 -0
  646. package/src/return-type.ts +361 -0
  647. package/src/spacing-code.ts +26 -0
  648. package/src/structure/amount-range.ts +16 -7
  649. package/src/structure/capacity-count.ts +196 -0
  650. package/src/structure/connection-times.ts +226 -0
  651. package/src/structure/counted-amounts.ts +5 -4
  652. package/src/structure/date-order-tie.ts +86 -0
  653. package/src/structure/date-order.ts +41 -14
  654. package/src/structure/date-outside-period.ts +77 -7
  655. package/src/structure/date-range.ts +45 -9
  656. package/src/structure/deadline-after-event.ts +67 -0
  657. package/src/structure/definition-use.ts +59 -2
  658. package/src/structure/due-date.ts +8 -32
  659. package/src/structure/labelled-date-order.ts +84 -0
  660. package/src/structure/layout-codes.ts +210 -0
  661. package/src/structure/leg-times.ts +15 -0
  662. package/src/structure/measured-amounts.ts +138 -0
  663. package/src/structure/party-order.ts +115 -0
  664. package/src/structure/quantity-range.ts +54 -0
  665. package/src/structure/range-bands.ts +316 -0
  666. package/src/structure/rent-multiple.ts +277 -0
  667. package/src/structure/requirement-lists.ts +145 -0
  668. package/src/structure/scaled-quantities.ts +225 -0
  669. package/src/structure/stamp-order.ts +100 -0
  670. package/src/structure/step-times.ts +169 -0
  671. package/src/structure/term-deadline.ts +35 -0
  672. package/src/structure/time-order.ts +8 -7
  673. package/src/structure/time-range.ts +64 -0
  674. package/src/structure/total-line.ts +63 -0
  675. package/src/structure/total.ts +41 -6
  676. package/src/structure/unlisted-items.ts +207 -0
  677. package/src/structure/version-order.ts +10 -0
  678. package/src/structure/walk-time.ts +285 -0
  679. package/src/surname-near.ts +31 -0
  680. package/src/table-cells.ts +41 -0
  681. package/src/table-names.ts +113 -0
@@ -21,6 +21,9 @@ messages:
21
21
  spelling:
22
22
  ja: 「{name}」は、ほかの所では「{usual}」と書いています(字の大小・幅・記号の違い)
23
23
  en: '"{name}" is written "{usual}" elsewhere in the document (case, width or punctuation)'
24
+ kana:
25
+ ja: 「{name}」は、ほかの所では「{usual}」と書いています(名前の中の、同じ音を書く字の違い。ヶ と ケ など)
26
+ en: '"{name}" is written "{usual}" elsewhere in the document (the same sound written with another character inside the name)'
24
27
  reading:
25
28
  ja: 「{name}」は、ほかの所では同じ読みの「{usual}」と書いています
26
29
  en: '"{name}" is written "{usual}", read the same, elsewhere in the document'
@@ -30,6 +33,9 @@ messages:
30
33
  near:
31
34
  ja: 「{name}」は、ほかの所で何度も書いた「{usual}」と一字違いです
32
35
  en: '"{name}" is one letter away from "{usual}", which the document uses more than once'
36
+ surname:
37
+ ja: 「{name}」は、ほかの所で何度も書いた「{usual}」と名が同じで、姓が数字だけ違います
38
+ en: '"{name}" has the given name of "{usual}", which the document uses more than once, and a surname a few letters away'
33
39
  place-word:
34
40
  ja: 「{name}」は、ほかの所では場所の語を別の形にして「{usual}」と書いています
35
41
  en: '"{name}" is written "{usual}", with the place word in another form, elsewhere in the document'
@@ -39,9 +45,15 @@ messages:
39
45
  company-position:
40
46
  ja: 「{name}」は、ほかの所では会社の種類を名前の反対側に置いて「{usual}」と書いています
41
47
  en: '"{name}" is written "{usual}", with the company form on the other side, elsewhere in the document'
48
+ order:
49
+ ja: 「{name}」は、ほかの所では語の順を入れ替えた「{usual}」と書いています
50
+ en: '"{name}" is written "{usual}", with the words in another order, elsewhere in the document'
42
51
  company-near:
43
52
  ja: 「{name}」は、ほかの所で書いた会社名「{usual}」と一字違いです
44
53
  en: '"{name}" is one letter away from the company name "{usual}" written elsewhere in the document'
54
+ model-code:
55
+ ja: 「{name}」は、ほかの所ではハイフン・空白・字の大小を変えて「{usual}」と書いています
56
+ en: '"{name}" is written "{usual}", with other hyphens, spaces or case, elsewhere in the document'
45
57
 
46
58
  how_to_fix:
47
59
  ja: 正しい形を確かめ、一つに揃えてください。本当に別の人や会社なら、そのままで構いません。
@@ -76,8 +88,8 @@ example:
76
88
  The code lives on GitHub. Reviews happen on GitHub, and releases are tagged on GitHub.
77
89
 
78
90
  not_flagged:
79
- ja: 品詞解析が固有名詞と読んだ語だけを見ます。大文字だけの名前(ACME INC、NASA)は見ません。一字違いの英字の名前は、6 字以上で、多いほうが二度以上、少ないほうが一度だけのときに限ります(Iran と Iraq は別の名前)。人の名前どうしは、字体の違う同じ字(斎藤 と 斉藤、渡辺 と 渡邊)か、読みが同じで一字だけ違い、多いほうが二度以上、少ないほうが一度だけのとき(松本 と 松元)に限ります(伊藤 と 伊東 は別の人のことがある)。人の名前とは、品詞解析が人名と読んだ語か、「様」「さん」「氏」の付いた名前です(解析器が名前と読めない字体の字を含む名前は、敬称の前の 2〜4 字の漢字を名前と読みます)。敬称の無い名前も、前後に漢字が続かない 2〜4 字の漢字で、片方の書き方に「担当の」「私、」などの前置きか敬称が付き、もう片方が「です」「が」「までご連絡」などの前にあれば比べます(担当の斎藤です と 斉藤までご連絡ください)。地名にも同じ組がある(鹿島 と 鹿嶋)ので、どちらにも前置きも敬称も無いときは比べません。会社の名前は、語彙表の会社の種類の語(株式会社、(株)、有限会社)の隣にあるものを、品詞と関係なく比べます。名前が同じで種類の語が違うもの(株式会社 と 有限会社)、種類の語を名前の反対側に置いたもの(株式会社アオバ と アオバ株式会社)、記号・幅だけが違うものを指します。同じ種類の語の略した形(株式会社 と (株))、種類の語を省いた呼び名(アオバシステム、以下「アオバ」)は指しません。名前の一字違いは、7 字以上の名前で、違う字が漢字でないときに限ります(日本電気 と 日本電機 は別の会社のことがある)。漢字だけの名前は、品詞解析が固有名詞と読んだときだけ会社の名前と見ます(清算株式会社、当該株式会社)。場所の名前は、語彙表の場所の語(口、駅、センター、ホール)で終わる名前を、品詞と関係なく比べます。記号・幅だけが違うもの(コンベンションセンター と コンベンション・センター)を指し、名前の読みが同じかかなで書いた読みのもの(筑紫口 と ちくし口)と、固有名詞の字の一字違い(八重洲中央口 と 八重州中央口)は、多いほうが二度以上、少ないほうが一度だけのときに限ります。方角や数字の違い(北口 と 南口、第1会議室 と 第2会議室)は別の所なので指しません。
80
- en: Only words the tagger reads as proper nouns are checked. Names in capitals only (ACME INC, NASA) are left out. Names one letter apart are reported only when six letters or longer, with the usual form used at least twice and the other once (Iran and Iraq are different names). Two Japanese person names are compared only when written with another form of the same character (斎藤 and 斉藤), or read the same with one character different, the usual form used at least twice and the other once (松本 and 松元); 伊藤 and 伊東 can be two people. A person's name is one the tagger reads as such, or one followed by 様, さん or 氏 (when a name holds a character form the tagger cannot read, the two to four kanji before the honorific are taken as the name). A name without an honorific is compared too when it is two to four kanji standing alone, one form has a lead such as 担当の or 私、 or an honorific, and the other stands before a word such as です, が or までご連絡 (担当の斎藤です and 斉藤までご連絡ください). Places have such pairs as well (鹿島 and 鹿嶋), so two forms with neither a lead nor an honorific are not compared. A company name is one next to a company form from the lexicon (Inc., Ltd., Co., Ltd., LLC), whatever the tagger reads it as. The same name with forms of two kinds (Inc. and Ltd.), and the same name written with other punctuation or width, are reported. The short and long spelling of one form (Inc and Incorporated) and a name written without its form (Aoba Systems, the "Company") are not. Two names one letter apart are reported only when seven letters or longer, with the same form, and the letter is not a kanji. A place name is one ending in a place word from the lexicon (Street, St., Avenue, Station, Center), whatever the tagger reads it as. The same place written with other punctuation (King's Cross and Kings Cross) or with the place word short and long (11th Street and 11th St.) is reported; a place whose name is one letter away (Union Station and Unoin Station) only when the usual form is used at least twice and the other once. Other numbers and other names (1st Street and 2nd Street, North Hall and South Hall) are different places.
91
+ ja: 品詞解析が固有名詞と読んだ語だけを見ます。大文字だけの名前(ACME INC、NASA)は見ません。一字違いの英字の名前は、6 字以上で、多いほうが二度以上、少ないほうが一度だけのときに限ります(Iran と Iraq は別の名前)。人の名前どうしは、字体の違う同じ字(斎藤 と 斉藤、渡辺 と 渡邊)か、読みが同じで一字だけ違い、多いほうが二度以上、少ないほうが一度だけのとき(松本 と 松元)に限ります(伊藤 と 伊東 は別の人のことがある)。人の名前とは、品詞解析が人名と読んだ語か、「様」「さん」「氏」の付いた名前です(解析器が名前と読めない字体の字を含む名前は、敬称の前の 2〜4 字の漢字を名前と読みます)。敬称の無い名前も、前後に漢字が続かない 2〜4 字の漢字で、片方の書き方に「担当の」「私、」などの前置きか敬称が付き、もう片方が「です」「が」「までご連絡」などの前にあれば比べます(担当の斎藤です と 斉藤までご連絡ください)。地名にも同じ組がある(鹿島 と 鹿嶋)ので、どちらにも前置きも敬称も無いときは比べません。会社の名前は、語彙表の会社の種類の語(株式会社、(株)、有限会社)の隣にあるものを、品詞と関係なく比べます。名前が同じで種類の語が違うもの(株式会社 と 有限会社)、種類の語を名前の反対側に置いたもの(株式会社アオバ と アオバ株式会社)、記号・幅だけが違うものを指します。同じ種類の語の略した形(株式会社 と (株))、種類の語を省いた呼び名(アオバシステム、以下「アオバ」)は指しません。名前の一字違いは、7 字以上の名前で、違う字が漢字でないときに限ります(日本電気 と 日本電機 は別の会社のことがある)。漢字だけの名前は、品詞解析が固有名詞と読んだときだけ会社の名前と見ます(清算株式会社、当該株式会社)。場所の名前は、語彙表の場所の語(口、駅、センター、ホール)で終わる名前を、品詞と関係なく比べます。記号・幅だけが違うもの(コンベンションセンター と コンベンション・センター)を指し、名前の読みが同じかかなで書いた読みのもの(筑紫口 と ちくし口)と、固有名詞の字の一字違い(八重洲中央口 と 八重州中央口)は、多いほうが二度以上、少ないほうが一度だけのときに限ります。方角や数字の違い(北口 と 南口、第1会議室 と 第2会議室)は別の所なので指しません。表の升は升ごとに品詞解析し、名前の形をした升(空白を挟んだ二つか三つの漢字・カタカナの語)を本文の名前と比べます。記号・幅だけの違い(佐々木 美穂 と 佐々木 美穂)と、本文と同じく読みが同じで一語だけ違うもの(佐々木 美穂 と 佐々木 美保)を指し、後者は本文の形が二度以上、升の形が一度だけのときに限ります。読みの違う一字違い(佐藤 太郎 と 佐藤 次郎)は別の人のことが多いので指しません(英字の名前は一字違いも指します)。場所の名前は表の升の中のものも比べます。英字の人の名前は、名が同じで、7 字以上の姓の頭 4 字以上がそろい、あいだの 2 字(長いほうは 3 字)までだけ違うもの(Rachel Whitford と Rachel Whitfield)も、多いほうが二度以上、少ないほうが一度だけのときに指します。語の順を入れ替えた名前(統計学基礎 と 基礎統計学)は、同じ語(形態素)を違う順に並べ、どちらも他方を含まず、どちらかが括弧の中か「前提科目:」のような欄の後ろか表の升まるごとに書いた名前のときだけ指します(統計学基礎 と 統計学応用 は別の名前)。一語の名前の中で同じ音を書く字(桜ヶ丘・桜ケ丘、霞ヶ関・霞が関)は、漢字に挟まれたときだけ同じ字と見ます。品詞解析が一語と読まない書き方(桜・が・丘)は見ません。字を抜いた形(桜丘)や、違う漢字の名前(桜ヶ岡)は別の名前です。この違いだけは、表の升の中の名前とも比べます。型番(英大文字と数字を合わせた 4 字以上の語)は、文書の題か、語彙表の型番の欄の語(型番、品番、型式)の後ろに書いたものだけを文書の型番と読み、文書の中に二度以上出てくるとき、ハイフン・空白・字の大小・幅だけを変えた形(KM-SP300 と KM-SP-300、KMSP300、km-sp300)を指します。字や数の違う型番(KM-SP300 と KM-SP310、比べる表の兄弟機種、部品表の品番)は別の型番なので指しません。英小文字を含む語(iOS17)、版(v1.2 と v1.20)、より長い型番・URL・パス・ファイル名の一部(KM-SP300-B、km-sp300.pdf)は型番と読みません。空白で区切って書く規格の番号(JIS C 8714)は一つの語でないので、題や欄に書いても型番と読みません。
92
+ en: Only words the tagger reads as proper nouns are checked. Names in capitals only (ACME INC, NASA) are left out. Names one letter apart are reported only when six letters or longer, with the usual form used at least twice and the other once (Iran and Iraq are different names). Two Japanese person names are compared only when written with another form of the same character (斎藤 and 斉藤), or read the same with one character different, the usual form used at least twice and the other once (松本 and 松元); 伊藤 and 伊東 can be two people. A person's name is one the tagger reads as such, or one followed by 様, さん or 氏 (when a name holds a character form the tagger cannot read, the two to four kanji before the honorific are taken as the name). A name without an honorific is compared too when it is two to four kanji standing alone, one form has a lead such as 担当の or 私、 or an honorific, and the other stands before a word such as です, が or までご連絡 (担当の斎藤です and 斉藤までご連絡ください). Places have such pairs as well (鹿島 and 鹿嶋), so two forms with neither a lead nor an honorific are not compared. A company name is one next to a company form from the lexicon (Inc., Ltd., Co., Ltd., LLC), whatever the tagger reads it as. The same name with forms of two kinds (Inc. and Ltd.), and the same name written with other punctuation or width, are reported. The short and long spelling of one form (Inc and Incorporated) and a name written without its form (Aoba Systems, the "Company") are not. Two names one letter apart are reported only when seven letters or longer, with the same form, and the letter is not a kanji. A place name is one ending in a place word from the lexicon (Street, St., Avenue, Station, Center), whatever the tagger reads it as. The same place written with other punctuation (King's Cross and Kings Cross) or with the place word short and long (11th Street and 11th St.) is reported; a place whose name is one letter away (Union Station and Unoin Station) only when the usual form is used at least twice and the other once. Other numbers and other names (1st Street and 2nd Street, North Hall and South Hall) are different places. Table cells are tagged cell by cell, and a cell holding only a name (two to four capitalised words, or two or three kanji or katakana words with a space) is compared with the names read in the prose. Reported are the same name with other punctuation or case, or one word different with the other words the same, either a letter away (Sofia Mendes in the text, Sofia Mendez in the table) or, for a Japanese name, read the same as the prose name (佐々木 美穂 and 佐々木 美保); these only when the prose form is used at least twice and the cell form once. Place names inside table cells are compared too. A word next to a name that the tagger did not read as a name (to Rachel Whitford, with Rachel read as a verb) is read with it when the two together are read as a name elsewhere. Two names with the same given name and a surname of seven letters or more, whose first four letters match and which differ in at most two letters between the shared start and end (three in the longer one), are reported when the usual form is used at least twice and the other once (Rachel Whitford and Rachel Whitfield). A different given name (Daniel Whitfield) or a surname alone is not compared this way. A name with its words in another order (Foundations of Statistics and Statistical Foundations) is reported only when both hold the same words (by stem) and neither contains the other, and one of them is written as a name, in quotation marks, after a label such as "Prerequisite" and a colon, or as a whole table cell. Two Title Case runs alone are not compared (Florida Supreme Court and Supreme Court of Florida), nor are two names joined by "and". In a Japanese name, a character for the same sound (桜ヶ丘 and 桜ケ丘, 霞ヶ関 and 霞が関) is the same only between two kanji, in a name the tagger reads as one word (not 桜が丘, read as 桜, が, 丘). A name without it (桜丘) or with other kanji (桜ヶ岡) is another name. This difference alone is also looked for in the names inside table cells. A model number (four or more capitals and digits, as one word) is read as the document's model only when it is in the title or after a model label from the lexicon (Model, Model No., Part No.); when it appears twice or more, a form that changes only hyphens, spaces, case or width (KM-SP300 and KM-SP-300, KMSP300, km-sp300) is reported. Codes with other letters or digits (KM-SP300 and KM-SP310, a sibling model in a comparison table, the part numbers of a parts list) are different models and are not compared. A word with small letters (iOS17), a version (v1.2 and v1.20), and a code inside a longer code, a URL, a path or a file name (KM-SP300-B, km-sp300.pdf) are not read as model numbers. A standard number written with spaces (JIS C 8714) is not one word, so it is not read as a model even in the title or after a label.
81
93
  rewrite:
82
94
  depth: light
83
95
  ja:
@@ -13,8 +13,8 @@ name:
13
13
  en: Too many dashes
14
14
 
15
15
  why:
16
- ja: 日本語の組版でダッシュは扱いが難しく、環境によって長さも見えかたも変わります。読点や括弧で書けることが多いです。
17
- en: In English a dash is a legitimate tool, and a heavy hand with it is also one of the better-known marks of generated text. On its own it says little; it counts toward the composite signal.
16
+ ja: 日本語の組版でダッシュは扱いが難しく、環境によって長さも見えかたも変わります。読点や括弧で書けることが多いです。数字のあいだで範囲を示すダッシュ(45–58、10:00–10:15)は数えません。
17
+ en: In English a dash is a legitimate tool, and a heavy hand with it is also one of the better-known marks of generated text. On its own it says little; it counts toward the composite signal. An en dash between two numbers (45–58, 10:00–10:15) marks a range and is not counted.
18
18
 
19
19
  message:
20
20
  ja: 1000 字あたり {density} 個のダッシュがあります({limit} 個まで)
@@ -0,0 +1,84 @@
1
+ id: party-order
2
+ layer: L3
3
+ status: stable
4
+ how_to_find: party-order
5
+ word_list: party-order-joiner
6
+ extra_word_lists: [party-order-label, party-short-name, party-role, company-form]
7
+ requires: [structure]
8
+ # An English contract has no fixed order for its parties: "the Supplier and the Customer" and "the Customer and the Supplier"
9
+ # are both plain English. Japanese contracts list 甲 before 乙 by convention, so the rule is Japanese only.
10
+ languages: [ja]
11
+ severity: info
12
+
13
+ name:
14
+ ja: 当事者の呼び名を、ほかの所と逆の順に並べている
15
+ en: Parties listed in the reverse of the document's usual order
16
+
17
+ why:
18
+ ja: 契約書は当事者の呼び名を決まった順に並べます(甲及び乙、甲又は乙、甲乙、甲・乙・丙)。ほかの所で「甲及び乙」と書いた契約に「乙及び甲」が一つだけあると、読み手は順を変えた意味(乙を先に立てる理由)を探して止まります。条項を貼り合わせたときや、書き直したときに起きます。並べる語(及び・又は・と・・)でつないだ呼び名だけを数え、同じ二つの呼び名を逆の順に並べた所が、ふだんの順の半分以下のときに指します。
19
+ en: A Japanese contract lists its parties in a fixed order (甲及び乙, 甲又は乙, 甲乙, 甲・乙・丙). In a contract that writes 甲及び乙 everywhere else, a single 乙及び甲 makes the reader look for a reason to put 乙 first. It comes from pasted or rewritten clauses. Only names joined by a listing word (及び, 又は, と, ・) are counted, and a listing is reported when its order is written at most half as often as the reverse.
20
+
21
+ message:
22
+ ja: 「{written}」は、この文書がほかの所で書く順(「{usual}」)と逆です
23
+ en: '"{written}" lists the parties in the reverse of the order this document uses elsewhere ("{usual}")'
24
+
25
+ how_to_fix:
26
+ ja: ほかの所と同じ順に並べ替えてください。順に意味がある(乙を先に立てる)なら、そのままにします。
27
+ en: List the parties in the same order as elsewhere. If the order is meant (the second party first on purpose), leave it.
28
+
29
+ levels: { strict: warning, normal: info, relaxed: info }
30
+
31
+ use_for: [legal, docs, academic, literature, speech]
32
+ off_for:
33
+ docs: "The order of a contract's parties is a contract's convention: the contract genre checks it."
34
+ academic: "The order of a contract's parties is a contract's convention: the contract genre checks it."
35
+ literature: "The order of a contract's parties is a contract's convention: the contract genre checks it."
36
+ speech: "The order of a contract's parties is a contract's convention: the contract genre checks it."
37
+ legal/statute: "A statute defines no parties: it names people by their role."
38
+ legal/judgment: "A court decision quotes each side's words in that side's order."
39
+ legal/patent: "A patent has no parties."
40
+
41
+ group: consistency
42
+ summary:
43
+ ja: 「甲及び乙」と書く契約の中の「乙及び甲」
44
+ en: 乙及び甲 in a contract that otherwise writes 甲及び乙
45
+ example:
46
+ ja:
47
+ config: { genre: legal/contract }
48
+ before: |
49
+ # 業務委託契約書
50
+
51
+ 株式会社みなと商会(以下「甲」という。)と株式会社しおさい技研(以下「乙」という。)は、次のとおり契約を結ぶ。
52
+
53
+ 第1条 甲又は乙は、相手方が本契約に違反したときは、本契約を解除することができる。
54
+
55
+ 第2条 本契約に定めのない事項は、乙及び甲が協議して定める。
56
+
57
+ 第3条 本書2通を作成し、甲乙記名押印の上、各1通を保有する。
58
+ after: |
59
+ # 業務委託契約書
60
+
61
+ 株式会社みなと商会(以下「甲」という。)と株式会社しおさい技研(以下「乙」という。)は、次のとおり契約を結ぶ。
62
+
63
+ 第1条 甲又は乙は、相手方が本契約に違反したときは、本契約を解除することができる。
64
+
65
+ 第2条 本契約に定めのない事項は、甲及び乙が協議して定める。
66
+
67
+ 第3条 本書2通を作成し、甲乙記名押印の上、各1通を保有する。
68
+
69
+ not_flagged:
70
+ ja: 向きのある言い方(乙から甲への通知、甲に対し乙は、甲が乙に)は、並べたのではなく順に意味があるので数えません。「、」は、あとに並べる語がある並び(甲、乙及び丙)だけをつなぎます。長い語の頭(甲種株式の甲、乙種の乙)は呼び名と読みません。二つの順の数が同じか近い(逆の順が半分より多い)ときは、どちらがふだんの順とも言えないので指しません。呼び名は甲・乙・丙・丁と、文書が括弧で当事者に定めた呼び名(以下「委託者」という)です。契約書のジャンルで、日本語の文書だけで動きます。
71
+ en: A direction (乙から甲への通知, 甲に対し乙は, 甲が乙に) is not a listing and is not counted. A comma joins names only in a listing that goes on to a listing word (甲、乙及び丙). A name that starts a longer word (the 甲 of 甲種株式) is not read. When the two orders are written about as often (the reverse more than half as often), neither is the usual order and nothing is reported. The names are 甲, 乙, 丙 and 丁 and the short names the document gives its parties in brackets. Contracts only, in Japanese documents only.
72
+ rewrite:
73
+ depth: light
74
+ ja:
75
+ direction: 当事者の呼び名を、文書のほかの所と同じ順に並べ替えます。並べた語と、並べる語(及び・又は)は変えません。
76
+ pairs:
77
+ - before: 乙及び甲が協議して定める。
78
+ after: 甲及び乙が協議して定める。
79
+ - before: 乙又は甲は、本契約を解除することができる。
80
+ after: 甲又は乙は、本契約を解除することができる。
81
+ keep:
82
+ - 並べる語(及び・又は・と)
83
+ avoid:
84
+ - 向きのある言い方(乙から甲へ)の順を変える
@@ -10,8 +10,8 @@ name:
10
10
  en: Too long before the point
11
11
 
12
12
  why:
13
- ja: 業務文書の読み手は結論を探しに来ています。最初の見出しまでに段落が重なると、探す手間だけが増えます。
14
- en: A reader of a business document is looking for the decision. Paragraphs before the first heading only delay it.
13
+ ja: 業務文書の読み手は結論を探しに来ています。最初の見出しまでに段落が重なると、探す手間だけが増えます。文の閉じない段落(分類の札、著者の行)と、値が会社名だけの宛先・差出人の欄(英語の To 欄)は数えません。
14
+ en: A reader of a business document is looking for the decision. Paragraphs before the first heading only delay it. A paragraph with no closed sentence (a category label, an author line) and an address field whose value is only a name ("To" followed by a company name) are not counted.
15
15
 
16
16
  message:
17
17
  ja: 最初の見出しまでに {count} 段落あります({limit} 段落まで)
@@ -0,0 +1,53 @@
1
+ id: quantity-range-reversed
2
+ layer: L3
3
+ status: stable
4
+ how_to_find: quantity-range
5
+ # The quantities are read with the unit lexicons (unit-length, unit-mass, unit-time, unit-volume, unit-data, unit-temperature,
6
+ # unit-pressure, with unit-context); the joints are range-connector, range-opener, range-closer and quantity-range-word;
7
+ # quantity-change-word and quantity-bound-label come next.
8
+ severity: warning
9
+
10
+ name:
11
+ ja: 量の範囲の上限が下限より小さい
12
+ en: A measured range whose upper end is below its lower end
13
+
14
+ why:
15
+ ja: 「使用温度範囲:-10〜-40℃」「重さ 5〜2 kg」のように、測った量の範囲の終わりが始まりより小さいと、読み手はどちらの値が正しいのか、範囲がどこからどこまでなのかを確かめることになります。仕様書の温度や寸法で、片方の値だけを書き換えたときや、負の符号を書き足したとき、二つを入れ替えて書いたときに起きます。同じ単位の二つの量の間が範囲の記号(〜、–)だけのときと、「から」でつなぎ終わりの量のあとに「まで」が続くときを範囲として比べます。単位を一度だけ書いた範囲(30〜10 cm)も読みます。負の数は符号ごと読むので、-10〜-40℃ は終わりが小さく、-40〜-10℃ はそのままです。数の直後のハイフン(5-10 kg)は負の符号ではなく範囲の記号と読みます。同じ行に下限と上限を書いた二つの量も比べます。
16
+ en: 'When a measured range ends below where it starts ("Operating temperature: -10 to -40 °C", "Weight: 5–2 kg"), the reader has to ask which value is right and what the range is. It happens in a spec sheet when only one of the two values is edited, when a minus sign is added, or when the two are written the wrong way round. Two quantities in one unit are read as a range when only a range mark (–, —) or "to" stands between them, including a range that writes its unit once ("30–10 cm"). A negative number is read with its sign, so -10 to -40 °C ends below its start and -40 to -10 °C does not. A hyphen right after a number ("5-10 kg") is a range mark, not a minus sign. Two quantities on one line labelled minimum and maximum are compared too.'
17
+
18
+ message:
19
+ ja: 量の範囲「{range}」の上限が下限より小さくなっています
20
+ en: 'The range "{range}" ends below where it starts'
21
+
22
+ how_to_fix:
23
+ ja: 範囲の二つの値と符号を確かめて、書き間違えたほうを直すか、小さいほうから書いてください。
24
+ en: Check both values and their signs, and correct the wrong one or write the smaller one first.
25
+
26
+ levels: { strict: error, normal: warning, relaxed: info }
27
+
28
+ use_for: [business, technical, blog, legal, docs, academic, literature, speech]
29
+ off_for:
30
+ literature: "Length, rhythm, repetition and register are the author's choices in literature, and dialogue mixes styles. Only what one work can hold itself to runs: consistent spacing and commas, and numbering without gaps."
31
+
32
+ group: facts
33
+ summary:
34
+ ja: 「使用温度範囲:-10〜-40℃」のように、測った量の範囲の終わりが始まりより小さい所
35
+ en: A measured range whose second value is smaller than its first, such as "-10 to -40 °C"
36
+ example:
37
+ ja:
38
+ before: |
39
+ 使用温度範囲:-10〜-40℃(凍結しないこと)
40
+ after: |
41
+ 使用温度範囲:-10〜40℃(凍結しないこと)
42
+ en:
43
+ before: |
44
+ Operating temperature: -10 to -40 °C (no freezing)
45
+ after: |
46
+ Operating temperature: -10 to 40 °C (no freezing)
47
+
48
+ not_flagged:
49
+ ja: 同じ文に値を変える語や下る順を言う語のある二つの量(「40℃から10℃まで冷却」「カウントダウン 10〜0秒」「重い順」)、単位の違う二つの量、間に言葉のある二つの量、計算の式は比べません。百分率や単位の無い数は読みません。
50
+ en: 'Two quantities in a sentence with a word that changes a value or names a descending order ("cooled from 40 °C to 10 °C", "from 100 m down to 10 m", "countdown"), two quantities in different units, two quantities with words between them, and a sum are not compared. Percentages and numbers without a unit are not read.'
51
+ level_meaning:
52
+ ja: 測った量の範囲の終わりが始まりより小さいとき指摘
53
+ en: reported when a measured range ends below where it starts
@@ -0,0 +1,70 @@
1
+ id: range-band-mismatch
2
+ layer: L3
3
+ status: stable
4
+ how_to_find: range-band-mismatch
5
+ # The ends of a band are read with range-band-word, its unit with range-band-unit, and the bare numbers of a column with
6
+ # range-band-heading.
7
+ severity: warning
8
+
9
+ name:
10
+ ja: 重なるか、間が空いた区分の幅
11
+ en: Bands that overlap or leave a gap
12
+
13
+ why:
14
+ ja: 「7〜12歳」のあとに「12〜14歳」、「1〜6歳」のあとに「8歳以上」のように、表の列や箇条書きに並べた年齢・体重・金額・点数の区分が重なったり間が空いたりすると、12歳はどちらの量か、7歳はどの区分かを読み手が決められません。用量や料金の表で、一つの区分の端だけを書き換えたときに起きます。以上・以下は端を含み、未満・超は含まないと読みます。年齢・人数・点数のように間に値の無い数は、6〜11歳のあとの12歳〜を続いていると読み、同じ数で接する二つの区分は重なると読みます。重さ・金額・期間のように間に値のある量は、「〜」で同じ数に接する区分(50〜60kg、60〜70kg)と、書いた桁の一つ分だけ離れた区分(59kgまでと60kgから)を続いていると読みます。
15
+ en: 'When the bands of a table column or a list (ages, weights, amounts, scores) overlap or leave a gap, as "7 to 12" followed by "12 to 14", or "1 to 6 years" followed by "8 years and over", the reader cannot tell which amount a 12-year-old takes or which band a 7-year-old is in. It happens in a dosage or a fee table when only one end of one band is edited. "And over", "or more" and "up to" include their end; "under", "over", "more than" and "less than" do not. Ages, people and points have no value in between, so 6 to 11 then 12 and over is contiguous and two bands that share an end number overlap. Weights, money and durations do, so two bands that meet at one number with a range mark ("50-60 kg", "60-70 kg") are contiguous, and so are two a step of the written digits apart (59 kg then 60 kg).'
16
+
17
+ message:
18
+ ja: 区分「{earlier}」と「{later}」の幅が重なっています
19
+ en: 'The bands "{earlier}" and "{later}" overlap'
20
+ messages:
21
+ gap:
22
+ ja: 区分「{earlier}」と「{later}」の間が空いています
23
+ en: 'The bands "{earlier}" and "{later}" leave a gap between them'
24
+
25
+ how_to_fix:
26
+ ja: 区分の端の数を確かめて、書き間違えたほうを直してください。
27
+ en: Check the end numbers of the two bands, and correct the wrong one.
28
+
29
+ levels: { strict: error, normal: warning, relaxed: info }
30
+
31
+ use_for: [business, technical, blog, legal, docs, academic, literature, speech]
32
+ off_for:
33
+ literature: "Length, rhythm, repetition and register are the author's choices in literature, and dialogue mixes styles. Only what one work can hold itself to runs: consistent spacing and commas, and numbering without gaps."
34
+
35
+ group: facts
36
+ summary:
37
+ ja: 表の列や箇条書きの「7〜12歳」「12〜14歳」のように、隣り合う区分の幅が重なるか、間が空いた所
38
+ en: Neighbouring bands of a table column or a list that overlap or leave a gap, such as "7 to 12" then "12 to 14"
39
+ example:
40
+ ja:
41
+ before: |
42
+ | 年齢 | 1回量 |
43
+ | --- | --- |
44
+ | 15歳以上 | 2錠 |
45
+ | 12〜14歳 | 1錠 |
46
+ | 7〜12歳 | 半錠 |
47
+ after: |
48
+ | 年齢 | 1回量 |
49
+ | --- | --- |
50
+ | 15歳以上 | 2錠 |
51
+ | 12〜14歳 | 1錠 |
52
+ | 7〜11歳 | 半錠 |
53
+ en:
54
+ before: |
55
+ | Age | Dose |
56
+ | --- | --- |
57
+ | 1 to 6 years | 1 chew |
58
+ | 8 years and over | 2 chews |
59
+ after: |
60
+ | Age | Dose |
61
+ | --- | --- |
62
+ | 1 to 6 years | 1 chew |
63
+ | 7 years and over | 2 chews |
64
+
65
+ not_flagged:
66
+ ja: 区分は、表の一つの列の続いた行か、一つの箇条書きの続いた項目の頭に、同じ単位で書いたものだけを比べます。単位を書かない数は、列の見出しが何を数えるか言うとき(年齢、体重(kg))だけ読みます。一方の端だけを書いた区分が重なっていく段階(〜100万円、〜200万円、5人以上、10人以上)は、重なるように書いたものとして読みません。半分を超えて重なる区分(大きさの目安)と、二つだけの区分で、狭いほうの幅より大きく離れたものも言いません。時刻、日付と年(暦の年と分けられない)、負の数、単位の違う区分は読みません。
67
+ en: 'Only bands in consecutive rows of one table column, or at the head of consecutive items of one list, in one unit, are compared. Bare numbers are read only when the column heading says what they count ("Age", "Weight (kg)"). Tiers bounded at one end that are meant to nest ("up to $100", "up to $200", "5 or more", "10 or more") are not read as overlapping. Bands that overlap by more than half (size guides), and two bands alone that are further apart than the narrower one is wide, are not reported. Times of day, dates, negative numbers and bands in different units are not read.'
68
+ level_meaning:
69
+ ja: 隣り合う区分の幅が重なるか、間が空いたとき指摘
70
+ en: reported when neighbouring bands overlap or leave a gap
@@ -0,0 +1,61 @@
1
+ id: rent-multiple-mismatch
2
+ layer: L3
3
+ status: stable
4
+ how_to_find: rent-multiple-mismatch
5
+ # The amounts are read with currency-notation and amount-multiplier; the labels are rent-label and rent-multiple-label, the
6
+ # words rent-multiple-word, counts written as words number-word (digit), and a range of rent range-connector.
7
+ severity: warning
8
+
9
+ name:
10
+ ja: 賃料の月数分と合わない敷金・礼金
11
+ en: A deposit that is not the stated months of rent
12
+
13
+ why:
14
+ ja: 物件の案内で「敷金 1か月(85,000円)」のように月数と金額を並べて書くと、読み手は金額を確かめずに用意します。賃料を書き直したときや、別の部屋の行を写したときに、月数か金額のどちらかが残って食い違います。敷金・礼金・保証金・償却などの見出しの後に月数と金額が一つずつ並んでいるとき、その金額を、前に書いた賃料のその月数分と比べます。一つのページに物件がいくつもあれば、それぞれ直前の賃料と比べます。管理費・共益費が書いてあれば、賃料だけの月数分と、賃料に管理費を足した額の月数分のどちらでもよいとします(どちらで計算するかを書かない案内が多いため)。賃料が「85,000円〜90,000円」のように幅で書いてあれば、その幅に入る額を認めます。「9.8万円」は書いた桁までの丸めを認めます。
15
+ en: 'When a listing says "Deposit: 2 months ($3,200)", readers prepare the amount without working it out. It goes wrong when the rent is changed and the deposit line is not, or a line is copied from another unit. When a deposit, key money or guarantee states one number of months and one amount, the amount is compared with that many months of the rent stated before it; with several listings on one page, each deposit is compared with the rent just before it. When a service charge or maintenance fee is stated, the months may be of the rent alone or of the rent and the fee, since listings use both and seldom say which. A rent given as a range ("$1,600 to $1,700") accepts any amount in that range of months.'
16
+
17
+ message:
18
+ ja: 「{months}」と書いた額 {amount} が、賃料 {rent} のその月数分と合いません
19
+ en: "{amount} is not {months} of the rent ({rent})"
20
+
21
+ how_to_fix:
22
+ ja: 賃料・月数・金額のどれが正しいかを確かめて、ほかを直してください。賃料に管理費を足した額や税込みの額で計算するなら、そう書いてください。
23
+ en: Check which of the rent, the months and the amount is right, and correct the others. If the months are of the rent with a fee or with tax, say so.
24
+
25
+ levels: { strict: error, normal: warning, relaxed: info }
26
+
27
+ use_for: [business, technical, blog, legal, docs, academic, literature, speech]
28
+ off_for:
29
+ literature: "Length, rhythm, repetition and register are the author's choices in literature, and dialogue mixes styles. Only what one work can hold itself to runs: consistent spacing and commas, and numbering without gaps."
30
+
31
+ group: facts
32
+ summary:
33
+ ja: 「敷金 2か月(98,000円)」のように、賃料のその月数分と合わない金額
34
+ en: A deposit amount that is not the stated months of rent
35
+ example:
36
+ ja:
37
+ before: |
38
+ | 項目 | 金額 |
39
+ | --- | --- |
40
+ | 賃料 | 98,000円 |
41
+ | 敷金 | 2か月(98,000円) |
42
+ after: |
43
+ | 項目 | 金額 |
44
+ | --- | --- |
45
+ | 賃料 | 98,000円 |
46
+ | 敷金 | 1か月(98,000円) |
47
+ en:
48
+ before: |
49
+ | Item | Amount |
50
+ | --- | --- |
51
+ | Rent | $1,600 |
52
+ | Deposit | 2 months ($3,000) |
53
+ after: |
54
+ | Item | Amount |
55
+ | --- | --- |
56
+ | Rent | $1,600 |
57
+ | Deposit | 2 months ($3,200) |
58
+
59
+ not_flagged:
60
+ ja: 月数だけ(敷金 1か月)・金額だけ(敷金 85,000円)・「なし」の記載、「1〜2か月」のような月数の幅、一つの見出しに月数と金額の組が二つ以上ある記載、税込みの記載、賃料の書いていない文書、賃料や管理費の行に金額が二つある(「6,000円から5,000円に改定」)か年額・週額・坪単価の語がある文書は比べません。賃料より前に敷金があるときは、文書の賃料が一つのときだけ比べます。通貨の違う額は比べません。表の列見出しだけに「賃料」「敷金」とある表(行に見出しの無い表)は読みません。
61
+ en: 'A deposit given only in months ("1 month") or only as an amount, "none", a range of months ("1 to 2 months"), a statement with two different pairs of months and amount, an amount with tax, a document with no rent, and a rent or fee line holding two amounts ("$1,600, rising to $1,700") or another period ("per week", "per sq ft per year") are not compared. A deposit before any rent is compared only when the document states one rent. Amounts in different currencies are not compared. A table that names rent and deposit only in its column headings is not read.'
@@ -0,0 +1,102 @@
1
+ id: required-listed-as-preferred
2
+ layer: L3
3
+ status: stable
4
+ how_to_find: requirement-lists
5
+ # The headings and labels come from requirement-heading; a length of experience is read with requirement-length-unit,
6
+ # requirement-length-word and number-word, and requirement-item-ending is taken off the end of an item.
7
+ languages: [ja, en]
8
+ severity: warning
9
+
10
+ name:
11
+ ja: 必須の条件を歓迎の条件にも挙げている
12
+ en: A required skill listed again as preferred
13
+
14
+ why:
15
+ ja: 求人の「必須」に挙げた資格や経験を「歓迎」にも挙げると、読み手はそれが必ず要るのか、あれば良いだけなのかが分からず、応募するかどうかを決められません。どちらかの項目を書き換えたつもりで、別の行を写したときに起きます。必須(必須スキル、応募資格)と歓迎(歓迎スキル、尚可)の見出しや札の下の箇条書きを比べ、同じ項目が両方にあれば、歓迎のほうを指します。大文字と小文字、全角と半角、記号、項目の終わりの「の方」「こと」は区別しません。経験の長さ(3年以上)は外して比べ、歓迎のほうが長い経験を求めていなければ同じ項目と読みます。
16
+ en: 'When a posting lists a qualification under "Required" and again under "Preferred", the reader cannot tell whether it is a must or only welcome, and cannot decide whether to apply. It happens when one line is copied in place of the one that was meant to be rewritten. The list items under a required heading or label (Required, Requirements, Must have) are compared with those under a preferred one (Preferred, Nice to have, Bonus points), and an item in both is pointed out where it is preferred. Case, full and half width and punctuation are ignored. A length of experience (3+ years) is taken out before comparing, and the two are read as the same item unless the preferred one asks for more experience.'
17
+
18
+ message:
19
+ ja: 「{item}」は必須の条件({required})にも挙げています
20
+ en: '"{item}" is also listed as required ({required})'
21
+
22
+ how_to_fix:
23
+ ja: 必ず要るなら歓迎から消し、あれば良いだけなら必須から消してください。歓迎で上の水準を求めるなら、「5年以上」のように違いを書いてください。
24
+ en: Remove it from the preferred list if it is a must, or from the required list if it is only welcome. If the preferred item asks for more, say how much more, such as "5+ years".
25
+
26
+ # chaff explain と規則の一覧には指摘が無いので、{item} と {required} をこう読ませる。
27
+ placeholders:
28
+ item:
29
+ ja: 〇〇
30
+ en: the item
31
+ required:
32
+ ja: 必須の項目
33
+ en: the required item
34
+
35
+ levels: { strict: error, normal: warning, relaxed: info }
36
+
37
+ use_for: [business, technical, blog, legal, docs, academic, literature, speech]
38
+ off_for:
39
+ literature: "Length, rhythm, repetition and register are the author's choices in literature, and dialogue mixes styles. Only what one work can hold itself to runs: consistent spacing and commas, and numbering without gaps."
40
+
41
+ group: structure
42
+ summary:
43
+ ja: 求人で、必須に挙げた資格や経験を歓迎にも挙げている所
44
+ en: A skill or qualification in a job posting listed both as required and as preferred
45
+ example:
46
+ ja:
47
+ before: |
48
+ # 求人:経理スタッフ
49
+
50
+ ## 必須
51
+
52
+ - 日商簿記2級以上
53
+ - 経理の実務経験3年以上
54
+
55
+ ## 歓迎
56
+
57
+ - 日商簿記2級以上
58
+ - 英語の書類を読めること
59
+ after: |
60
+ # 求人:経理スタッフ
61
+
62
+ ## 必須
63
+
64
+ - 日商簿記2級以上
65
+ - 経理の実務経験3年以上
66
+
67
+ ## 歓迎
68
+
69
+ - 連結決算の経験
70
+ - 英語の書類を読めること
71
+ en:
72
+ before: |
73
+ # Job posting: Accounts Assistant
74
+
75
+ ## Required
76
+
77
+ - A degree in accounting or finance
78
+ - At least three years of bookkeeping experience
79
+
80
+ ## Preferred
81
+
82
+ - At least three years of bookkeeping experience
83
+ - Reading business documents in Japanese
84
+ after: |
85
+ # Job posting: Accounts Assistant
86
+
87
+ ## Required
88
+
89
+ - A degree in accounting or finance
90
+ - At least three years of bookkeeping experience
91
+
92
+ ## Preferred
93
+
94
+ - Experience with consolidated accounts
95
+ - Reading business documents in Japanese
96
+
97
+ not_flagged:
98
+ ja: 歓迎のほうが長い経験を求める項目(必須「Python」、歓迎「Python 5年以上」)は、上の水準を歓迎していると読んで指しません。違う言葉で同じことを言う項目(「簿記2級」と「日商簿記2級」)、資格の級の違い(「2級以上」と「1級」)、表に書いた条件、一つの行に「必須:Python、Go」のように並べた条件は比べません。見出しや札の無い箇条書きは読みません。
99
+ en: 'A preferred item asking for more experience (required "Python", preferred "5+ years of Python") is read as welcoming a higher level, and is not pointed out. Two items saying the same thing in other words ("bookkeeping" and "accounting"), different grades of a certificate, conditions written in a table, and conditions run together on one line ("Required: Python, Go") are not compared. A list without a required or preferred heading or label is not read.'
100
+ level_meaning:
101
+ ja: 必須と歓迎の両方に同じ項目があるとき指摘
102
+ en: reported when the same item is listed as required and as preferred
@@ -0,0 +1,79 @@
1
+ id: return-type-mismatch
2
+ layer: L1
3
+ status: stable
4
+ how_to_find: return-type
5
+ # The words come from the return-label (Returns, 戻り値), return-verb (returns, 返します), return-subject (は),
6
+ # return-type-word (string, 文字列), return-clause (when, とき) and return-item (per, ごと) lexicons.
7
+ requires: [markdown]
8
+ severity: warning
9
+
10
+ name:
11
+ ja: 戻り値の型が二通りに書かれている
12
+ en: A return type stated two ways
13
+
14
+ why:
15
+ ja: API リファレンスで、関数のシグネチャと、「戻り値:」の行や表や文が違う型を返すと書いていると、読み手はどちらを信じてよいか分からず、返った値を間違った型として扱います。戻り値を変えたときに、片方だけを直すと起きます。コードブロックのシグネチャ(戻り値の型が付いたもの)を基準に、同じ見出しの下の「戻り値:」の行、戻り値の列を持つ表の行、関数名を主語にして「返します」と言う文を、同じ名前の関数どうしで比べます。Array<string> と string[] のような同じ型の別の書き方は同じと読み、「文字列」「数値」のような語は種類として比べます。
16
+ en: When an API reference's signature and a "Returns:" line, a table or a sentence say a function returns different types, the reader cannot tell which to trust and handles the value as the wrong type. It happens when a return type is changed in one place only. The signature in a code block (one with a return type) is the reference; a "Returns:" line under the same heading, a row of a table with a return column, and a sentence whose subject is the function's name and whose verb is "returns" are compared with it, for the same function only. Two spellings of one type (Array<string> and string[]) are the same, and words such as "string" or "number" are compared as kinds of value.
17
+
18
+ message:
19
+ ja: 「{function}」の戻り値が「{stated}」と書かれていますが、シグネチャでは「{signature}」です
20
+ en: "`{function}` is said to return {stated} here, but its signature returns `{signature}`"
21
+
22
+ how_to_fix:
23
+ ja: 実際の戻り値を確かめて、シグネチャか説明のどちらかを直してください。
24
+ en: Check what the function really returns, and correct the signature or the description.
25
+
26
+ levels: { strict: error, normal: warning, relaxed: info }
27
+
28
+ use_for: [technical, docs, blog, legal, academic, literature, speech]
29
+ off_for:
30
+ legal: "Signatures and return types belong to technical writing."
31
+ academic: "Signatures and return types belong to technical writing."
32
+ literature: "Signatures and return types belong to technical writing."
33
+ speech: "Signatures and return types belong to technical writing."
34
+
35
+ group: facts
36
+ summary:
37
+ ja: API リファレンスで、シグネチャと説明が違う戻り値の型を言う所
38
+ en: A return type that the signature and the description state differently
39
+ example:
40
+ ja:
41
+ config: { genre: technical/readme }
42
+ before: |
43
+ ## measure
44
+
45
+ ```ts
46
+ measure(text: string, tabSize = 4): number
47
+ ```
48
+
49
+ measure は、幅を "12" のような文字列で返します。
50
+ after: |
51
+ ## measure
52
+
53
+ ```ts
54
+ measure(text: string, tabSize = 4): number
55
+ ```
56
+
57
+ measure は、幅を桁数の数値で返します。
58
+ en:
59
+ config: { genre: technical/readme }
60
+ before: |
61
+ ## measure
62
+
63
+ ```ts
64
+ measure(text: string, tabSize = 4): number
65
+ ```
66
+
67
+ measure returns the width as a string such as "12".
68
+ after: |
69
+ ## measure
70
+
71
+ ```ts
72
+ measure(text: string, tabSize = 4): number
73
+ ```
74
+
75
+ measure returns the width as a number of columns.
76
+
77
+ not_flagged:
78
+ ja: シグネチャの無い関数、別の名前の関数、引数の違う二つの宣言(オーバーロード。どちらかに合えば合っているとします)、型を読めないもの(オブジェクトの型、括弧で囲んだ型)、型の名前の無い文、二つの種類を言う文(文字列の配列)、条件の節の中の種類の語(「文字列が空のときに true を返します」の文字列)、一つ分を言う語が続く種類の語(「文字列ごとに」の文字列)、null だけを言う文(いつ null が返るかの説明)、ユニオンの一部だけを言うもの(number | null に対する number)、Promise やクラス名のように種類の語では比べられない型は見ません。「返していました」「返しません」のような過去や否定、関数名が主語でない文、名前と動詞の間に語を挟んだ英語の文(measure usually returns)、二つ以上の関数を宣言した見出しの下の「戻り値:」の行、コードブロックの中は読みません。
79
+ en: 'A function with no signature, a different function, two declarations with different parameters (overloads; a statement that fits either is fine), a type that cannot be read (an object type, a type in brackets), a sentence with no type in it, a sentence naming two kinds (an array of strings), a kind word inside a clause about when (string in "returns true when the string is empty"), a kind word naming one item ("one string per line"), a sentence naming only null (when null comes back), part of a union (number against number | null), and a type that a kind word cannot be compared with (Promise, a class name) are not reported. The past (returned), a sentence whose subject is not the function''s name or that puts a word between the name and returns (measure usually returns), a "Returns:" line under a heading that declares two or more functions, and code blocks are not read.'