@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,14 @@
1
+ # The field names of a property listing for layout-code-mismatch. Group code is the field that gives the layout ("Layout: 2
2
+ # bedrooms"), breakdown the field that lists the rooms on one line ("Rooms: Bedroom 1, Bedroom 2, Living room"), and
3
+ # room-column the first column heading of a table of rooms ("| Room | Size |"). A table row heading, a column heading or the
4
+ # name before a colon is read when, without marks and spaces at its ends, it is one of these (in any case).
5
+ id: layout-label
6
+ language: en
7
+ entries:
8
+ - { pattern: "layout", group: code }
9
+ - { pattern: "floor plan", group: code }
10
+ - { pattern: "unit type", group: code }
11
+ - { pattern: "rooms", group: breakdown }
12
+ - { pattern: "room breakdown", group: breakdown }
13
+ - { pattern: "room sizes", group: breakdown }
14
+ - { pattern: "room", group: room-column }
@@ -0,0 +1,16 @@
1
+ # The rooms a listing's room breakdown names ("Rooms: Bedroom 1, Bedroom 2, Living room") for layout-code-mismatch. Group
2
+ # room is counted by the layout code ("2 bedrooms"); storage is not (a den, a study, a box room). Group unclear is a room some
3
+ # listings count as a bedroom and others do not, or a plural that names several ("Bedrooms 2 and 3"); a breakdown that names
4
+ # one is not compared. An entry that names a room twice ("Bedroom 1 and Bedroom 2") is not compared either. living, dining and kitchen are
5
+ # the parts of a Japanese code (L, D, K); an English code says nothing about them, so none is listed here.
6
+ id: layout-room
7
+ language: en
8
+ entries:
9
+ - { pattern: "bedroom", group: room }
10
+ - { pattern: "bedrooms", group: unclear }
11
+ - { pattern: "den", group: storage }
12
+ - { pattern: "study", group: storage }
13
+ - { pattern: "box room", group: storage }
14
+ - { pattern: "storage room", group: storage }
15
+ - { pattern: "office", group: unclear }
16
+ - { pattern: "nursery", group: unclear }
@@ -6,3 +6,7 @@ entries:
6
6
  - pattern: Line total
7
7
  - pattern: Total
8
8
  - pattern: Extended
9
+ # A year's amount. The group is the unit its quantity counts: an annual amount is monthly × months, so only a row
10
+ # whose quantity is in months is compared.
11
+ - { pattern: Annual, group: month }
12
+ - { pattern: Annual total, group: month }
@@ -0,0 +1,8 @@
1
+ # Marks written after a unit that say the amount is per something (300 mg/tablet, 5 mg/mL, 300 mg per tablet). total-mismatch
2
+ # does not add such an amount.
3
+ id: measure-per-mark
4
+ language: en
5
+ entries:
6
+ - pattern: "/"
7
+ - pattern: "per"
8
+ - pattern: "each"
@@ -0,0 +1,8 @@
1
+ # Words of approximation between a name and its quantity (unit-mismatch). "The weight is about 1.2 kg." is read as the weight, and a difference within half the last written digit agrees. Bounds (up to, at least) do not restate a quantity, so they are not here.
2
+ id: measure-value-lead
3
+ language: en
4
+ entries:
5
+ - pattern: "about"
6
+ - pattern: "approximately"
7
+ - pattern: "around"
8
+ - pattern: "roughly"
@@ -0,0 +1,22 @@
1
+ # Words for what changes the difference of two meter readings (meter-usage-mismatch). rollover: the meter went past its
2
+ # last figure and started again (a current reading below the previous one is read with the previous reading's next power
3
+ # of ten added). replaced: the meter was replaced (the two readings are of different meters and are not compared). Only
4
+ # words under the same heading count (in a table with one meter per row, only that row's). Only phrases that state the
5
+ # event: the bare noun "rollover" is also in "No rollover occurred". rollover-negation-before: a word before a rollover
6
+ # phrase, in its clause (up to a comma or a full stop), that denies it ("has not rolled over"); matched as a whole word, with at most one word between it and the phrase.
7
+ id: meter-event
8
+ language: en
9
+ entries:
10
+ - { pattern: rolled over, group: rollover }
11
+ - { pattern: not, group: rollover-negation-before }
12
+ - { pattern: never, group: rollover-negation-before }
13
+ - { pattern: "hasn't", group: rollover-negation-before }
14
+ - { pattern: "haven't", group: rollover-negation-before }
15
+ - { pattern: "hadn't", group: rollover-negation-before }
16
+ - { pattern: "didn't", group: rollover-negation-before }
17
+ - { pattern: "wasn't", group: rollover-negation-before }
18
+ - { pattern: meter replaced, group: replaced }
19
+ - { pattern: meter was replaced, group: replaced }
20
+ - { pattern: meter exchange, group: replaced }
21
+ - { pattern: meter change, group: replaced }
22
+ - { pattern: new meter, group: replaced }
@@ -0,0 +1,26 @@
1
+ # Names of the values on a meter reading and what each is (group): current is this reading, previous the last one, usage
2
+ # the amount used, multiplier the meter's multiplier (meter-usage-mismatch). Read when a "Label: value" line's label, or a
3
+ # table's row or column heading, is only this word (a trailing bracket aside).
4
+ id: meter-reading-label
5
+ language: en
6
+ entries:
7
+ - { pattern: Current reading, group: current }
8
+ - { pattern: Current meter reading, group: current }
9
+ - { pattern: Present reading, group: current }
10
+ - { pattern: Present meter reading, group: current }
11
+ - { pattern: This reading, group: current }
12
+ - { pattern: Previous reading, group: previous }
13
+ - { pattern: Previous meter reading, group: previous }
14
+ - { pattern: Prior reading, group: previous }
15
+ - { pattern: Prior meter reading, group: previous }
16
+ - { pattern: Last reading, group: previous }
17
+ - { pattern: Electricity used, group: usage }
18
+ - { pattern: Energy used, group: usage }
19
+ - { pattern: Water used, group: usage }
20
+ - { pattern: Gas used, group: usage }
21
+ - { pattern: kWh used, group: usage }
22
+ - { pattern: Usage, group: usage }
23
+ - { pattern: Total usage, group: usage }
24
+ - { pattern: Units used, group: usage }
25
+ - { pattern: Multiplier, group: multiplier }
26
+ - { pattern: Meter multiplier, group: multiplier }
@@ -0,0 +1,16 @@
1
+ # Units of meter readings and usage, and what each is (group). The three values are not compared when their units differ,
2
+ # and a value with a word after its number that is not here is not read (meter-usage-mismatch). m³ is m3 once normalised.
3
+ id: meter-unit
4
+ language: en
5
+ entries:
6
+ - { pattern: kWh, group: kwh }
7
+ - { pattern: m3, group: m3 }
8
+ - { pattern: cubic meters, group: m3 }
9
+ - { pattern: cubic metres, group: m3 }
10
+ - { pattern: ccf, group: ccf }
11
+ - { pattern: hcf, group: ccf }
12
+ - { pattern: gallons, group: gallon }
13
+ - { pattern: gallon, group: gallon }
14
+ - { pattern: gal, group: gallon }
15
+ - { pattern: kgal, group: kgal }
16
+ - { pattern: therms, group: therm }
@@ -0,0 +1,17 @@
1
+ # Labels a model number is written after ("Model number: KM-SP300"). name-variant reads the code of capitals and digits
2
+ # that follows (a colon or a space between) as the document's model, and reports the same code written elsewhere with
3
+ # only hyphens, spaces, case or width changed.
4
+ id: model-code-label
5
+ language: en
6
+ entries:
7
+ - pattern: Model
8
+ - pattern: Model No.
9
+ - pattern: Model No
10
+ - pattern: Model number
11
+ - pattern: Part No.
12
+ - pattern: Part No
13
+ - pattern: Part number
14
+ - pattern: Product number
15
+ - pattern: Product code
16
+ - pattern: Catalog number
17
+ - pattern: Catalogue number
@@ -0,0 +1,66 @@
1
+ # Names of the amounts a subtraction links (net-amount-mismatch). group is gross (the amount before deductions), deduction
2
+ # (the total taken off), net (what is left) or taxable (the amount tax is figured on, which a tax statement writes as gross
3
+ # minus deduction). When one table or one section has one word each of gross, deduction and net, each with an amount, the
4
+ # net is compared with gross minus deduction; with no net, the taxable amount is (where a net is also named, the
5
+ # deductions are what is paid out, not what tax is figured on, so the taxable amount is not compared). A table heading or
6
+ # a label that is only this word (a unit in brackets aside) is read. Taxable wages and Taxable pay are left out: on a
7
+ # payslip they sit beside a Total deductions that includes the tax itself.
8
+ # A deposit settlement (Deposit held, Total deductions, Refund) takes the same shape; a lease that names the deposit
9
+ # only in a heading or a sentence has no three amounts and is not compared.
10
+ id: net-amount-label
11
+ language: en
12
+ entries:
13
+ - { pattern: Gross pay, group: gross }
14
+ - { pattern: Gross earnings, group: gross }
15
+ - { pattern: Gross salary, group: gross }
16
+ - { pattern: Gross wages, group: gross }
17
+ - { pattern: Gross amount, group: gross }
18
+ - { pattern: Total earnings, group: gross }
19
+ - { pattern: Total earnings for the year, group: gross }
20
+ - { pattern: Deposit held, group: gross }
21
+ - { pattern: Security deposit, group: gross }
22
+ - { pattern: Total deductions, group: deduction }
23
+ - { pattern: Total deduction, group: deduction }
24
+ - { pattern: Deductions total, group: deduction }
25
+ - { pattern: Net pay, group: net }
26
+ - { pattern: Net salary, group: net }
27
+ - { pattern: Net wages, group: net }
28
+ - { pattern: Net earnings, group: net }
29
+ - { pattern: Net amount, group: net }
30
+ - { pattern: Take-home pay, group: net }
31
+ - { pattern: Refund, group: net }
32
+ - { pattern: Amount refunded, group: net }
33
+ - { pattern: Balance refunded, group: net }
34
+ # An insurance claim settlement (Covered amount, Excess, Amount paid). Deductible is left out: a health plan's
35
+ # statement puts it beside a coinsurance column, so the amount paid is not the covered amount less the deductible alone.
36
+ - { pattern: Covered amount, group: gross }
37
+ - { pattern: Assessed loss, group: gross }
38
+ - { pattern: Amount of loss, group: gross }
39
+ - { pattern: Excess, group: deduction }
40
+ - { pattern: Amount paid, group: net }
41
+ - { pattern: Settlement amount, group: net }
42
+ - { pattern: Claim payment, group: net }
43
+ - { pattern: Taxable income, group: taxable }
44
+ - { pattern: Taxable amount, group: taxable }
45
+ # A tuition statement: the charges less a scholarship, grant or fee waiver taken off them is the amount due. Amount due
46
+ # is read only beside a gross and a deduction named here, so an invoice's subtotal, tax and amount due are not compared.
47
+ # Charges alone is read only with a term on it (Fall charges): see net-amount-period.
48
+ - { pattern: Total charges, group: gross }
49
+ - { pattern: Scholarship applied, group: deduction }
50
+ - { pattern: Grant applied, group: deduction }
51
+ - { pattern: Fee waiver, group: deduction }
52
+ - { pattern: Amount due, group: net }
53
+ # A property settlement statement: Purchase price (Sale price) − Earnest money deposit − Loan proceeds = Balance due.
54
+ # A deduction-part is one of the deductions, and the parts are added up (a deduction total in the same place is used
55
+ # instead). The balance is often named with when it is paid (at settlement, at closing).
56
+ - { pattern: Purchase price, group: gross }
57
+ - { pattern: Sale price, group: gross }
58
+ - { pattern: Earnest money deposit, group: deduction-part }
59
+ - { pattern: Loan proceeds, group: deduction-part }
60
+ - { pattern: Balance due, group: net }
61
+ - { pattern: Balance due from buyer, group: net }
62
+ - { pattern: Balance due to seller, group: net }
63
+ - { pattern: Balance due from buyer at settlement, group: net }
64
+ - { pattern: Balance due to seller at settlement, group: net }
65
+ - { pattern: Balance due from buyer at closing, group: net }
66
+ - { pattern: Balance due to seller at closing, group: net }
@@ -0,0 +1,19 @@
1
+ # Words naming the term an amount is for, which leave a net-amount-label name as it is (net-amount-mismatch): "Fall
2
+ # charges" reads as Charges, "Amount due for the fall" as Amount due. position: before or after the name only; group names
3
+ # the term, so "Fall" and "for the fall" are one term. Names cut from two different terms in one table or section (Fall
4
+ # charges, Spring scholarship applied) are not compared. A span not listed (last month's, for the prior year) is not cut.
5
+ # An entry with no position is a name read only with a term on it: Charges alone is too common a row to be a gross.
6
+ id: net-amount-period
7
+ language: en
8
+ entries:
9
+ - { pattern: fall, position: before, group: fall }
10
+ - { pattern: for the fall, position: after, group: fall }
11
+ - { pattern: autumn, position: before, group: fall }
12
+ - { pattern: for the autumn, position: after, group: fall }
13
+ - { pattern: spring, position: before, group: spring }
14
+ - { pattern: for the spring, position: after, group: spring }
15
+ - { pattern: summer, position: before, group: summer }
16
+ - { pattern: for the summer, position: after, group: summer }
17
+ - { pattern: winter, position: before, group: winter }
18
+ - { pattern: for the winter, position: after, group: winter }
19
+ - { pattern: Charges, group: gross }
@@ -0,0 +1,23 @@
1
+ # Headings that say what a column of a weight table holds (net-over-gross): a packing list, the weights of a shipment.
2
+ # group: net is the weight of the goods alone, gross the weight with the packing. A Latin word stands as a whole word. A
3
+ # heading that names both net and gross is not read. group: qualifier is a word that, after a number, makes it no exact
4
+ # weight ("100 kg or more", "50 kg approx."); such a cell is not compared.
5
+ id: net-gross-weight-column
6
+ language: en
7
+ entries:
8
+ - { pattern: net weight, group: net }
9
+ - { pattern: net wt, group: net }
10
+ - { pattern: n.w., group: net }
11
+ - { pattern: n/w, group: net }
12
+ - { pattern: gross weight, group: gross }
13
+ - { pattern: gross wt, group: gross }
14
+ - { pattern: g.w., group: gross }
15
+ - { pattern: g/w, group: gross }
16
+ - { pattern: or more, group: qualifier }
17
+ - { pattern: or less, group: qualifier }
18
+ - { pattern: approx, group: qualifier }
19
+ - { pattern: approx., group: qualifier }
20
+ - { pattern: est, group: qualifier }
21
+ - { pattern: est., group: qualifier }
22
+ - { pattern: max, group: qualifier }
23
+ - { pattern: min, group: qualifier }
@@ -0,0 +1,49 @@
1
+ # Words written before a number to name one of a series (Grade 5, Room 12, No. 3): the number is a name, not a count,
2
+ # so "Grade 5 students" is not a vote on how the document writes counts. Matched as written: in lower case some of these
3
+ # are an ordinary noun before a count ("every day 3 buses leave"). Read by number-style-consistency.
4
+ id: number-name-word
5
+ language: en
6
+ entries:
7
+ - pattern: Grade
8
+ - pattern: Year
9
+ - pattern: Class
10
+ - pattern: Room
11
+ - pattern: Table
12
+ - pattern: Gate
13
+ - pattern: Bus
14
+ - pattern: Platform
15
+ - pattern: Level
16
+ - pattern: Floor
17
+ - pattern: Chapter
18
+ - pattern: Section
19
+ - pattern: Article
20
+ - pattern: Part
21
+ - pattern: Item
22
+ - pattern: No.
23
+ - pattern: Version
24
+ - pattern: Phase
25
+ - pattern: Stage
26
+ - pattern: Step
27
+ - pattern: Day
28
+ - pattern: Week
29
+ - pattern: Unit
30
+ - pattern: Module
31
+ - pattern: Lesson
32
+ - pattern: Team
33
+ - pattern: Figure
34
+ - pattern: Question
35
+ - pattern: Round
36
+ - pattern: Session
37
+ - pattern: Route
38
+ - pattern: Zone
39
+ - pattern: Ward
40
+ - pattern: Page
41
+ - pattern: Appendix
42
+ - pattern: Exhibit
43
+ - pattern: Example
44
+ - pattern: Exercise
45
+ - pattern: Problem
46
+ - pattern: Line
47
+ - pattern: Flight
48
+ - pattern: Terminal
49
+ - pattern: Aisle
@@ -0,0 +1,33 @@
1
+ # Headings that say what a column of an order quantity table holds (delivered-over-ordered, backorder-mismatch, line-amount-mismatch): the
2
+ # backorder section of a delivery note, a list of open orders. group: ordered is the quantity ordered, delivered the quantity
3
+ # delivered or shipped, backordered what is still to come. backordered is looked at first, so "Back ordered" is what is left,
4
+ # not what was ordered. A Latin word stands as a whole word: "ordered" is not in "Backordered". A heading that names both
5
+ # ordered and delivered ("Ordered / Delivered") is not read. group: qualifier is a word that, after a number, makes it no
6
+ # exact count ("10 or more", "50 approx."); such a cell is not compared.
7
+ id: order-quantity-column
8
+ language: en
9
+ entries:
10
+ - { pattern: ordered, group: ordered }
11
+ - { pattern: order qty, group: ordered }
12
+ - { pattern: order quantity, group: ordered }
13
+ - { pattern: delivered, group: delivered }
14
+ - { pattern: shipped, group: delivered }
15
+ - { pattern: ship qty, group: delivered }
16
+ - { pattern: ship quantity, group: delivered }
17
+ - { pattern: backordered, group: backordered }
18
+ - { pattern: back ordered, group: backordered }
19
+ - { pattern: back-ordered, group: backordered }
20
+ - { pattern: backorder, group: backordered }
21
+ - { pattern: back order, group: backordered }
22
+ - { pattern: remaining, group: backordered }
23
+ - { pattern: outstanding, group: backordered }
24
+ - { pattern: undelivered, group: backordered }
25
+ - { pattern: or more, group: qualifier }
26
+ - { pattern: or less, group: qualifier }
27
+ - { pattern: or fewer, group: qualifier }
28
+ - { pattern: approx, group: qualifier }
29
+ - { pattern: approx., group: qualifier }
30
+ - { pattern: est, group: qualifier }
31
+ - { pattern: est., group: qualifier }
32
+ - { pattern: max, group: qualifier }
33
+ - { pattern: min, group: qualifier }
@@ -0,0 +1,13 @@
1
+ # Words saying a document has work past midnight (time-range-reversed, timesheets). With one of them anywhere, a row whose
2
+ # end is before its start is read as a night shift and not reported. A time marked as the next day ("6:00 +1") and a time
3
+ # past 24:00 (25:00) are read from how they are written, not from this list. Matched case aside.
4
+ id: overnight-work-mark
5
+ language: en
6
+ entries:
7
+ - { pattern: "night shift" }
8
+ - { pattern: "night shifts" }
9
+ - { pattern: "overnight" }
10
+ - { pattern: "graveyard" }
11
+ - { pattern: "next day" }
12
+ - { pattern: "following day" }
13
+ - { pattern: "past midnight" }
@@ -0,0 +1,13 @@
1
+ # Headings of the column of how many pieces one pack (box, case) holds in a catalog or price list. Beside a unit price
2
+ # and a pack price column (pack-price-column), count per pack × unit price is compared with the pack price
3
+ # (line-amount-mismatch). It is no order quantity, so it is not read as a quantity column.
4
+ id: pack-count-column
5
+ language: en
6
+ entries:
7
+ - pattern: Pack of
8
+ - pattern: Units per pack
9
+ - pattern: Count per pack
10
+ - pattern: Qty per pack
11
+ - pattern: Units per box
12
+ - pattern: Count per box
13
+ - pattern: Qty per box
@@ -0,0 +1,12 @@
1
+ # Headings of the price of one pack (box, case) in a catalog or price list. Beside a count per pack column
2
+ # (pack-count-column) and a unit price column, it is compared with count per pack × unit price (line-amount-mismatch).
3
+ id: pack-price-column
4
+ language: en
5
+ entries:
6
+ - pattern: Pack price
7
+ - pattern: Pack price (excl. tax)
8
+ - pattern: Price per pack
9
+ - pattern: Box price
10
+ - pattern: Box price (excl. tax)
11
+ - pattern: Price per box
12
+ - pattern: Case price
@@ -23,3 +23,9 @@ entries:
23
23
  - { pattern: /yr, group: year }
24
24
  - { pattern: per year, group: year }
25
25
  - { pattern: a year, group: year }
26
+ - { pattern: /mile, group: mile }
27
+ - { pattern: /mi, group: mile }
28
+ - { pattern: per mile, group: mile }
29
+ - { pattern: a mile, group: mile }
30
+ - { pattern: /km, group: km }
31
+ - { pattern: per km, group: km }
@@ -0,0 +1,25 @@
1
+ # Words of work that may fall after the period the document's work is done in ("Term"): grades released, grade appeals,
2
+ # resits. A dated item or sentence holding one is not compared with the term by date-outside-period, even when it says
3
+ # "deadline" or "submit". "grade" alone is left out: "the report (30% of the grade) is due on …" must still be compared.
4
+ id: period-after-term
5
+ language: en
6
+ entries:
7
+ - pattern: grades released
8
+ - pattern: grades are released
9
+ - pattern: grades will be released
10
+ - pattern: grades published
11
+ - pattern: grades are published
12
+ - pattern: grades posted
13
+ - pattern: grades are posted
14
+ - pattern: grades due
15
+ - pattern: grades are due
16
+ - pattern: grade submission
17
+ - pattern: grade appeal
18
+ - pattern: grade appeals
19
+ - pattern: resit
20
+ - pattern: resits
21
+ - pattern: re-sit
22
+ - pattern: re-examination
23
+ - pattern: make-up exam
24
+ - pattern: makeup exam
25
+ - pattern: supplementary exam
@@ -1,7 +1,8 @@
1
1
  # Words that mark a deadline for the work of the period ("Submit the assignment by …", "Deadline: …"). For a period stated
2
2
  # at the top of the document or in its overview section ("Term: …"), date-outside-period reports a dated item or sentence
3
- # anywhere later that holds one of these and a date with a year after the period ends. Payment deadlines may fall after the
4
- # period, so they are left out (period-aside keeps them silent).
3
+ # anywhere later that holds one of these and a date after the period ends (a date without a year takes the term's year
4
+ # only when the term lies within one year). Payment deadlines may fall after the period, so they are left out
5
+ # (period-aside keeps them silent); grades released and resits are left out by period-after-term.
5
6
  id: period-deadline
6
7
  language: en
7
8
  entries:
@@ -13,6 +14,13 @@ entries:
13
14
  - pattern: is due
14
15
  - pattern: are due
15
16
  - pattern: "due:"
17
+ # A piece of work followed by "due" ("Final report due February 19, 2027"). Not "project due": "the project due to start".
18
+ - pattern: report due
19
+ - pattern: paper due
20
+ - pattern: essay due
21
+ - pattern: homework due
22
+ # A label: "Assignment: February 19, 2027" dates the submission. Not "assignment" alone: "the assignment brief is available on …".
23
+ - pattern: "assignment:"
16
24
  - pattern: submit
17
25
  - pattern: submission
18
26
  - pattern: hand in
@@ -1,6 +1,7 @@
1
1
  # Words that open a line stating a document's period ("Trip dates: Oct 12–15", "Conference: May 3–5, 2026"). Only a
2
2
  # line that starts with one, then a colon or a space and the period, is read as the period by date-outside-period.
3
3
  # "Registration period" and "Application period" are left out: what follows them is not inside that period.
4
+ # "Pay period", "Contract period" and "Coverage period" are left out too: a pay date or a payment may fall after them.
4
5
  id: period-label
5
6
  language: en
6
7
  entries:
@@ -14,6 +15,12 @@ entries:
14
15
  - pattern: Conference dates
15
16
  - pattern: Programme dates
16
17
  - pattern: Program dates
18
+ - pattern: Claim period
19
+ - pattern: Expense period
20
+ - pattern: Billing period
21
+ - pattern: Statement period
22
+ - pattern: Usage period
23
+ - pattern: Rental period
17
24
  - pattern: Dates
18
25
  - pattern: Conference
19
26
  - pattern: Period
@@ -0,0 +1,16 @@
1
+ # The labels of a period's amount that another amount may be stated as a number of (period-multiple-mismatch): the label
2
+ # of "Monthly: $24", and the words of "Annually (12 monthly payments)" that say what the count is of.
3
+ id: period-multiple-label
4
+ language: en
5
+ entries:
6
+ - pattern: Monthly
7
+ - pattern: Monthly premium
8
+ - pattern: Monthly premiums
9
+ - pattern: Monthly payment
10
+ - pattern: Monthly payments
11
+ - pattern: Monthly instalment
12
+ - pattern: Monthly instalments
13
+ - pattern: Monthly installment
14
+ - pattern: Monthly installments
15
+ - pattern: Monthly fee
16
+ - pattern: Monthly fees
@@ -0,0 +1,28 @@
1
+ # The words of period-multiple-mismatch. times follows a count and makes it a multiple of the base ("12 times the monthly
2
+ # premium"); a count followed straight by a base word ("12 monthly payments") needs none. link may stand between a base and
3
+ # its count ("the") or between a base label and its amount ("Monthly premium is $24"). skip says the amount is not the
4
+ # plain multiple (a discount, tax, an amount each), and a statement holding one is not compared. An annual premium is often
5
+ # cheaper than twelve monthly ones, so one that does not say it is twelve monthly payments is never compared.
6
+ id: period-multiple-word
7
+ language: en
8
+ entries:
9
+ - { pattern: times, group: times }
10
+ - { pattern: the, group: link }
11
+ - { pattern: your, group: link }
12
+ - { pattern: is, group: link }
13
+ - { pattern: of, group: link }
14
+ - { pattern: at, group: link }
15
+ - { pattern: discount, group: skip }
16
+ - { pattern: discounted, group: skip }
17
+ - { pattern: less, group: skip }
18
+ - { pattern: save, group: skip }
19
+ - { pattern: saving, group: skip }
20
+ - { pattern: tax, group: skip }
21
+ - { pattern: VAT, group: skip }
22
+ - { pattern: each, group: skip }
23
+ - { pattern: about, group: skip }
24
+ - { pattern: approximately, group: skip }
25
+ - { pattern: around, group: skip }
26
+ - { pattern: roughly, group: skip }
27
+ - { pattern: up to, group: skip }
28
+ - { pattern: or more, group: skip }
@@ -0,0 +1,11 @@
1
+ # Words for a period that follows the whole (period-part-exceeds-whole). An extended or additional warranty is not a part of the
2
+ # standard one, so a sentence with one of these words is not read, and a name after one ("extended warranty period") is not read
3
+ # as the whole's length.
4
+ id: period-part-after
5
+ language: en
6
+ entries:
7
+ - pattern: extended
8
+ - pattern: extension
9
+ - pattern: additional
10
+ - pattern: extra
11
+ - pattern: renewal
@@ -0,0 +1,9 @@
1
+ # Words between a period's name without "period" and its length (period-part-exceeds-whole): "the warranty runs for 12 months"
2
+ # states the length of the warranty period.
3
+ id: period-part-length-verb
4
+ language: en
5
+ entries:
6
+ - pattern: runs for
7
+ - pattern: lasts for
8
+ - pattern: lasts
9
+ - pattern: is valid for
@@ -0,0 +1,11 @@
1
+ # Words that make one period a part of another (period-part-exceeds-whole). position is the side of the whole the word stands
2
+ # on: before means the whole follows ("within the warranty period"). Group anaphor takes the whole from the sentence before
3
+ # ("Within it, ..."); "within that period" is not one, since statutes use it for a condition ("If no resolution is made within
4
+ # that period, ... the end of the period of 21 days"), not for a part. Group adjacent needs the part right before the word ("18 months of the 12-month warranty period"), which
5
+ # also reads "during the first 18 months of the warranty period".
6
+ id: period-part-marker
7
+ language: en
8
+ entries:
9
+ - { pattern: within the, position: before }
10
+ - { pattern: of the, position: before, group: adjacent }
11
+ - { pattern: within it, position: before, group: anaphor }
@@ -0,0 +1,9 @@
1
+ # Words that join the ends of a range of lengths (period-part-exceeds-whole). "12 to 18 months" is not compared.
2
+ id: period-part-range
3
+ language: en
4
+ entries:
5
+ - pattern: to
6
+ - pattern: or
7
+ - pattern: "-"
8
+ - pattern: –
9
+ - pattern: through
@@ -0,0 +1,16 @@
1
+ # Words before "period" or "term" that do not name a period (period-part-exceeds-whole). "the end of the period of 21 days"
2
+ # speaks of a period without naming one, so it is not read as the part.
3
+ id: period-part-unnamed
4
+ language: en
5
+ entries:
6
+ - pattern: the
7
+ - pattern: a
8
+ - pattern: an
9
+ - pattern: this
10
+ - pattern: that
11
+ - pattern: such
12
+ - pattern: each
13
+ - pattern: any
14
+ - pattern: same
15
+ - pattern: its
16
+ - pattern: their
@@ -0,0 +1,7 @@
1
+ # The word that ends the name of a period (period-part-exceeds-whole): the whole's name ends in it ("warranty period"), and the
2
+ # sentence with the part names its period with it too ("the free replacement period").
3
+ id: period-part-word
4
+ language: en
5
+ entries:
6
+ - pattern: period
7
+ - pattern: term
@@ -0,0 +1,26 @@
1
+ # Labels a person's name is written after, at the start of a line ("Customer: Ellen Marsh", "Signed by: Tom Green"). name-variant
2
+ # reads the last of the one to three capitalised words after the colon as a surname the document uses for a person, so a
3
+ # surname that is also an ordinary word (Marsh, Green) is still compared. When a name is written once in such a field and once
4
+ # elsewhere with a slip (Contractor: Priya Raman, then "by Priya Rahman"), name-variant takes the field's spelling as the right
5
+ # one. The label is matched whole, ignoring case ("Company name" is not "Name"). Only labels a person's name follows belong
6
+ # here, not "Location" or "Company".
7
+ id: person-label
8
+ language: en
9
+ entries:
10
+ - pattern: Name
11
+ - pattern: Full name
12
+ - pattern: Customer
13
+ - pattern: Client
14
+ - pattern: Patient
15
+ - pattern: Patient name
16
+ - pattern: Applicant
17
+ - pattern: Tenant
18
+ - pattern: Attendee
19
+ - pattern: Guest
20
+ - pattern: Student
21
+ - pattern: Employee
22
+ - pattern: Contractor
23
+ - pattern: Approver
24
+ - pattern: Signed by
25
+ - pattern: Prepared by
26
+ - pattern: Contact person
@@ -7,8 +7,19 @@ entries:
7
7
  - { pattern: telephone, group: phone }
8
8
  - { pattern: tel, group: phone }
9
9
  - { pattern: call, group: phone }
10
+ - { pattern: "☎", group: phone }
10
11
  - { pattern: fax, group: fax }
11
12
  - { pattern: mobile, group: mobile }
12
13
  - { pattern: cell, group: mobile }
13
14
  - { pattern: cell phone, group: mobile }
14
15
  - { pattern: mobile phone, group: mobile }
16
+ # A desk's name says where a number goes, not what it is, so its group is desk: the number is of the kind the label right
17
+ # before the desk's name gives (a fax line's number is a fax number), and a phone number when there is none.
18
+ - { pattern: line, group: desk }
19
+ - { pattern: hotline, group: desk }
20
+ - { pattern: helpline, group: desk }
21
+ - { pattern: desk, group: desk }
22
+ - { pattern: center, group: desk }
23
+ - { pattern: centre, group: desk }
24
+ - { pattern: care, group: desk }
25
+ - { pattern: support, group: desk }