@chaffjs/lang-en 0.28.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 (177) 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/age-reference-label.yaml +11 -0
  28. package/lexicons/age-time-mark.yaml +8 -0
  29. package/lexicons/annual-holidays-label.yaml +19 -0
  30. package/lexicons/annual-holidays-word.yaml +28 -0
  31. package/lexicons/annual-pay-label.yaml +24 -0
  32. package/lexicons/annual-pay-word.yaml +52 -0
  33. package/lexicons/any-year-marker.yaml +21 -0
  34. package/lexicons/balance-column.yaml +27 -0
  35. package/lexicons/benefit-limit-word.yaml +16 -0
  36. package/lexicons/birth-date-label.yaml +8 -0
  37. package/lexicons/bmi-term.yaml +12 -0
  38. package/lexicons/bmi-unit.yaml +6 -0
  39. package/lexicons/change-column.yaml +28 -0
  40. package/lexicons/closing-balance-label.yaml +35 -0
  41. package/lexicons/cumulative-table.yaml +35 -0
  42. package/lexicons/currency-column.yaml +13 -0
  43. package/lexicons/date-deadline-mark.yaml +11 -0
  44. package/lexicons/dated-column-label.yaml +17 -0
  45. package/lexicons/dated-pair-label.yaml +210 -0
  46. package/lexicons/dated-span-label.yaml +12 -0
  47. package/lexicons/deductible-basis.yaml +26 -0
  48. package/lexicons/deductible-word.yaml +11 -0
  49. package/lexicons/discount-rate-label.yaml +35 -0
  50. package/lexicons/email-sentence-end.yaml +8 -0
  51. package/lexicons/event-bill-word.yaml +9 -0
  52. package/lexicons/event-due-word.yaml +7 -0
  53. package/lexicons/event-payment-deadline-word.yaml +12 -0
  54. package/lexicons/event-payment-word.yaml +7 -0
  55. package/lexicons/event-start-label.yaml +10 -0
  56. package/lexicons/event-ticket-word.yaml +8 -0
  57. package/lexicons/event-trip-word.yaml +13 -0
  58. package/lexicons/fact-age-joiner.yaml +8 -0
  59. package/lexicons/fact-age-limit.yaml +9 -0
  60. package/lexicons/fact-age-mark.yaml +13 -0
  61. package/lexicons/fact-amount-condition.yaml +15 -0
  62. package/lexicons/fact-count-column.yaml +10 -0
  63. package/lexicons/fact-count-counter.yaml +11 -0
  64. package/lexicons/fact-count-not-whole.yaml +19 -0
  65. package/lexicons/fact-count-restating.yaml +8 -0
  66. package/lexicons/fact-count-separate-rows.yaml +7 -0
  67. package/lexicons/fact-count-whole.yaml +11 -0
  68. package/lexicons/fact-document-term.yaml +39 -0
  69. package/lexicons/fact-label-qualifier.yaml +10 -0
  70. package/lexicons/fact-quantity-period.yaml +7 -0
  71. package/lexicons/fact-quantity-self.yaml +9 -0
  72. package/lexicons/fact-quantity-verb.yaml +8 -0
  73. package/lexicons/fact-rate-base.yaml +15 -0
  74. package/lexicons/fact-rate-joiner.yaml +16 -0
  75. package/lexicons/fact-rate-kind.yaml +9 -0
  76. package/lexicons/fact-rate-period.yaml +14 -0
  77. package/lexicons/fact-reading-clause.yaml +10 -0
  78. package/lexicons/fact-reading-gauge.yaml +13 -0
  79. package/lexicons/fact-reading-verb.yaml +9 -0
  80. package/lexicons/fact-term-self.yaml +12 -0
  81. package/lexicons/fact-term-start.yaml +7 -0
  82. package/lexicons/fact-term-verb.yaml +9 -0
  83. package/lexicons/gpa-label.yaml +19 -0
  84. package/lexicons/grade-point.yaml +40 -0
  85. package/lexicons/heading-number-label.yaml +2 -6
  86. package/lexicons/installment-label.yaml +33 -0
  87. package/lexicons/installment-word.yaml +45 -0
  88. package/lexicons/interest-label.yaml +33 -0
  89. package/lexicons/item-name-column.yaml +10 -0
  90. package/lexicons/lab-result-column.yaml +23 -0
  91. package/lexicons/label-product-word.yaml +36 -0
  92. package/lexicons/line-amount-column.yaml +4 -0
  93. package/lexicons/meter-event.yaml +22 -0
  94. package/lexicons/meter-reading-label.yaml +26 -0
  95. package/lexicons/meter-unit.yaml +16 -0
  96. package/lexicons/net-amount-label.yaml +66 -0
  97. package/lexicons/net-amount-period.yaml +19 -0
  98. package/lexicons/net-gross-weight-column.yaml +23 -0
  99. package/lexicons/number-name-word.yaml +49 -0
  100. package/lexicons/order-quantity-column.yaml +33 -0
  101. package/lexicons/overnight-work-mark.yaml +13 -0
  102. package/lexicons/pack-count-column.yaml +13 -0
  103. package/lexicons/pack-price-column.yaml +12 -0
  104. package/lexicons/per-unit-mark.yaml +6 -0
  105. package/lexicons/period-label.yaml +7 -0
  106. package/lexicons/period-multiple-label.yaml +16 -0
  107. package/lexicons/period-multiple-word.yaml +28 -0
  108. package/lexicons/period-part-after.yaml +11 -0
  109. package/lexicons/period-part-length-verb.yaml +9 -0
  110. package/lexicons/period-part-marker.yaml +11 -0
  111. package/lexicons/period-part-range.yaml +9 -0
  112. package/lexicons/period-part-unnamed.yaml +16 -0
  113. package/lexicons/period-part-word.yaml +7 -0
  114. package/lexicons/person-label.yaml +26 -0
  115. package/lexicons/phone-label.yaml +10 -0
  116. package/lexicons/points-earned-column.yaml +18 -0
  117. package/lexicons/points-rate-joiner.yaml +8 -0
  118. package/lexicons/points-unit.yaml +10 -0
  119. package/lexicons/quantity-column.yaml +27 -0
  120. package/lexicons/quantity-range-word.yaml +1 -1
  121. package/lexicons/range-label.yaml +10 -0
  122. package/lexicons/rate-unit.yaml +19 -0
  123. package/lexicons/ratio-label.yaml +14 -0
  124. package/lexicons/ratio-term.yaml +18 -0
  125. package/lexicons/reference-bound-mark.yaml +12 -0
  126. package/lexicons/reference-column-heading.yaml +10 -0
  127. package/lexicons/reference-column.yaml +18 -0
  128. package/lexicons/reference-flag.yaml +20 -0
  129. package/lexicons/reference-label.yaml +151 -0
  130. package/lexicons/reference-unit-column.yaml +8 -0
  131. package/lexicons/reference-unit.yaml +81 -0
  132. package/lexicons/reporting-comparison.yaml +29 -0
  133. package/lexicons/reporting-current.yaml +14 -0
  134. package/lexicons/reporting-forecast.yaml +25 -0
  135. package/lexicons/reporting-period-frame.yaml +27 -0
  136. package/lexicons/reporting-period-line.yaml +11 -0
  137. package/lexicons/reporting-results-word.yaml +9 -0
  138. package/lexicons/reporting-year-frame.yaml +10 -0
  139. package/lexicons/request-offer.yaml +12 -0
  140. package/lexicons/revision-column.yaml +17 -0
  141. package/lexicons/revision-direction.yaml +29 -0
  142. package/lexicons/serial-label.yaml +13 -0
  143. package/lexicons/service-charge-label.yaml +6 -0
  144. package/lexicons/share-amount-label.yaml +20 -0
  145. package/lexicons/share-column-rate-header.yaml +21 -0
  146. package/lexicons/shift-column.yaml +23 -0
  147. package/lexicons/summed-counter.yaml +45 -0
  148. package/lexicons/table-scale-unit.yaml +17 -0
  149. package/lexicons/table-unit-caption.yaml +7 -0
  150. package/lexicons/tax-price-column.yaml +28 -0
  151. package/lexicons/tier-label.yaml +31 -0
  152. package/lexicons/tier-unit.yaml +9 -0
  153. package/lexicons/timed-pair-label.yaml +54 -0
  154. package/lexicons/total-label-qualifier.yaml +12 -5
  155. package/lexicons/total-label.yaml +4 -2
  156. package/lexicons/total-noun-listed.yaml +9 -0
  157. package/lexicons/total-noun-qualifier.yaml +10 -0
  158. package/lexicons/total-noun-unsummed.yaml +9 -0
  159. package/lexicons/total-period-qualifier.yaml +17 -0
  160. package/lexicons/transcript-column.yaml +23 -0
  161. package/lexicons/unit-area.yaml +10 -0
  162. package/lexicons/unit-concentration.yaml +71 -0
  163. package/lexicons/unit-price-column.yaml +33 -0
  164. package/lexicons/unit-volume.yaml +4 -0
  165. package/lexicons/use-amount-word.yaml +11 -0
  166. package/lexicons/variance-column.yaml +22 -0
  167. package/lexicons/weekly-days-off.yaml +23 -0
  168. package/lexicons/year-span-joiner.yaml +12 -0
  169. package/package.json +1 -1
  170. package/src/browser/wink-modules.ts +6 -2
  171. package/src/browser/wink.d.ts +11 -1
  172. package/src/currency-amounts.ts +51 -0
  173. package/src/pos.ts +27 -5
  174. package/src/proper-noun.ts +45 -0
  175. package/src/structure.ts +33 -15
  176. package/src/unit-case.ts +14 -0
  177. package/src/wink-modules.ts +6 -0
@@ -0,0 +1,33 @@
1
+ # Words that check an interest calculation written on one line of a deposit statement ("average balance $3,600.00 × rate
2
+ # 0.05% = $1.80", interest-mismatch). group: interest names the interest; base the balance the rate is on; rate the rate;
3
+ # net interest after tax, whose line is not compared. rate-year and rate-month say what period a rate is for;
4
+ # interest-year and interest-month what period the interest is for. A rate marked for a period is compared only on a line
5
+ # that names the same period for the interest: it is never converted by a day count. A Latin word stands as a whole word.
6
+ id: interest-label
7
+ language: en
8
+ entries:
9
+ - { pattern: interest, group: interest }
10
+ - { pattern: balance, group: base }
11
+ - { pattern: principal, group: base }
12
+ - { pattern: rate, group: rate }
13
+ - { pattern: apr, group: rate }
14
+ - { pattern: apy, group: rate }
15
+ - { pattern: after tax, group: net }
16
+ - { pattern: after-tax, group: net }
17
+ - { pattern: net interest, group: net }
18
+ - { pattern: net of tax, group: net }
19
+ - { pattern: apr, group: rate-year }
20
+ - { pattern: apy, group: rate-year }
21
+ - { pattern: annual, group: rate-year }
22
+ - { pattern: per annum, group: rate-year }
23
+ - { pattern: p.a., group: rate-year }
24
+ - { pattern: a year, group: rate-year }
25
+ - { pattern: per year, group: rate-year }
26
+ - { pattern: monthly, group: rate-month }
27
+ - { pattern: a month, group: rate-month }
28
+ - { pattern: per month, group: rate-month }
29
+ - { pattern: for the year, group: interest-year }
30
+ - { pattern: annual, group: interest-year }
31
+ - { pattern: yearly, group: interest-year }
32
+ - { pattern: for the month, group: interest-month }
33
+ - { pattern: monthly, group: interest-month }
@@ -0,0 +1,10 @@
1
+ # Headings of the column naming the goods in an itemised table or a price list. A number in a name (A5, 0.5 mm) is no
2
+ # discount or tax rate, so a row with one there is still compared (line-amount-mismatch).
3
+ id: item-name-column
4
+ language: en
5
+ entries:
6
+ - pattern: Description
7
+ - pattern: Item
8
+ - pattern: Item name
9
+ - pattern: Product
10
+ - pattern: Product name
@@ -0,0 +1,23 @@
1
+ # The column headings of a lab or checkup results table. Group result is the column of the result, range the reference range,
2
+ # flag the flag, unit the unit. reference-flag-mismatch and reference-unit-mismatch both find their columns by these words; a
3
+ # word only one of them reads is in that rule's own lexicon (reference-column-heading, reference-unit-column). A unit or note
4
+ # in brackets ("Result (mg/dL)") is left out of the heading.
5
+ id: lab-result-column
6
+ language: en
7
+ entries:
8
+ - { pattern: Result, group: result }
9
+ - { pattern: Results, group: result }
10
+ - { pattern: Your result, group: result }
11
+ - { pattern: Reference range, group: range }
12
+ - { pattern: Reference ranges, group: range }
13
+ - { pattern: Reference interval, group: range }
14
+ - { pattern: Reference value, group: range }
15
+ - { pattern: Ref. range, group: range }
16
+ - { pattern: Ref range, group: range }
17
+ - { pattern: Normal range, group: range }
18
+ - { pattern: Flag, group: flag }
19
+ - { pattern: Flags, group: flag }
20
+ - { pattern: Abnormal flag, group: flag }
21
+ - { pattern: H/L, group: flag }
22
+ - { pattern: Unit, group: unit }
23
+ - { pattern: Units, group: unit }
@@ -0,0 +1,36 @@
1
+ # Words for a product written in brackets in an item cell ("Membership dues (24 members × $40)", line-amount-mismatch).
2
+ # times are the marks that multiply (a mark in letters, x, only between spaces); count are the words a count multiplied
3
+ # by a price counts. Only a count in one of these words times one amount of money is compared with the row's amount.
4
+ id: label-product-word
5
+ language: en
6
+ entries:
7
+ - { pattern: "×", group: times }
8
+ - { pattern: "✕", group: times }
9
+ - { pattern: x, group: times }
10
+ - { pattern: member, group: count }
11
+ - { pattern: members, group: count }
12
+ - { pattern: person, group: count }
13
+ - { pattern: persons, group: count }
14
+ - { pattern: people, group: count }
15
+ - { pattern: household, group: count }
16
+ - { pattern: households, group: count }
17
+ - { pattern: family, group: count }
18
+ - { pattern: families, group: count }
19
+ - { pattern: unit, group: count }
20
+ - { pattern: units, group: count }
21
+ - { pattern: participant, group: count }
22
+ - { pattern: participants, group: count }
23
+ - { pattern: attendee, group: count }
24
+ - { pattern: attendees, group: count }
25
+ - { pattern: copy, group: count }
26
+ - { pattern: copies, group: count }
27
+ - { pattern: item, group: count }
28
+ - { pattern: items, group: count }
29
+ - { pattern: piece, group: count }
30
+ - { pattern: pieces, group: count }
31
+ - { pattern: ticket, group: count }
32
+ - { pattern: tickets, group: count }
33
+ - { pattern: session, group: count }
34
+ - { pattern: sessions, group: count }
35
+ - { pattern: team, group: count }
36
+ - { pattern: teams, group: count }
@@ -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,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,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 }
@@ -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
@@ -13,3 +13,13 @@ entries:
13
13
  - { pattern: cell, group: mobile }
14
14
  - { pattern: cell phone, group: mobile }
15
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 }
@@ -0,0 +1,18 @@
1
+ # Headings of a points statement's amount spent (base), earning rate (rate) and points earned (earned) columns: amount
2
+ # spent × rate is compared with the points earned (line-amount-mismatch). A rate cell written as 3% is that percentage; a
3
+ # bare number is read only under a heading whose weight says what it is per (Points per $1: 1).
4
+ id: points-earned-column
5
+ language: en
6
+ entries:
7
+ - { pattern: Amount spent, group: base }
8
+ - { pattern: Purchase amount, group: base }
9
+ - { pattern: Spend, group: base }
10
+ - { pattern: Room rate, group: base }
11
+ - { pattern: Earn rate, group: rate }
12
+ - { pattern: Points rate, group: rate }
13
+ - { pattern: Points per $1, group: rate, weight: 1 }
14
+ - { pattern: Points per dollar, group: rate, weight: 1 }
15
+ - { pattern: Miles per $1, group: rate, weight: 1 }
16
+ - { pattern: Points earned, group: earned }
17
+ - { pattern: Points awarded, group: earned }
18
+ - { pattern: Miles earned, group: earned }
@@ -0,0 +1,8 @@
1
+ # Words joining a number of points to the money it is earned per in a sentence (10 points for every $1). A points table
2
+ # with no rate column uses the rate its section states (line-amount-mismatch).
3
+ id: points-rate-joiner
4
+ language: en
5
+ entries:
6
+ - pattern: for every
7
+ - pattern: for each
8
+ - pattern: per