@chaffjs/lang-en 0.27.0 → 0.29.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 (236) hide show
  1. package/dist/browser/wink-modules.d.ts +4 -0
  2. package/dist/browser/wink-modules.d.ts.map +1 -1
  3. package/dist/browser/wink-modules.js +5 -2
  4. package/dist/browser/wink-modules.js.map +1 -1
  5. package/dist/currency-amounts.d.ts +14 -0
  6. package/dist/currency-amounts.d.ts.map +1 -0
  7. package/dist/currency-amounts.js +38 -0
  8. package/dist/currency-amounts.js.map +1 -0
  9. package/dist/pos.d.ts.map +1 -1
  10. package/dist/pos.js +21 -5
  11. package/dist/pos.js.map +1 -1
  12. package/dist/proper-noun.d.ts +11 -0
  13. package/dist/proper-noun.d.ts.map +1 -1
  14. package/dist/proper-noun.js +31 -0
  15. package/dist/proper-noun.js.map +1 -1
  16. package/dist/structure.d.ts.map +1 -1
  17. package/dist/structure.js +26 -14
  18. package/dist/structure.js.map +1 -1
  19. package/dist/unit-case.d.ts +4 -0
  20. package/dist/unit-case.d.ts.map +1 -0
  21. package/dist/unit-case.js +11 -0
  22. package/dist/unit-case.js.map +1 -0
  23. package/dist/wink-modules.d.ts +5 -0
  24. package/dist/wink-modules.d.ts.map +1 -1
  25. package/dist/wink-modules.js +5 -0
  26. package/dist/wink-modules.js.map +1 -1
  27. package/lexicons/address-label.yaml +15 -0
  28. package/lexicons/age-reference-label.yaml +11 -0
  29. package/lexicons/age-time-mark.yaml +8 -0
  30. package/lexicons/annual-holidays-label.yaml +19 -0
  31. package/lexicons/annual-holidays-word.yaml +28 -0
  32. package/lexicons/annual-pay-label.yaml +24 -0
  33. package/lexicons/annual-pay-word.yaml +52 -0
  34. package/lexicons/any-year-marker.yaml +21 -0
  35. package/lexicons/balance-column.yaml +27 -0
  36. package/lexicons/battery-label.yaml +50 -0
  37. package/lexicons/battery-unit.yaml +18 -0
  38. package/lexicons/benefit-limit-word.yaml +16 -0
  39. package/lexicons/birth-date-label.yaml +8 -0
  40. package/lexicons/bmi-term.yaml +12 -0
  41. package/lexicons/bmi-unit.yaml +6 -0
  42. package/lexicons/capacity-exception.yaml +28 -0
  43. package/lexicons/capacity-label.yaml +10 -0
  44. package/lexicons/change-column.yaml +28 -0
  45. package/lexicons/closing-balance-label.yaml +35 -0
  46. package/lexicons/contact-label.yaml +11 -0
  47. package/lexicons/count-frame.yaml +9 -0
  48. package/lexicons/count-hedge.yaml +11 -1
  49. package/lexicons/cumulative-table.yaml +35 -0
  50. package/lexicons/currency-column.yaml +13 -0
  51. package/lexicons/date-deadline-mark.yaml +11 -0
  52. package/lexicons/date-now-word.yaml +7 -0
  53. package/lexicons/dated-column-label.yaml +17 -0
  54. package/lexicons/dated-pair-label.yaml +224 -0
  55. package/lexicons/dated-span-label.yaml +12 -0
  56. package/lexicons/deductible-basis.yaml +26 -0
  57. package/lexicons/deductible-word.yaml +11 -0
  58. package/lexicons/discount-rate-label.yaml +35 -0
  59. package/lexicons/email-sentence-end.yaml +8 -0
  60. package/lexicons/event-aside.yaml +15 -0
  61. package/lexicons/event-bill-word.yaml +9 -0
  62. package/lexicons/event-date-label.yaml +12 -0
  63. package/lexicons/event-deadline-word.yaml +11 -0
  64. package/lexicons/event-due-word.yaml +7 -0
  65. package/lexicons/event-payment-deadline-word.yaml +12 -0
  66. package/lexicons/event-payment-word.yaml +7 -0
  67. package/lexicons/event-registration-word.yaml +18 -0
  68. package/lexicons/event-start-label.yaml +10 -0
  69. package/lexicons/event-ticket-word.yaml +8 -0
  70. package/lexicons/event-trip-word.yaml +13 -0
  71. package/lexicons/fact-age-joiner.yaml +8 -0
  72. package/lexicons/fact-age-limit.yaml +9 -0
  73. package/lexicons/fact-age-mark.yaml +13 -0
  74. package/lexicons/fact-amount-condition.yaml +15 -0
  75. package/lexicons/fact-count-column.yaml +10 -0
  76. package/lexicons/fact-count-counter.yaml +11 -0
  77. package/lexicons/fact-count-not-whole.yaml +19 -0
  78. package/lexicons/fact-count-restating.yaml +8 -0
  79. package/lexicons/fact-count-separate-rows.yaml +7 -0
  80. package/lexicons/fact-count-whole.yaml +11 -0
  81. package/lexicons/fact-document-term.yaml +39 -0
  82. package/lexicons/fact-label-qualifier.yaml +10 -0
  83. package/lexicons/fact-quantity-period.yaml +7 -0
  84. package/lexicons/fact-quantity-self.yaml +9 -0
  85. package/lexicons/fact-quantity-verb.yaml +8 -0
  86. package/lexicons/fact-rate-base.yaml +15 -0
  87. package/lexicons/fact-rate-joiner.yaml +16 -0
  88. package/lexicons/fact-rate-kind.yaml +9 -0
  89. package/lexicons/fact-rate-period.yaml +14 -0
  90. package/lexicons/fact-reading-clause.yaml +10 -0
  91. package/lexicons/fact-reading-gauge.yaml +13 -0
  92. package/lexicons/fact-reading-verb.yaml +9 -0
  93. package/lexicons/fact-term-self.yaml +12 -0
  94. package/lexicons/fact-term-start.yaml +7 -0
  95. package/lexicons/fact-term-verb.yaml +9 -0
  96. package/lexicons/gpa-label.yaml +19 -0
  97. package/lexicons/grade-point.yaml +40 -0
  98. package/lexicons/headcount-label.yaml +21 -0
  99. package/lexicons/headcount-unit.yaml +22 -0
  100. package/lexicons/heading-number-label.yaml +2 -6
  101. package/lexicons/installment-label.yaml +33 -0
  102. package/lexicons/installment-word.yaml +45 -0
  103. package/lexicons/interest-label.yaml +33 -0
  104. package/lexicons/item-amount.yaml +34 -0
  105. package/lexicons/item-at-hand.yaml +15 -0
  106. package/lexicons/item-list-heading.yaml +21 -0
  107. package/lexicons/item-name-column.yaml +10 -0
  108. package/lexicons/item-use.yaml +74 -0
  109. package/lexicons/lab-result-column.yaml +23 -0
  110. package/lexicons/label-product-word.yaml +36 -0
  111. package/lexicons/layout-code.yaml +13 -0
  112. package/lexicons/layout-label.yaml +14 -0
  113. package/lexicons/layout-room.yaml +16 -0
  114. package/lexicons/line-amount-column.yaml +4 -0
  115. package/lexicons/measure-per-mark.yaml +8 -0
  116. package/lexicons/measure-value-lead.yaml +8 -0
  117. package/lexicons/meter-event.yaml +22 -0
  118. package/lexicons/meter-reading-label.yaml +26 -0
  119. package/lexicons/meter-unit.yaml +16 -0
  120. package/lexicons/model-code-label.yaml +17 -0
  121. package/lexicons/net-amount-label.yaml +66 -0
  122. package/lexicons/net-amount-period.yaml +19 -0
  123. package/lexicons/net-gross-weight-column.yaml +23 -0
  124. package/lexicons/number-name-word.yaml +49 -0
  125. package/lexicons/order-quantity-column.yaml +33 -0
  126. package/lexicons/overnight-work-mark.yaml +13 -0
  127. package/lexicons/pack-count-column.yaml +13 -0
  128. package/lexicons/pack-price-column.yaml +12 -0
  129. package/lexicons/per-unit-mark.yaml +6 -0
  130. package/lexicons/period-after-term.yaml +25 -0
  131. package/lexicons/period-deadline.yaml +10 -2
  132. package/lexicons/period-label.yaml +7 -0
  133. package/lexicons/period-multiple-label.yaml +16 -0
  134. package/lexicons/period-multiple-word.yaml +28 -0
  135. package/lexicons/period-part-after.yaml +11 -0
  136. package/lexicons/period-part-length-verb.yaml +9 -0
  137. package/lexicons/period-part-marker.yaml +11 -0
  138. package/lexicons/period-part-range.yaml +9 -0
  139. package/lexicons/period-part-unnamed.yaml +16 -0
  140. package/lexicons/period-part-word.yaml +7 -0
  141. package/lexicons/person-label.yaml +26 -0
  142. package/lexicons/phone-label.yaml +11 -0
  143. package/lexicons/place-word.yaml +7 -1
  144. package/lexicons/points-earned-column.yaml +18 -0
  145. package/lexicons/points-rate-joiner.yaml +8 -0
  146. package/lexicons/points-unit.yaml +10 -0
  147. package/lexicons/quantity-bound-label.yaml +13 -0
  148. package/lexicons/quantity-change-word.yaml +47 -0
  149. package/lexicons/quantity-column.yaml +27 -0
  150. package/lexicons/quantity-range-word.yaml +6 -0
  151. package/lexicons/range-band-heading.yaml +16 -0
  152. package/lexicons/range-band-unit.yaml +34 -0
  153. package/lexicons/range-band-word.yaml +49 -0
  154. package/lexicons/range-label.yaml +10 -0
  155. package/lexicons/rate-unit.yaml +19 -0
  156. package/lexicons/ratio-label.yaml +14 -0
  157. package/lexicons/ratio-term.yaml +18 -0
  158. package/lexicons/reference-bound-mark.yaml +12 -0
  159. package/lexicons/reference-column-heading.yaml +10 -0
  160. package/lexicons/reference-column.yaml +18 -0
  161. package/lexicons/reference-flag.yaml +20 -0
  162. package/lexicons/reference-label.yaml +151 -0
  163. package/lexicons/reference-unit-column.yaml +8 -0
  164. package/lexicons/reference-unit.yaml +81 -0
  165. package/lexicons/rent-label.yaml +14 -0
  166. package/lexicons/rent-multiple-label.yaml +11 -0
  167. package/lexicons/rent-multiple-word.yaml +44 -0
  168. package/lexicons/reporting-comparison.yaml +29 -0
  169. package/lexicons/reporting-current.yaml +14 -0
  170. package/lexicons/reporting-forecast.yaml +25 -0
  171. package/lexicons/reporting-period-frame.yaml +27 -0
  172. package/lexicons/reporting-period-line.yaml +11 -0
  173. package/lexicons/reporting-results-word.yaml +9 -0
  174. package/lexicons/reporting-year-frame.yaml +10 -0
  175. package/lexicons/request-offer.yaml +12 -0
  176. package/lexicons/retention-bound.yaml +25 -0
  177. package/lexicons/retention-length-mark.yaml +7 -0
  178. package/lexicons/retention-length-modifier.yaml +6 -0
  179. package/lexicons/retention-object-mark.yaml +5 -0
  180. package/lexicons/retention-unit.yaml +5 -0
  181. package/lexicons/retention-verb.yaml +12 -0
  182. package/lexicons/revision-column.yaml +17 -0
  183. package/lexicons/revision-direction.yaml +29 -0
  184. package/lexicons/scaled-unit-form.yaml +59 -0
  185. package/lexicons/serial-label.yaml +13 -0
  186. package/lexicons/service-charge-label.yaml +6 -0
  187. package/lexicons/servings-column.yaml +26 -0
  188. package/lexicons/share-amount-label.yaml +20 -0
  189. package/lexicons/share-column-rate-header.yaml +21 -0
  190. package/lexicons/shift-column.yaml +23 -0
  191. package/lexicons/stamp-order-label.yaml +25 -0
  192. package/lexicons/step-time-not-own.yaml +36 -0
  193. package/lexicons/step-time-total.yaml +9 -0
  194. package/lexicons/summed-counter.yaml +45 -0
  195. package/lexicons/table-scale-unit.yaml +17 -0
  196. package/lexicons/table-unit-caption.yaml +7 -0
  197. package/lexicons/tax-price-column.yaml +28 -0
  198. package/lexicons/tier-label.yaml +31 -0
  199. package/lexicons/tier-unit.yaml +9 -0
  200. package/lexicons/timed-pair-label.yaml +54 -0
  201. package/lexicons/total-label-qualifier.yaml +40 -0
  202. package/lexicons/total-label.yaml +4 -2
  203. package/lexicons/total-noun-listed.yaml +9 -0
  204. package/lexicons/total-noun-qualifier.yaml +10 -0
  205. package/lexicons/total-noun-unsummed.yaml +9 -0
  206. package/lexicons/total-period-qualifier.yaml +17 -0
  207. package/lexicons/transcript-column.yaml +23 -0
  208. package/lexicons/unit-area.yaml +58 -0
  209. package/lexicons/unit-concentration.yaml +71 -0
  210. package/lexicons/unit-context.yaml +36 -0
  211. package/lexicons/unit-equivalent-hedge.yaml +11 -0
  212. package/lexicons/unit-item-link.yaml +5 -0
  213. package/lexicons/unit-length.yaml +3 -0
  214. package/lexicons/unit-pressure.yaml +12 -0
  215. package/lexicons/unit-price-column.yaml +33 -0
  216. package/lexicons/unit-temperature.yaml +20 -0
  217. package/lexicons/unit-volume.yaml +37 -0
  218. package/lexicons/unit-zero.yaml +12 -0
  219. package/lexicons/unscaled-amount.yaml +12 -0
  220. package/lexicons/use-amount-word.yaml +11 -0
  221. package/lexicons/use-count-word.yaml +49 -0
  222. package/lexicons/use-interval-word.yaml +21 -0
  223. package/lexicons/variance-column.yaml +22 -0
  224. package/lexicons/walk-rate.yaml +23 -0
  225. package/lexicons/walk-word.yaml +20 -0
  226. package/lexicons/weekly-days-off.yaml +23 -0
  227. package/lexicons/year-span-joiner.yaml +12 -0
  228. package/package.json +1 -1
  229. package/src/browser/wink-modules.ts +6 -2
  230. package/src/browser/wink.d.ts +11 -1
  231. package/src/currency-amounts.ts +51 -0
  232. package/src/pos.ts +27 -5
  233. package/src/proper-noun.ts +45 -0
  234. package/src/structure.ts +33 -15
  235. package/src/unit-case.ts +14 -0
  236. package/src/wink-modules.ts +6 -0
@@ -0,0 +1,28 @@
1
+ # The words of annual-holidays-mismatch. link may stand between a label and its count ("Annual days off are 125 days").
2
+ # day is the word of a day after a count. negation negates a weekly phrase earlier in its sentence ("does not offer two
3
+ # days off every week"). exception, after a weekly phrase on its line, makes an exception to it ("except in peak season",
4
+ # "some Saturdays worked"). With either, the posting is not compared. open leaves a count open ("from 120 days", "120+ days").
5
+ id: annual-holidays-word
6
+ language: en
7
+ entries:
8
+ - { pattern: is, group: link }
9
+ - { pattern: are, group: link }
10
+ - { pattern: of, group: link }
11
+ - { pattern: day, group: day }
12
+ - { pattern: days, group: day }
13
+ - { pattern: not, group: negation, position: before }
14
+ - { pattern: never, group: negation, position: before }
15
+ - { pattern: no, group: negation, position: before }
16
+ - { pattern: without, group: negation, position: before }
17
+ - { pattern: "doesn't", group: negation, position: before }
18
+ - { pattern: "don't", group: negation, position: before }
19
+ - { pattern: "isn't", group: negation, position: before }
20
+ - { pattern: except, group: exception }
21
+ - { pattern: excluding, group: exception }
22
+ - { pattern: other than, group: exception }
23
+ - { pattern: apart from, group: exception }
24
+ - { pattern: worked, group: exception }
25
+ - { pattern: on duty, group: exception }
26
+ - { pattern: from, group: open, position: before }
27
+ - { pattern: "+", group: open, position: after }
28
+ - { pattern: or more, group: open, position: after }
@@ -0,0 +1,24 @@
1
+ # The pay labels of a job posting (annual-pay-mismatch). example is an example annual pay, compared with twelve months of
2
+ # the monthly pay plus the bonus months; a bare "Annual pay" is left out so an average or a past pay is not read. salary
3
+ # is an annual salary; a document with one is not compared, since its monthly pay may be the salary over 12, 14 or 16.
4
+ # monthly is a monthly pay; pay is read as monthly only with a per-month word beside it ("$4,500 a month"); bonus is a bonus.
5
+ id: annual-pay-label
6
+ language: en
7
+ entries:
8
+ - { pattern: Example annual pay, group: example }
9
+ - { pattern: Sample annual pay, group: example }
10
+ - { pattern: Expected annual pay, group: example }
11
+ - { pattern: Estimated annual pay, group: example }
12
+ - { pattern: Example annual income, group: example }
13
+ - { pattern: Expected annual income, group: example }
14
+ - { pattern: Annual salary, group: salary }
15
+ - { pattern: Monthly salary, group: monthly }
16
+ - { pattern: Monthly pay, group: monthly }
17
+ - { pattern: Monthly base salary, group: monthly }
18
+ - { pattern: Monthly base pay, group: monthly }
19
+ - { pattern: Salary, group: pay }
20
+ - { pattern: Pay, group: pay }
21
+ - { pattern: Base salary, group: pay }
22
+ - { pattern: Base pay, group: pay }
23
+ - { pattern: Bonus, group: bonus }
24
+ - { pattern: Bonuses, group: bonus }
@@ -0,0 +1,52 @@
1
+ # The words of annual-pay-mismatch. link may stand between a label and its amount ("monthly salary of $4,800"). per-month
2
+ # makes a pay label monthly. none says there is no bonus, after the label ("Bonus: none") or before it ("No bonus"). each
3
+ # makes a bonus count per payment and extra says another bonus is paid besides; neither bonus is read. times says a bonus
4
+ # is paid more than once a year; then the months are read only when a total word calls them the year's total. include says a pay
5
+ # holds overtime or allowances; on an annual line or a note beside it, the document is not compared. open leaves an
6
+ # amount's range open ("from $70,000", "$70,000+").
7
+ id: annual-pay-word
8
+ language: en
9
+ entries:
10
+ - { pattern: is, group: link }
11
+ - { pattern: of, group: link }
12
+ - { pattern: at, group: link }
13
+ - { pattern: a month, group: per-month }
14
+ - { pattern: per month, group: per-month }
15
+ - { pattern: monthly, group: per-month }
16
+ - { pattern: /month, group: per-month }
17
+ - { pattern: /mo, group: per-month }
18
+ - { pattern: none, group: none, position: after }
19
+ - { pattern: not paid, group: none, position: after }
20
+ - { pattern: no, group: none, position: before }
21
+ - { pattern: each, group: each }
22
+ - { pattern: per payment, group: each }
23
+ - { pattern: per occasion, group: each }
24
+ - { pattern: additional, group: extra }
25
+ - { pattern: separately, group: extra }
26
+ - { pattern: twice, group: times }
27
+ - { pattern: two times, group: times }
28
+ - { pattern: three times, group: times }
29
+ - { pattern: 2 times, group: times }
30
+ - { pattern: 3 times, group: times }
31
+ - { pattern: semi-annual, group: times }
32
+ - { pattern: semiannual, group: times }
33
+ - { pattern: biannual, group: times }
34
+ - { pattern: quarterly, group: times }
35
+ - { pattern: summer, group: times }
36
+ - { pattern: winter, group: times }
37
+ - { pattern: in total, group: total }
38
+ - { pattern: total, group: total }
39
+ - { pattern: combined, group: total }
40
+ - { pattern: overtime, group: include }
41
+ - { pattern: allowance, group: include }
42
+ - { pattern: allowances, group: include }
43
+ - { pattern: incentive, group: include }
44
+ - { pattern: incentives, group: include }
45
+ - { pattern: commission, group: include }
46
+ - { pattern: commissions, group: include }
47
+ - { pattern: tips, group: include }
48
+ - { pattern: from, group: open, position: before }
49
+ - { pattern: starting at, group: open, position: before }
50
+ - { pattern: "+", group: open, position: after }
51
+ - { pattern: and up, group: open, position: after }
52
+ - { pattern: and above, group: open, position: after }
@@ -0,0 +1,21 @@
1
+ # Words that make a yearless date no date of one year. date-without-year does not report a date they cover: "every year on
2
+ # April 1" is a day that comes round each year, and "for example, a request received on April 1" is a date in an example.
3
+ # A word without a group covers the rest of its sentence (not past a closing bracket), and the list a line ending in it
4
+ # introduces ("for example:"). group: adjacent covers only the date just after it ("each December 31"). group: label
5
+ # covers the dates in the bracket after it ("New Year holidays (December 29 to January 3)").
6
+ id: any-year-marker
7
+ language: en
8
+ entries:
9
+ - pattern: for example
10
+ - pattern: for instance
11
+ - pattern: e.g.
12
+ - pattern: every year
13
+ - pattern: each year
14
+ - pattern: each
15
+ group: adjacent
16
+ - pattern: every
17
+ group: adjacent
18
+ - pattern: New Year holidays
19
+ group: label
20
+ - pattern: year-end holidays
21
+ group: label
@@ -0,0 +1,27 @@
1
+ # Headings that say what a column of a running-balance table holds (running-balance-mismatch): a repayment schedule, an
2
+ # account statement, a stock card. group: balance is the running balance, principal and payment what a loan row takes off,
3
+ # interest the part of a payment that is not principal, in and out what came in and went out, sequence the row number, and
4
+ # date a date column ("Payment date" is not a payment). date, sequence and balance are looked at first, so "Balance after
5
+ # payment" is the balance and "Outstanding principal" is not the principal.
6
+ id: balance-column
7
+ language: en
8
+ entries:
9
+ - { pattern: date, group: date }
10
+ - { pattern: no., group: sequence }
11
+ - { pattern: "#", group: sequence }
12
+ - { pattern: balance, group: balance }
13
+ - { pattern: outstanding, group: balance }
14
+ - { pattern: on hand, group: balance }
15
+ - { pattern: interest, group: interest }
16
+ - { pattern: fee, group: interest }
17
+ - { pattern: principal, group: principal }
18
+ - { pattern: deposit, group: in }
19
+ - { pattern: deposits, group: in }
20
+ - { pattern: received, group: in }
21
+ - { pattern: withdrawal, group: out }
22
+ - { pattern: withdrawals, group: out }
23
+ - { pattern: issued, group: out }
24
+ - { pattern: payment, group: payment }
25
+ - { pattern: repayment, group: payment }
26
+ - { pattern: installment, group: payment }
27
+ - { pattern: amount paid, group: payment }
@@ -0,0 +1,50 @@
1
+ # Item names that say a battery's capacity, its consumption and how long it lasts (capacity-runtime-mismatch). An item name
2
+ # holding one of these words is read as a value of that group. group capacity is the capacity, consumption a current or power
3
+ # drawn, runtime how long the device runs. standby marks a value while idle: a standby consumption pairs only with a standby
4
+ # time, an ordinary one only with a use time. peak marks a maximum: written outside the brackets of the item name, or as the
5
+ # whole of its bracket or of the column heading, that consumption is not used (the runtime at the maximum draw is only a lower
6
+ # bound). A condition in brackets ("(50% volume)") pairs a consumption with the runtime under the same condition.
7
+ # group bound marks a value bounded from one side ("at least 10 hours", "under 500 mA"); such a value is not compared.
8
+ # A bracket or a column heading that is only a standby or peak word ("(idle)", "Max.") marks the value too; group state is a word
9
+ # that may follow it ("idle mode").
10
+ id: battery-label
11
+ language: en
12
+ entries:
13
+ - { pattern: "capacity", group: capacity }
14
+ - { pattern: "current draw", group: consumption }
15
+ - { pattern: "current consumption", group: consumption }
16
+ - { pattern: "power consumption", group: consumption }
17
+ - { pattern: "power draw", group: consumption }
18
+ - { pattern: "operating current", group: consumption }
19
+ - { pattern: "average current", group: consumption }
20
+ - { pattern: "supply current", group: consumption }
21
+ - { pattern: "standby current", group: consumption }
22
+ - { pattern: "battery life", group: runtime }
23
+ - { pattern: "runtime", group: runtime }
24
+ - { pattern: "run time", group: runtime }
25
+ - { pattern: "playback time", group: runtime }
26
+ - { pattern: "play time", group: runtime }
27
+ - { pattern: "operating time", group: runtime }
28
+ - { pattern: "usage time", group: runtime }
29
+ - { pattern: "use time", group: runtime }
30
+ - { pattern: "talk time", group: runtime }
31
+ - { pattern: "standby time", group: runtime }
32
+ - { pattern: "standby", group: standby }
33
+ - { pattern: "idle", group: standby }
34
+ - { pattern: "sleep", group: standby }
35
+ - { pattern: "max", group: peak }
36
+ - { pattern: "maximum", group: peak }
37
+ - { pattern: "peak", group: peak }
38
+ - { pattern: "inrush", group: peak }
39
+ - { pattern: "up to", group: peak }
40
+ - { pattern: "at least", group: bound, position: before }
41
+ - { pattern: "at most", group: bound, position: before }
42
+ - { pattern: "more than", group: bound, position: before }
43
+ - { pattern: "less than", group: bound, position: before }
44
+ - { pattern: "over", group: bound, position: before }
45
+ - { pattern: "under", group: bound, position: before }
46
+ - { pattern: "within", group: bound, position: before }
47
+ - { pattern: "or more", group: bound, position: after }
48
+ - { pattern: "or less", group: bound, position: after }
49
+ - { pattern: "mode", group: state }
50
+ - { pattern: "state", group: state }
@@ -0,0 +1,18 @@
1
+ # Units of a battery capacity and of what is drawn from it (capacity-runtime-mismatch). group is the kind of quantity: a charge is
2
+ # divided only by a current and an energy only by a power. Dividing mAh by W needs a voltage, and whether that is the nominal or
3
+ # the operating one cannot be told, so it is not done. weight is the factor to mAh, mA, Wh or W.
4
+ id: battery-unit
5
+ language: en
6
+ entries:
7
+ - { pattern: "mAh", group: charge, weight: 1 }
8
+ - { pattern: "Ah", group: charge, weight: 1000 }
9
+ - { pattern: "µA", group: current, weight: 0.001 }
10
+ - { pattern: "μA", group: current, weight: 0.001 }
11
+ - { pattern: "mA", group: current, weight: 1 }
12
+ - { pattern: "A", group: current, weight: 1000 }
13
+ - { pattern: "mWh", group: energy, weight: 0.001 }
14
+ - { pattern: "kWh", group: energy, weight: 1000 }
15
+ - { pattern: "Wh", group: energy, weight: 1 }
16
+ - { pattern: "mW", group: power, weight: 0.001 }
17
+ - { pattern: "kW", group: power, weight: 1000 }
18
+ - { pattern: "W", group: power, weight: 1 }
@@ -0,0 +1,16 @@
1
+ # The words for the most paid for a benefit (deductible-exceeds-limit), written before the amount. group not: phrases
2
+ # where one of them qualifies the deductible instead ("maximum excess").
3
+ id: benefit-limit-word
4
+ language: en
5
+ entries:
6
+ - { pattern: the most we pay }
7
+ - { pattern: the most we will pay }
8
+ - { pattern: the most we'll pay }
9
+ - { pattern: maximum }
10
+ - { pattern: limit }
11
+ - { pattern: limited to }
12
+ - { pattern: up to }
13
+ - { pattern: maximum excess, group: not }
14
+ - { pattern: maximum deductible, group: not }
15
+ - { pattern: excess limit, group: not }
16
+ - { pattern: deductible limit, group: not }
@@ -0,0 +1,8 @@
1
+ # Labels of a date of birth (elapsed-years-mismatch). The full date after the label is paired with the age on the same line ("(age 57)").
2
+ id: birth-date-label
3
+ language: en
4
+ entries:
5
+ - pattern: date of birth
6
+ - pattern: birth date
7
+ - pattern: dob
8
+ - pattern: born
@@ -0,0 +1,12 @@
1
+ # Names of a height, a weight and a BMI (bmi-mismatch). group is height, weight or bmi. A table row label or the name of a
2
+ # "name: value" line is read when it is only this word (a unit in brackets aside). When one section has one of each, the
3
+ # BMI is compared with the weight divided by the square of the height.
4
+ id: bmi-term
5
+ language: en
6
+ entries:
7
+ - { pattern: Height, group: height }
8
+ - { pattern: Weight, group: weight }
9
+ - { pattern: Body weight, group: weight }
10
+ - { pattern: BMI, group: bmi }
11
+ - { pattern: Body mass index, group: bmi }
12
+ - { pattern: Body-mass index, group: bmi }
@@ -0,0 +1,6 @@
1
+ # Units of a BMI (bmi-mismatch). A BMI value may have nothing after it, or only one of these.
2
+ id: bmi-unit
3
+ language: en
4
+ entries:
5
+ - pattern: "kg/m²"
6
+ - pattern: "kg/m2"
@@ -0,0 +1,28 @@
1
+ # Marks that keep a capacity and a headcount apart (count-over-capacity). Group overflow, in the section of either, makes
2
+ # registrations past the capacity expected (waitlist, ballot). Per-session, on the line of either, makes it a number for
3
+ # one session or one day ("20 per session"). Other-occasion, on the line of a headcount, makes it another event's
4
+ # ("last year 120 people attended"). Negation, in the clause after a headcount, makes it people who did not register
5
+ # ("45 people have not registered"). Matched as written, case aside, English words as whole words.
6
+ id: capacity-exception
7
+ language: en
8
+ entries:
9
+ - { pattern: waitlist, group: overflow }
10
+ - { pattern: waiting list, group: overflow }
11
+ - { pattern: wait list, group: overflow }
12
+ - { pattern: ballot, group: overflow }
13
+ - { pattern: lottery, group: overflow }
14
+ - { pattern: per session, group: per-session }
15
+ - { pattern: each session, group: per-session }
16
+ - { pattern: per class, group: per-session }
17
+ - { pattern: each class, group: per-session }
18
+ - { pattern: per day, group: per-session }
19
+ - { pattern: each day, group: per-session }
20
+ - { pattern: per workshop, group: per-session }
21
+ - { pattern: per tour, group: per-session }
22
+ - { pattern: last year, group: other-occasion }
23
+ - { pattern: previous, group: other-occasion }
24
+ - { pattern: past, group: other-occasion }
25
+ - { pattern: in total, group: other-occasion }
26
+ - { pattern: cumulative, group: other-occasion }
27
+ - { pattern: not, group: negation }
28
+ - { pattern: never, group: negation }
@@ -0,0 +1,10 @@
1
+ # The words that make a number the most people an event takes (count-over-capacity), written before the number
2
+ # ("Capacity: 90 seats", "limited to 30 people"). Group place is a capacity only with a unit of places ("there are 25 places").
3
+ id: capacity-label
4
+ language: en
5
+ entries:
6
+ - { pattern: capacity, position: before }
7
+ - { pattern: limited to, position: before }
8
+ - { pattern: maximum of, position: before }
9
+ - { pattern: there are, position: before, group: place }
10
+ - { pattern: there will be, position: before, group: place }
@@ -0,0 +1,28 @@
1
+ # Headings that say what a column of a prior / current / change table holds (change-rate-mismatch). group: base is the
2
+ # earlier value, current the later one, rate a rate of change (a percentage even without %), change a change that is a rate
3
+ # only when its cells carry %. Rate words are looked at first, so "change vs prior year" is not the earlier value.
4
+ id: change-column
5
+ language: en
6
+ entries:
7
+ - { pattern: yoy, group: rate }
8
+ - { pattern: y/y, group: rate }
9
+ - { pattern: year-on-year, group: rate }
10
+ - { pattern: year over year, group: rate }
11
+ - { pattern: "% change", group: rate }
12
+ - { pattern: change (%), group: rate }
13
+ - { pattern: change %, group: rate }
14
+ - { pattern: growth, group: change }
15
+ - { pattern: change, group: change }
16
+ - { pattern: prior year, group: base }
17
+ - { pattern: previous year, group: base }
18
+ - { pattern: last year, group: base }
19
+ - { pattern: prior period, group: base }
20
+ - { pattern: previous period, group: base }
21
+ - { pattern: prior quarter, group: base }
22
+ - { pattern: previous quarter, group: base }
23
+ - { pattern: a year earlier, group: base }
24
+ - { pattern: current year, group: current }
25
+ - { pattern: this year, group: current }
26
+ - { pattern: current period, group: current }
27
+ - { pattern: current quarter, group: current }
28
+ - { pattern: this quarter, group: current }
@@ -0,0 +1,35 @@
1
+ # Names of the amounts a statement's balance links (closing-balance-mismatch). group is opening (the balance at the start
2
+ # of the period), inflow (the total paid in), outflow (the total paid out) or closing (the balance at the end). When one
3
+ # table or one section has one word each of the four, each with an amount, the closing balance is compared with opening
4
+ # + inflow - outflow. A table heading, row label or line label that is only this word (a unit in brackets aside) is read.
5
+ # Previous balance and New balance stand with Points earned and Points used: a card statement uses them for an amount owed,
6
+ # which credits reduce, but no word here names a card's payments or purchases, and points are not compared with dollars.
7
+ # Credits and Debits alone are left out for the same reason: on a card or loan statement credits lower the balance.
8
+ # Deposit and Withdrawal alone are the columns of a transaction table, which running-balance-mismatch reads row by row.
9
+ id: closing-balance-label
10
+ language: en
11
+ entries:
12
+ - { pattern: Opening balance, group: opening }
13
+ - { pattern: Beginning balance, group: opening }
14
+ - { pattern: Starting balance, group: opening }
15
+ - { pattern: Balance brought forward, group: opening }
16
+ - { pattern: Balance at the end of last month, group: opening }
17
+ - { pattern: Previous balance, group: opening }
18
+ - { pattern: Total deposits, group: inflow }
19
+ - { pattern: Deposits and credits, group: inflow }
20
+ - { pattern: Deposits and other credits, group: inflow }
21
+ - { pattern: Points earned, group: inflow }
22
+ - { pattern: Points earned this month, group: inflow }
23
+ - { pattern: "Add: income for the year", group: inflow }
24
+ - { pattern: Total withdrawals, group: outflow }
25
+ - { pattern: Withdrawals and debits, group: outflow }
26
+ - { pattern: Withdrawals and other debits, group: outflow }
27
+ - { pattern: Points used, group: outflow }
28
+ - { pattern: Points used this month, group: outflow }
29
+ - { pattern: Points redeemed, group: outflow }
30
+ - { pattern: "Less: expenditure for the year", group: outflow }
31
+ - { pattern: Closing balance, group: closing }
32
+ - { pattern: Ending balance, group: closing }
33
+ - { pattern: Balance carried forward, group: closing }
34
+ - { pattern: Balance at the end of this month, group: closing }
35
+ - { pattern: New balance, group: closing }
@@ -0,0 +1,11 @@
1
+ # Labels of a contact field (Attention:, Contact:). On a field line whose label ends with one of these, the value names the party
2
+ # in full, and defined-name-repeated skips it unless the name goes on as a sentence; the value's length and where the name sits
3
+ # in it do not matter. Matched without regard to case.
4
+ id: contact-label
5
+ language: en
6
+ entries:
7
+ - pattern: attention
8
+ - pattern: attn
9
+ - pattern: contact
10
+ - pattern: address
11
+ - pattern: addressee
@@ -0,0 +1,9 @@
1
+ # A counted noun and the "of" that says what it is a kind of ("the following three kinds of conduct:"). The "of" here
2
+ # names what the list holds, so it is not the "of" that picks from a list ("two of the following").
3
+ id: count-frame
4
+ language: en
5
+ entries:
6
+ - pattern: kinds of
7
+ - pattern: types of
8
+ - pattern: categories of
9
+ - pattern: sorts of
@@ -1,6 +1,6 @@
1
1
  # Words right before (before) or right after (after) a number that make it something other than the count of the list
2
2
  # below: an estimate (about three, three or more), a rank (the first three), how many to pick (choose two), a range, or a
3
- # length of time (the following two weeks:).
3
+ # length of time (the following two weeks:), or the number of an article or section ("Section 7 Send questions to:").
4
4
  id: count-hedge
5
5
  language: en
6
6
  entries:
@@ -48,6 +48,16 @@ entries:
48
48
  position: before
49
49
  - pattern: "-"
50
50
  position: before
51
+ - pattern: article
52
+ position: before
53
+ - pattern: section
54
+ position: before
55
+ - pattern: clause
56
+ position: before
57
+ - pattern: chapter
58
+ position: before
59
+ - pattern: paragraph
60
+ position: before
51
61
  - pattern: "–"
52
62
  position: before
53
63
  - pattern: or more
@@ -0,0 +1,35 @@
1
+ # Headings and row labels of a table with a this-period column and a cumulative one (cumulative-below-current): a payslip,
2
+ # a monthly sales report, a budget report. group: current is this period's column, cumulative the running total's, and prior
3
+ # a column up to an earlier period ("Prior YTD" does not hold this period, so it is not compared). prior, level, cumulative and
4
+ # current are looked at in that order, so "Prior YTD" is prior and "Current YTD" is cumulative.
5
+ # level is a word for a figure not summed over periods (an average, a rate, a balance): a row it labels is not compared,
6
+ # and a column it heads ("Current balance") is neither column.
7
+ id: cumulative-table
8
+ language: en
9
+ entries:
10
+ - { pattern: this month, group: current }
11
+ - { pattern: this period, group: current }
12
+ - { pattern: this pay period, group: current }
13
+ - { pattern: this quarter, group: current }
14
+ - { pattern: current, group: current }
15
+ - { pattern: year to date, group: cumulative }
16
+ - { pattern: year-to-date, group: cumulative }
17
+ - { pattern: ytd, group: cumulative }
18
+ - { pattern: to date, group: cumulative }
19
+ - { pattern: cumulative, group: cumulative }
20
+ - { pattern: running total, group: cumulative }
21
+ - { pattern: prior, group: prior }
22
+ - { pattern: previous, group: prior }
23
+ - { pattern: last month, group: prior }
24
+ - { pattern: last year, group: prior }
25
+ - { pattern: last period, group: prior }
26
+ - { pattern: brought forward, group: prior }
27
+ - { pattern: average, group: level }
28
+ - { pattern: rate, group: level }
29
+ - { pattern: ratio, group: level }
30
+ - { pattern: margin, group: level }
31
+ - { pattern: balance, group: level }
32
+ - { pattern: price, group: level }
33
+ - { pattern: per, group: level }
34
+ - { pattern: headcount, group: level }
35
+ - { pattern: remaining, group: level }
@@ -0,0 +1,13 @@
1
+ # Heading words of a column that make a table one that names or converts currencies (currency-column-mix). A table with a
2
+ # column of currencies or of exchange rates holds amounts in several currencies on purpose, so a column of it is not reported.
3
+ # Latin words are matched as whole words.
4
+ id: currency-column
5
+ language: en
6
+ entries:
7
+ - pattern: currency
8
+ - pattern: currencies
9
+ - pattern: exchange rate
10
+ - pattern: FX
11
+ - pattern: converted
12
+ - pattern: conversion
13
+ - pattern: equivalent
@@ -0,0 +1,11 @@
1
+ # Words that make a date a deadline ("by September 18", "no later than Sept 18"); position says on which side of the date
2
+ # the word stands. A date with one is a reply-by or a deadline for something after the period, not a dated item inside
3
+ # it, so date-outside-period does not compare it in running text. "until" is not here: "stay until October 17" ends a
4
+ # stay inside the period; nor is "before" alone: "Before May 7, arrive in Osaka" is a plan, not a reply-by date.
5
+ id: date-deadline-mark
6
+ language: en
7
+ entries:
8
+ - { pattern: by, position: before }
9
+ - { pattern: no later than, position: before }
10
+ - { pattern: not later than, position: before }
11
+ - { pattern: on or before, position: before }
@@ -0,0 +1,7 @@
1
+ # Words saying a date has already come. A line with one is not compared in a dated pair (dated-pair-label):
2
+ # "Available immediately (vacant since September 1, 2026)" gives the day it fell vacant, not a move-in date (due-before-issue).
3
+ id: date-now-word
4
+ language: en
5
+ entries:
6
+ - pattern: immediately
7
+ - pattern: immediate
@@ -0,0 +1,17 @@
1
+ # Column words read only in a table's header, for dates that must come in order. group and position as in dated-pair-label.
2
+ # A table whose header has a column of each side of a pair (these words or dated-pair-label's) is read row by row, and a
3
+ # row's after-column date before its before-column date is pointed out (due-before-issue). Not read at the head of a line:
4
+ # a bare "Date" is paired only within one row of one table.
5
+ id: dated-column-label
6
+ language: en
7
+ entries:
8
+ # A points statement: points expire after the day they were earned (the purchase, the stay).
9
+ - { pattern: "Date", group: points, position: before }
10
+ - { pattern: "Stay date", group: points, position: before }
11
+ - { pattern: "Earned", group: points, position: before }
12
+ - { pattern: "Expires", group: points, position: after }
13
+ - { pattern: "Expiry", group: points, position: after }
14
+ - { pattern: "Expiration date", group: points, position: after }
15
+ # Words saying the table is about points: read only when another header column contains one. A table with only a
16
+ # Date and an Expiration date column may be a claims log or a ticket list.
17
+ - { pattern: "Point", group: points }