@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,10 @@
1
+ # The units a points amount is written in. Points earned written so may be compared with a dollar amount spent times its
2
+ # rate (line-amount-mismatch).
3
+ id: points-unit
4
+ language: en
5
+ entries:
6
+ - pattern: points
7
+ - pattern: point
8
+ - pattern: pts
9
+ - pattern: pt
10
+ - pattern: miles
@@ -6,4 +6,31 @@ entries:
6
6
  - pattern: Qty
7
7
  - pattern: Qty.
8
8
  - pattern: Units
9
+ # The head count or ticket count of a registration or ticket order (a price per person, per ticket, per seat).
10
+ - pattern: Tickets
11
+ - pattern: Attendees
12
+ - pattern: Seats
13
+ - pattern: Persons
14
+ # The head count of a school trip or event budget (a cost per student or per person times the head count). The group
15
+ # is not a rate-unit: a Rate column (a hotel's rate per night) beside it is not read as per person.
16
+ - { pattern: Students, group: person }
17
+ - { pattern: People, group: person }
18
+ - { pattern: Participants, group: person }
19
+ - { pattern: Guests, group: person }
20
+ - { pattern: Headcount, group: person }
21
+ - { pattern: No. of students, group: person }
9
22
  - { pattern: Hours, group: hour }
23
+ - { pattern: Miles, group: mile }
24
+ # The months of a rent statement (monthly × months = annual).
25
+ - { pattern: Months, group: month }
26
+ # The days of a benefit statement (daily benefit × days = benefit).
27
+ - { pattern: Days, group: day }
28
+ - { pattern: Days in hospital, group: day }
29
+ # The credits of a tuition invoice (times the tuition per credit gives the amount).
30
+ - { pattern: Credits, group: credit }
31
+ - { pattern: Credit hours, group: credit }
32
+ # The area of a land price (price per square foot × area = price). The cell's unit (rate-unit) says which area unit;
33
+ # an area is never multiplied by a price per day or per hour.
34
+ - { pattern: Area, group: area }
35
+ - { pattern: Lot area, group: area }
36
+ - { pattern: Land area, group: area }
@@ -1,5 +1,5 @@
1
1
  # Words that join two measured quantities into a range on their own, beside range-connector's marks
2
- # (quantity-range-reversed): "-10 to 40 °C". Matched as whole words.
2
+ # (quantity-range-reversed): "-10 to 40 °C"; and two serial codes (serial-range-reversed). Matched as whole words.
3
3
  id: quantity-range-word
4
4
  language: en
5
5
  entries:
@@ -0,0 +1,10 @@
1
+ # Last words of a short line label that says a span follows ("Sales period: October 1, 2025 to February 28, 2026",
2
+ # "Booking window: …"). On such a line date-range-reversed reads a bare "… to …" between two dates as a period. Unlike
3
+ # period-label, the label need not be the document's own period. Japanese needs none: its periods are joined by 〜.
4
+ id: range-label
5
+ language: en
6
+ entries:
7
+ - pattern: period
8
+ - pattern: dates
9
+ - pattern: term
10
+ - pattern: window
@@ -16,3 +16,22 @@ entries:
16
16
  - { pattern: months, group: month }
17
17
  - { pattern: year, group: year }
18
18
  - { pattern: years, group: year }
19
+ - { pattern: mile, group: mile }
20
+ - { pattern: miles, group: mile }
21
+ - { pattern: mi, group: mile }
22
+ - { pattern: km, group: km }
23
+ # Course credits (3 credits): a tuition per credit is multiplied only by a count of credits.
24
+ - { pattern: credit, group: credit }
25
+ - { pattern: credits, group: credit }
26
+ - { pattern: credit hour, group: credit }
27
+ - { pattern: credit hours, group: credit }
28
+ # Area units. A square foot and a square metre are different units: a price per square foot is not multiplied by m².
29
+ - { pattern: sq ft, group: sqft }
30
+ - { pattern: sq. ft., group: sqft }
31
+ - { pattern: sqft, group: sqft }
32
+ - { pattern: ft², group: sqft }
33
+ - { pattern: square feet, group: sqft }
34
+ - { pattern: m², group: sqm }
35
+ - { pattern: sq m, group: sqm }
36
+ - { pattern: square metres, group: sqm }
37
+ - { pattern: square meters, group: sqm }
@@ -0,0 +1,14 @@
1
+ # Names of a ratio that one value divided by another gives (ratio-mismatch). group is "numerator term/denominator term";
2
+ # the words of each term are in ratio-term. A table row labelled with only this word (a unit in brackets aside), or one
3
+ # sentence with this word and a word of each term once, has its ratio compared with the two values.
4
+ id: ratio-label
5
+ language: en
6
+ entries:
7
+ - { pattern: Operating margin, group: operating-profit/sales }
8
+ - { pattern: Operating profit margin, group: operating-profit/sales }
9
+ - { pattern: Operating income margin, group: operating-profit/sales }
10
+ - { pattern: Gross margin, group: gross-profit/sales }
11
+ - { pattern: Gross profit margin, group: gross-profit/sales }
12
+ - { pattern: Net margin, group: net-profit/sales }
13
+ - { pattern: Net profit margin, group: net-profit/sales }
14
+ - { pattern: Net income margin, group: net-profit/sales }
@@ -0,0 +1,18 @@
1
+ # Names of the values a ratio divides (ratio-mismatch). group is the term a ratio-label names. In a table, a row whose
2
+ # label is only this word (a unit in brackets aside) is read.
3
+ id: ratio-term
4
+ language: en
5
+ entries:
6
+ - { pattern: Net sales, group: sales }
7
+ - { pattern: Sales, group: sales }
8
+ - { pattern: Revenue, group: sales }
9
+ - { pattern: Revenues, group: sales }
10
+ - { pattern: Net revenue, group: sales }
11
+ - { pattern: Net revenues, group: sales }
12
+ - { pattern: Total revenue, group: sales }
13
+ - { pattern: Total revenues, group: sales }
14
+ - { pattern: Operating profit, group: operating-profit }
15
+ - { pattern: Operating income, group: operating-profit }
16
+ - { pattern: Gross profit, group: gross-profit }
17
+ - { pattern: Net profit, group: net-profit }
18
+ - { pattern: Net income, group: net-profit }
@@ -0,0 +1,12 @@
1
+ # The signs that bound a reference range on one side (reference-flag-mismatch), read with the words of range-band-word ("or
2
+ # less", "below", "up to"). The groups are range-band-word's: upper-inclusive keeps its end (≤79), upper-exclusive does not
3
+ # (<79), lower-inclusive and lower-exclusive bound below. All are written before the number.
4
+ id: reference-bound-mark
5
+ language: en
6
+ entries:
7
+ - { pattern: "≤", group: upper-inclusive, position: before }
8
+ - { pattern: "<=", group: upper-inclusive, position: before }
9
+ - { pattern: "<", group: upper-exclusive, position: before }
10
+ - { pattern: "≥", group: lower-inclusive, position: before }
11
+ - { pattern: ">=", group: lower-inclusive, position: before }
12
+ - { pattern: ">", group: lower-exclusive, position: before }
@@ -0,0 +1,10 @@
1
+ # The column headings of a lab results table that only reference-flag-mismatch reads; the words both rules read are in
2
+ # lab-result-column. Matched as the whole heading, a unit in brackets at its end left out ("Result (mg/dL)" is Result). A
3
+ # table is read only when the result, range and flag columns are each named exactly once.
4
+ id: reference-column-heading
5
+ language: en
6
+ entries:
7
+ - { pattern: Value, group: result }
8
+ - { pattern: Your value, group: result }
9
+ - { pattern: Reference, group: range }
10
+ - { pattern: Normal values, group: range }
@@ -0,0 +1,18 @@
1
+ # Headings of the column of an itemised table that gives each row's own receipt, invoice or slip number
2
+ # (reference-number-repeated). Only a column whose heading is one of these words as a whole is read (case, width and spaces
3
+ # aside). Columns whose values rightly repeat from row to row (category codes, account numbers, dates) are not listed.
4
+ id: reference-column
5
+ language: en
6
+ entries:
7
+ - pattern: Receipt no.
8
+ - pattern: Receipt no
9
+ - pattern: Receipt number
10
+ - pattern: "Receipt #"
11
+ - pattern: Invoice no.
12
+ - pattern: Invoice no
13
+ - pattern: Invoice number
14
+ - pattern: "Invoice #"
15
+ - pattern: Voucher no.
16
+ - pattern: Voucher number
17
+ - pattern: Ref.
18
+ - pattern: Ref. no.
@@ -0,0 +1,20 @@
1
+ # The flags of a lab result (reference-flag-mismatch). Group high is above the reference range, low below it, normal within
2
+ # it, outside out of it on either side. Only flags set against the reference range are listed; a grade of a checkup (A to E)
3
+ # follows the clinic's own criteria and is left out. Matched as the whole cell.
4
+ id: reference-flag
5
+ language: en
6
+ entries:
7
+ - { pattern: H, group: high }
8
+ - { pattern: High, group: high }
9
+ - { pattern: ↑, group: high }
10
+ - { pattern: L, group: low }
11
+ - { pattern: Low, group: low }
12
+ - { pattern: ↓, group: low }
13
+ - { pattern: Normal, group: normal }
14
+ - { pattern: Within range, group: normal }
15
+ - { pattern: In range, group: normal }
16
+ - { pattern: Within normal limits, group: normal }
17
+ - { pattern: WNL, group: normal }
18
+ - { pattern: Out of range, group: outside }
19
+ - { pattern: Abnormal, group: outside }
20
+ - { pattern: "*", group: outside }
@@ -0,0 +1,151 @@
1
+ # Words put before a document's own number (a booking or confirmation number). group is what the number is; numbers of
2
+ # different groups are never compared. reference-number-variant reads the letters and digits right after a label (only
3
+ # spaces, a colon, a comma or an opening bracket between) as a number of its group. Words that come between a label and its number ("is") go here too.
4
+ id: reference-label
5
+ language: en
6
+ entries:
7
+ - { pattern: booking number, group: booking }
8
+ - { pattern: booking number is, group: booking }
9
+ - { pattern: reservation number, group: booking }
10
+ - { pattern: reservation number is, group: booking }
11
+ - { pattern: confirmation number, group: confirmation }
12
+ - { pattern: confirmation number is, group: confirmation }
13
+ - { pattern: reference number, group: reference }
14
+ - { pattern: reference number is, group: reference }
15
+ - { pattern: employee number, group: employee }
16
+ - { pattern: employee number is, group: employee }
17
+ - { pattern: employee id, group: employee }
18
+ - { pattern: employee id is, group: employee }
19
+ - { pattern: employee no., group: employee }
20
+ - { pattern: student number, group: student }
21
+ - { pattern: student number is, group: student }
22
+ - { pattern: student id, group: student }
23
+ - { pattern: student id is, group: student }
24
+ - { pattern: student no., group: student }
25
+ # A bank account's number. A transfer's other account is labelled longer (payee account number), and the longer label
26
+ # wins, so it is never compared with the account's own.
27
+ - { pattern: account number, group: account }
28
+ - { pattern: account number is, group: account }
29
+ - { pattern: account no., group: account }
30
+ - { pattern: account no, group: account }
31
+ - { pattern: "account #", group: account }
32
+ - { pattern: payee account number, group: payee-account }
33
+ - { pattern: payee account number is, group: payee-account }
34
+ - { pattern: payee's account number, group: payee-account }
35
+ - { pattern: payee's account number is, group: payee-account }
36
+ - { pattern: beneficiary account number, group: payee-account }
37
+ - { pattern: beneficiary account number is, group: payee-account }
38
+ - { pattern: beneficiary's account number, group: payee-account }
39
+ - { pattern: beneficiary's account number is, group: payee-account }
40
+ - { pattern: recipient account number, group: payee-account }
41
+ - { pattern: recipient account number is, group: payee-account }
42
+ - { pattern: payer account number, group: payer-account }
43
+ - { pattern: payer account number is, group: payer-account }
44
+ - { pattern: payer's account number, group: payer-account }
45
+ - { pattern: payer's account number is, group: payer-account }
46
+ - { pattern: sender account number, group: payer-account }
47
+ - { pattern: sender account number is, group: payer-account }
48
+ # An insurance policy's number. A policyholder's own number may cover several policies, so it is not one.
49
+ - { pattern: policy number, group: policy }
50
+ - { pattern: policy number is, group: policy }
51
+ - { pattern: policy no., group: policy }
52
+ - { pattern: policy no, group: policy }
53
+ - { pattern: "policy #", group: policy }
54
+ - { pattern: insurance policy number, group: policy }
55
+ - { pattern: insurance policy number is, group: policy }
56
+ - { pattern: po number, group: order }
57
+ - { pattern: po number is, group: order }
58
+ - { pattern: purchase order number, group: order }
59
+ - { pattern: purchase order number is, group: order }
60
+ - { pattern: order number, group: order }
61
+ - { pattern: order number is, group: order }
62
+ - { pattern: invoice number, group: invoice }
63
+ - { pattern: invoice number is, group: invoice }
64
+ - { pattern: invoice no., group: invoice }
65
+ - { pattern: invoice no, group: invoice }
66
+ - { pattern: "invoice #", group: invoice }
67
+ # A quote's number. A quote, an order and an invoice are different documents, so their numbers are never compared.
68
+ # A bare "quote" is not a label: "please quote your PO number" uses it as a verb.
69
+ - { pattern: quote number, group: quote }
70
+ - { pattern: quote number is, group: quote }
71
+ - { pattern: quote no., group: quote }
72
+ - { pattern: quote no, group: quote }
73
+ - { pattern: quotation number, group: quote }
74
+ - { pattern: quotation number is, group: quote }
75
+ - { pattern: estimate number, group: quote }
76
+ - { pattern: estimate number is, group: quote }
77
+ - { pattern: estimate no., group: quote }
78
+ - { pattern: estimate no, group: quote }
79
+ - { pattern: patient number, group: patient }
80
+ - { pattern: patient number is, group: patient }
81
+ - { pattern: patient id, group: patient }
82
+ - { pattern: patient id is, group: patient }
83
+ - { pattern: patient no., group: patient }
84
+ - { pattern: contract number, group: contract }
85
+ - { pattern: contract number is, group: contract }
86
+ - { pattern: contract no., group: contract }
87
+ - { pattern: agreement number, group: contract }
88
+ - { pattern: agreement number is, group: contract }
89
+ - { pattern: tenancy agreement number, group: contract }
90
+ - { pattern: tenancy agreement number is, group: contract }
91
+ # Labels of another contract's number. The longer label wins, so these are never compared with the document's own.
92
+ - { pattern: original contract number, group: original-contract }
93
+ - { pattern: original contract number is, group: original-contract }
94
+ - { pattern: original agreement number, group: original-contract }
95
+ - { pattern: original agreement number is, group: original-contract }
96
+ - { pattern: master agreement number, group: master-contract }
97
+ - { pattern: master agreement number is, group: master-contract }
98
+ - { pattern: master contract number, group: master-contract }
99
+ - { pattern: master contract number is, group: master-contract }
100
+ - { pattern: former contract number, group: former-contract }
101
+ - { pattern: former contract number is, group: former-contract }
102
+ - { pattern: amended contract number, group: amended-contract }
103
+ - { pattern: amended contract number is, group: amended-contract }
104
+ - { pattern: amendment number, group: amended-contract }
105
+ - { pattern: amendment number is, group: amended-contract }
106
+ - { pattern: parent contract number, group: parent-contract }
107
+ - { pattern: parent contract number is, group: parent-contract }
108
+ - { pattern: parent agreement number, group: parent-contract }
109
+ - { pattern: parent agreement number is, group: parent-contract }
110
+ # An attendee's registration. An application number may be one application's, apart from each attendee's registration number.
111
+ - { pattern: registration number, group: registration }
112
+ - { pattern: registration number is, group: registration }
113
+ - { pattern: registration no., group: registration }
114
+ - { pattern: registration no, group: registration }
115
+ - { pattern: application number, group: application }
116
+ - { pattern: application number is, group: application }
117
+ # An item's code. A table's codes are items of their own; only a code with no label is compared with them.
118
+ - { pattern: item code, group: item }
119
+ - { pattern: item code is, group: item }
120
+ - { pattern: item no., group: item }
121
+ - { pattern: item no, group: item }
122
+ - { pattern: sku, group: item }
123
+ - { pattern: product code, group: item }
124
+ - { pattern: product code is, group: item }
125
+ # A vehicle's plate. A bare "Registration" is not one: an attendee's registration is written so too.
126
+ - { pattern: registration plate, group: vehicle }
127
+ - { pattern: registration plate is, group: vehicle }
128
+ - { pattern: number plate, group: vehicle }
129
+ - { pattern: number plate is, group: vehicle }
130
+ - { pattern: plate number, group: vehicle }
131
+ - { pattern: plate number is, group: vehicle }
132
+ - { pattern: licence plate, group: vehicle }
133
+ - { pattern: licence plate is, group: vehicle }
134
+ - { pattern: licence plate number, group: vehicle }
135
+ - { pattern: license plate, group: vehicle }
136
+ - { pattern: license plate is, group: vehicle }
137
+ - { pattern: license plate number, group: vehicle }
138
+ - { pattern: vehicle registration, group: vehicle }
139
+ - { pattern: vehicle registration number, group: vehicle }
140
+ - { pattern: vehicle registration number is, group: vehicle }
141
+ # A member's number. A customer number is the shop's number for a customer and may differ from a member number.
142
+ - { pattern: member number, group: member }
143
+ - { pattern: member number is, group: member }
144
+ - { pattern: membership number, group: member }
145
+ - { pattern: membership number is, group: member }
146
+ - { pattern: member id, group: member }
147
+ - { pattern: member id is, group: member }
148
+ - { pattern: member no., group: member }
149
+ - { pattern: member no, group: member }
150
+ - { pattern: customer number, group: customer }
151
+ - { pattern: customer number is, group: customer }
@@ -0,0 +1,8 @@
1
+ # The column headings of a lab results table that only reference-unit-mismatch reads; the words both rules read are in
2
+ # lab-result-column. A bracketed part of a heading ("Result (mg/dL)", "Reference range (adult)") is left out, and the rest
3
+ # must be the whole heading.
4
+ id: reference-unit-column
5
+ language: en
6
+ entries:
7
+ - { pattern: Measured value, group: result }
8
+ - { pattern: Test result, group: result }
@@ -0,0 +1,81 @@
1
+ # Units written for results and reference ranges in a lab results table, and what each is (group). Units of one group
2
+ # are one unit and compare without converting (mg/dL and mg/100mL, ×10⁴/µL and 万/µL, ×10³/µL and ×10⁹/L, µIU/mL and
3
+ # mIU/L, mEq/L and mmol/L as for the monovalent ions). reference-unit-mismatch reports a result whose group is not its reference range's. Text is matched after NFKC
4
+ # and lower-casing, so mg/dl, full-width letters, and μ against µ need no entries of their own.
5
+ id: reference-unit
6
+ language: en
7
+ entries:
8
+ - { pattern: "mg/dL", group: mg/dl }
9
+ - { pattern: "mg/100mL", group: mg/dl }
10
+ - { pattern: "g/dL", group: g/dl }
11
+ - { pattern: "g/L", group: g/l }
12
+ - { pattern: "mg/L", group: mg/l }
13
+ - { pattern: "µg/dL", group: ug/dl }
14
+ - { pattern: "ug/dL", group: ug/dl }
15
+ - { pattern: "mcg/dL", group: ug/dl }
16
+ - { pattern: "µg/L", group: ug/l }
17
+ - { pattern: "ug/L", group: ug/l }
18
+ - { pattern: "µg/mL", group: ug/ml }
19
+ - { pattern: "ug/mL", group: ug/ml }
20
+ - { pattern: "ng/mL", group: ng/ml }
21
+ - { pattern: "ng/dL", group: ng/dl }
22
+ - { pattern: "pg/mL", group: pg/ml }
23
+ - { pattern: "mmol/L", group: mmol/l }
24
+ - { pattern: "µmol/L", group: umol/l }
25
+ - { pattern: "umol/L", group: umol/l }
26
+ - { pattern: "nmol/L", group: nmol/l }
27
+ - { pattern: "pmol/L", group: pmol/l }
28
+ - { pattern: "mmol/mol", group: mmol/mol }
29
+ - { pattern: "mEq/L", group: mmol/l }
30
+ - { pattern: "U/L", group: u/l }
31
+ - { pattern: "IU/L", group: u/l }
32
+ - { pattern: "U/mL", group: u/ml }
33
+ - { pattern: "mU/L", group: mu/l }
34
+ - { pattern: "mIU/L", group: mu/l }
35
+ - { pattern: "µU/mL", group: mu/l }
36
+ - { pattern: "µIU/mL", group: mu/l }
37
+ - { pattern: "uU/mL", group: mu/l }
38
+ - { pattern: "uIU/mL", group: mu/l }
39
+ - { pattern: "mL/min/1.73m²", group: ml/min/1.73m2 }
40
+ - { pattern: "mL/分/1.73m²", group: ml/min/1.73m2 }
41
+ - { pattern: "mm/h", group: mm/h }
42
+ - { pattern: "mm/hr", group: mm/h }
43
+ - { pattern: "mOsm/kg", group: mosm/kg }
44
+ - { pattern: "%", group: percent }
45
+ - { pattern: "fL", group: fl }
46
+ - { pattern: "pg", group: pg }
47
+ - { pattern: "×10⁴/µL", group: 10^4/ul }
48
+ - { pattern: "×10^4/µL", group: 10^4/ul }
49
+ - { pattern: "x10^4/uL", group: 10^4/ul }
50
+ - { pattern: "万/µL", group: 10^4/ul }
51
+ - { pattern: "万/uL", group: 10^4/ul }
52
+ - { pattern: "万/mm³", group: 10^4/ul }
53
+ - { pattern: "×10³/µL", group: 10^3/ul }
54
+ - { pattern: "×10^3/µL", group: 10^3/ul }
55
+ - { pattern: "x10^3/uL", group: 10^3/ul }
56
+ - { pattern: "10³/µL", group: 10^3/ul }
57
+ - { pattern: "10^3/µL", group: 10^3/ul }
58
+ - { pattern: "10^3/uL", group: 10^3/ul }
59
+ - { pattern: "K/µL", group: 10^3/ul }
60
+ - { pattern: "K/uL", group: 10^3/ul }
61
+ - { pattern: "×10⁹/L", group: 10^3/ul }
62
+ - { pattern: "×10^9/L", group: 10^3/ul }
63
+ - { pattern: "x10^9/L", group: 10^3/ul }
64
+ - { pattern: "10⁹/L", group: 10^3/ul }
65
+ - { pattern: "10^9/L", group: 10^3/ul }
66
+ - { pattern: "千/µL", group: 10^3/ul }
67
+ - { pattern: "×10⁶/µL", group: 10^6/ul }
68
+ - { pattern: "×10^6/µL", group: 10^6/ul }
69
+ - { pattern: "x10^6/uL", group: 10^6/ul }
70
+ - { pattern: "10^6/µL", group: 10^6/ul }
71
+ - { pattern: "10^6/uL", group: 10^6/ul }
72
+ - { pattern: "M/µL", group: 10^6/ul }
73
+ - { pattern: "M/uL", group: 10^6/ul }
74
+ - { pattern: "×10¹²/L", group: 10^6/ul }
75
+ - { pattern: "×10^12/L", group: 10^6/ul }
76
+ - { pattern: "x10^12/L", group: 10^6/ul }
77
+ - { pattern: "10¹²/L", group: 10^6/ul }
78
+ - { pattern: "10^12/L", group: 10^6/ul }
79
+ - { pattern: "/µL", group: /ul }
80
+ - { pattern: "/uL", group: /ul }
81
+ - { pattern: "/mm³", group: /ul }
@@ -0,0 +1,29 @@
1
+ # Words for a period that is compared with. A period name in a sentence, a table heading cell or a section with one of
2
+ # these may differ from the document's period ("compared with Q2 FY2025", "prior year", "carried
3
+ # forward from tax year 2025 or earlier").
4
+ id: reporting-comparison
5
+ language: en
6
+ entries:
7
+ - pattern: prior
8
+ - pattern: previous
9
+ - pattern: preceding
10
+ - pattern: last year
11
+ - pattern: year earlier
12
+ - pattern: year ago
13
+ - pattern: year-ago
14
+ - pattern: year-on-year
15
+ - pattern: compared with
16
+ - pattern: compared to
17
+ - pattern: versus
18
+ - pattern: vs
19
+ - pattern: against
20
+ - pattern: same period
21
+ - pattern: same quarter
22
+ - pattern: restated
23
+ - pattern: or earlier
24
+ - pattern: or later
25
+ - pattern: earlier years
26
+ - pattern: carryforward
27
+ - pattern: carry forward
28
+ - pattern: carried forward
29
+ - pattern: carryover
@@ -0,0 +1,14 @@
1
+ # Words that point at the current period ("this quarter", "the quarter under review"). A sentence with one of these or
2
+ # a results word is read as about the current period. A quarter or half before the document's period (Q1 inside a
3
+ # six-month report) is read only with one of these.
4
+ id: reporting-current
5
+ language: en
6
+ entries:
7
+ - pattern: this quarter
8
+ - pattern: this fiscal year
9
+ - pattern: this year
10
+ - pattern: current period
11
+ - pattern: current quarter
12
+ - pattern: current fiscal year
13
+ - pattern: current year
14
+ - pattern: under review
@@ -0,0 +1,25 @@
1
+ # Words for a later period's outlook. A period name in a sentence, a table heading cell or a section with one of these
2
+ # may differ from the document's period ("full-year forecast", "Outlook", "next fiscal year").
3
+ id: reporting-forecast
4
+ language: en
5
+ entries:
6
+ - pattern: forecast
7
+ - pattern: forecasts
8
+ - pattern: outlook
9
+ - pattern: guidance
10
+ - pattern: expect
11
+ - pattern: expects
12
+ - pattern: expected
13
+ - pattern: projected
14
+ - pattern: projection
15
+ - pattern: plan
16
+ - pattern: plans
17
+ - pattern: target
18
+ - pattern: targets
19
+ - pattern: will
20
+ - pattern: next fiscal
21
+ - pattern: next year
22
+ - pattern: next quarter
23
+ - pattern: upcoming
24
+ - pattern: estimate
25
+ - pattern: estimated
@@ -0,0 +1,27 @@
1
+ # How a results release names its period (Q2, Second Quarter, FY2026, Fiscal Year Ending March 31, 2027). The group is
2
+ # the kind of period; period-label-conflict compares names of one kind only. {n} is a quarter's or a half's number, {y}
3
+ # a year, {e} the year a period ends in, and {_} a few words that are not part of the value (the month and day of a year
4
+ # end). Whether FY2026 starts or ends in 2026 differs by company, so a {y} name and an {e} name are never compared. A
5
+ # form without a number ("second quarter") names the numbered form of the same period in instead_of. Kinds without a
6
+ # year (quarter, half) are read as parts of a year. Case does not matter.
7
+ id: reporting-period-frame
8
+ language: en
9
+ entries:
10
+ - { pattern: "Q{n}", group: quarter }
11
+ - { pattern: "{n}Q", group: quarter }
12
+ - { pattern: "first quarter", group: quarter, instead_of: "Q1" }
13
+ - { pattern: "second quarter", group: quarter, instead_of: "Q2" }
14
+ - { pattern: "third quarter", group: quarter, instead_of: "Q3" }
15
+ - { pattern: "fourth quarter", group: quarter, instead_of: "Q4" }
16
+ - { pattern: "H{n}", group: half }
17
+ - { pattern: "{n}H", group: half }
18
+ - { pattern: "first half", group: half, instead_of: "H1" }
19
+ - { pattern: "second half", group: half, instead_of: "H2" }
20
+ - { pattern: "FY{y}", group: fiscal-year }
21
+ - { pattern: "FY {y}", group: fiscal-year }
22
+ - { pattern: "fiscal {y}", group: fiscal-year }
23
+ - { pattern: "fiscal year {y}", group: fiscal-year }
24
+ - { pattern: "fiscal year ending {_} {e}", group: fiscal-year }
25
+ - { pattern: "fiscal year ended {_} {e}", group: fiscal-year }
26
+ - { pattern: "year ending {_} {e}", group: fiscal-year }
27
+ - { pattern: "year ended {_} {e}", group: fiscal-year }
@@ -0,0 +1,11 @@
1
+ # Words that open the line in a results release's head that states the period it reports ("Reporting period: April 1,
2
+ # 2026 to September 30, 2026 (Q2, six months)"). period-label-conflict takes a kind of period the title does not name
3
+ # from this line.
4
+ id: reporting-period-line
5
+ language: en
6
+ entries:
7
+ - pattern: Reporting period
8
+ - pattern: Period covered
9
+ - pattern: Fiscal period
10
+ - pattern: Accounting period
11
+ - pattern: Period
@@ -0,0 +1,9 @@
1
+ # Words for a period's results. period-label-conflict reads a document as a results release only when its title has one
2
+ # of these and a period name; a sentence with one is read as about the current period's results.
3
+ id: reporting-results-word
4
+ language: en
5
+ entries:
6
+ - pattern: results
7
+ - pattern: earnings
8
+ - pattern: financial statements
9
+ - pattern: financial report
@@ -0,0 +1,10 @@
1
+ # Names that say by themselves which year a document covers (Tax Year 2026, the 2026 tax year). The group is the kind
2
+ # of year. period-label-conflict reads such a name in a title even without a results word, and reports a year of the
3
+ # same kind that differs in the body (tax year 2025). A year without the marker ("compared with 2025", "in 2025") or
4
+ # with another one is not compared. "For the year 2026" is left out: annual reports use it for any year, often a prior one.
5
+ # {y} is a year. Case does not matter.
6
+ id: reporting-year-frame
7
+ language: en
8
+ entries:
9
+ - { pattern: "tax year {y}", group: tax-year }
10
+ - { pattern: "{y} tax year", group: tax-year }
@@ -0,0 +1,12 @@
1
+ # The reader's own questions, taken as an open offer ("Please send any questions to me"): nothing is due. "any comments"
2
+ # and "any feedback" are left out: "Please send any feedback from beta users" is a task.
3
+ id: request-offer
4
+ language: en
5
+ entries:
6
+ - pattern: any questions
7
+ - pattern: any question
8
+ - pattern: your questions
9
+ - pattern: any queries
10
+ - pattern: any concerns
11
+ - pattern: any inquiries
12
+ - pattern: any enquiries
@@ -0,0 +1,17 @@
1
+ # Labels of the columns (or rows) of a forecast revision table (revision-direction-mismatch). group is previous (before
2
+ # the revision) or revised (after it). A label holding the words matches; one holding words of both groups is not used.
3
+ id: revision-column
4
+ language: en
5
+ entries:
6
+ - { pattern: previous forecast, group: previous }
7
+ - { pattern: prior forecast, group: previous }
8
+ - { pattern: original forecast, group: previous }
9
+ - { pattern: previous estimate, group: previous }
10
+ - { pattern: previously announced, group: previous }
11
+ - { pattern: before revision, group: previous }
12
+ - { pattern: revised forecast, group: revised }
13
+ - { pattern: revised estimate, group: revised }
14
+ - { pattern: new forecast, group: revised }
15
+ - { pattern: current forecast, group: revised }
16
+ - { pattern: after revision, group: revised }
17
+ - { pattern: revised, group: revised }
@@ -0,0 +1,29 @@
1
+ # Words that say which way a forecast was revised (revision-direction-mismatch). group is the direction: rise or fall.
2
+ # Matched as whole words in the section that holds a table of the previous and the revised forecast. rise-verb and
3
+ # fall-verb are read only with a word of the group forecast in their sentence ("raised funds" revises nothing).
4
+ id: revision-direction
5
+ language: en
6
+ entries:
7
+ - { pattern: revised upward, group: rise }
8
+ - { pattern: revising upward, group: rise }
9
+ - { pattern: revise upward, group: rise }
10
+ - { pattern: revised up, group: rise }
11
+ - { pattern: upward revision, group: rise }
12
+ - { pattern: raised, group: rise-verb }
13
+ - { pattern: raising, group: rise-verb }
14
+ - { pattern: revised downward, group: fall }
15
+ - { pattern: revising downward, group: fall }
16
+ - { pattern: revise downward, group: fall }
17
+ - { pattern: revised down, group: fall }
18
+ - { pattern: downward revision, group: fall }
19
+ - { pattern: lowered, group: fall-verb }
20
+ - { pattern: lowering, group: fall-verb }
21
+ - { pattern: cut, group: fall-verb }
22
+ - { pattern: forecast, group: forecast }
23
+ - { pattern: forecasts, group: forecast }
24
+ - { pattern: guidance, group: forecast }
25
+ - { pattern: outlook, group: forecast }
26
+ - { pattern: projection, group: forecast }
27
+ - { pattern: projections, group: forecast }
28
+ - { pattern: estimate, group: forecast }
29
+ - { pattern: estimates, group: forecast }
@@ -0,0 +1,13 @@
1
+ # Words that, earlier on the line, make two letter-and-digit codes a range of serial or lot numbers (serial-range-reversed):
2
+ # "Serial numbers: B3900 to B3100". A line without one is not read: part numbers in a parts list (A-100 to A-099) may be an
3
+ # order, not a range. Matched as whole words, without regard to case.
4
+ id: serial-label
5
+ language: en
6
+ entries:
7
+ - pattern: serial
8
+ - pattern: serials
9
+ - pattern: S/N
10
+ - pattern: lot
11
+ - pattern: lots
12
+ - pattern: batch
13
+ - pattern: batches