@chaffjs/lang-en 0.28.0 → 0.30.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.
- package/dist/browser/wink-modules.d.ts +4 -0
- package/dist/browser/wink-modules.d.ts.map +1 -1
- package/dist/browser/wink-modules.js +5 -2
- package/dist/browser/wink-modules.js.map +1 -1
- package/dist/currency-amounts.d.ts +14 -0
- package/dist/currency-amounts.d.ts.map +1 -0
- package/dist/currency-amounts.js +38 -0
- package/dist/currency-amounts.js.map +1 -0
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.js +3 -0
- package/dist/lexicons.js.map +1 -1
- package/dist/pos.d.ts.map +1 -1
- package/dist/pos.js +21 -5
- package/dist/pos.js.map +1 -1
- package/dist/proper-noun.d.ts +11 -0
- package/dist/proper-noun.d.ts.map +1 -1
- package/dist/proper-noun.js +31 -0
- package/dist/proper-noun.js.map +1 -1
- package/dist/structure.d.ts.map +1 -1
- package/dist/structure.js +26 -14
- package/dist/structure.js.map +1 -1
- package/dist/unit-case.d.ts +4 -0
- package/dist/unit-case.d.ts.map +1 -0
- package/dist/unit-case.js +11 -0
- package/dist/unit-case.js.map +1 -0
- package/dist/wink-modules.d.ts +5 -0
- package/dist/wink-modules.d.ts.map +1 -1
- package/dist/wink-modules.js +5 -0
- package/dist/wink-modules.js.map +1 -1
- package/lexicons/age-reference-label.yaml +11 -0
- package/lexicons/age-time-mark.yaml +8 -0
- package/lexicons/annual-holidays-label.yaml +19 -0
- package/lexicons/annual-holidays-word.yaml +28 -0
- package/lexicons/annual-pay-label.yaml +24 -0
- package/lexicons/annual-pay-word.yaml +52 -0
- package/lexicons/any-year-marker.yaml +21 -0
- package/lexicons/balance-column.yaml +27 -0
- package/lexicons/benefit-limit-word.yaml +16 -0
- package/lexicons/birth-date-label.yaml +8 -0
- package/lexicons/bmi-term.yaml +12 -0
- package/lexicons/bmi-unit.yaml +6 -0
- package/lexicons/change-column.yaml +28 -0
- package/lexicons/closing-balance-label.yaml +35 -0
- package/lexicons/cumulative-table.yaml +35 -0
- package/lexicons/currency-column.yaml +13 -0
- package/lexicons/date-deadline-mark.yaml +11 -0
- package/lexicons/dated-column-label.yaml +17 -0
- package/lexicons/dated-pair-label.yaml +210 -0
- package/lexicons/dated-span-label.yaml +12 -0
- package/lexicons/deductible-basis.yaml +26 -0
- package/lexicons/deductible-word.yaml +11 -0
- package/lexicons/discount-rate-label.yaml +35 -0
- package/lexicons/email-sentence-end.yaml +8 -0
- package/lexicons/event-bill-word.yaml +9 -0
- package/lexicons/event-due-word.yaml +7 -0
- package/lexicons/event-payment-deadline-word.yaml +12 -0
- package/lexicons/event-payment-word.yaml +7 -0
- package/lexicons/event-start-label.yaml +10 -0
- package/lexicons/event-ticket-word.yaml +8 -0
- package/lexicons/event-trip-word.yaml +13 -0
- package/lexicons/fact-age-joiner.yaml +8 -0
- package/lexicons/fact-age-limit.yaml +9 -0
- package/lexicons/fact-age-mark.yaml +13 -0
- package/lexicons/fact-amount-condition.yaml +15 -0
- package/lexicons/fact-count-column.yaml +10 -0
- package/lexicons/fact-count-counter.yaml +11 -0
- package/lexicons/fact-count-not-whole.yaml +19 -0
- package/lexicons/fact-count-restating.yaml +8 -0
- package/lexicons/fact-count-separate-rows.yaml +7 -0
- package/lexicons/fact-count-whole.yaml +11 -0
- package/lexicons/fact-document-term.yaml +39 -0
- package/lexicons/fact-label-qualifier.yaml +10 -0
- package/lexicons/fact-quantity-period.yaml +7 -0
- package/lexicons/fact-quantity-self.yaml +9 -0
- package/lexicons/fact-quantity-verb.yaml +8 -0
- package/lexicons/fact-rate-base.yaml +15 -0
- package/lexicons/fact-rate-joiner.yaml +16 -0
- package/lexicons/fact-rate-kind.yaml +9 -0
- package/lexicons/fact-rate-period.yaml +14 -0
- package/lexicons/fact-reading-clause.yaml +10 -0
- package/lexicons/fact-reading-gauge.yaml +13 -0
- package/lexicons/fact-reading-verb.yaml +9 -0
- package/lexicons/fact-term-self.yaml +12 -0
- package/lexicons/fact-term-start.yaml +7 -0
- package/lexicons/fact-term-verb.yaml +9 -0
- package/lexicons/formula-amount-word.yaml +13 -0
- package/lexicons/gpa-label.yaml +19 -0
- package/lexicons/grade-point.yaml +40 -0
- package/lexicons/heading-number-label.yaml +2 -6
- package/lexicons/installment-label.yaml +47 -0
- package/lexicons/installment-word.yaml +70 -0
- package/lexicons/interest-label.yaml +33 -0
- package/lexicons/item-name-column.yaml +10 -0
- package/lexicons/lab-result-column.yaml +23 -0
- package/lexicons/label-product-word.yaml +36 -0
- package/lexicons/line-amount-column.yaml +4 -0
- package/lexicons/meter-event.yaml +22 -0
- package/lexicons/meter-reading-label.yaml +26 -0
- package/lexicons/meter-unit.yaml +16 -0
- package/lexicons/net-amount-label.yaml +66 -0
- package/lexicons/net-amount-period.yaml +19 -0
- package/lexicons/net-gross-weight-column.yaml +23 -0
- package/lexicons/number-name-word.yaml +49 -0
- package/lexicons/order-quantity-column.yaml +33 -0
- package/lexicons/overnight-work-mark.yaml +13 -0
- package/lexicons/pack-count-column.yaml +13 -0
- package/lexicons/pack-price-column.yaml +12 -0
- package/lexicons/per-unit-mark.yaml +6 -0
- package/lexicons/period-label.yaml +7 -0
- package/lexicons/period-multiple-label.yaml +16 -0
- package/lexicons/period-multiple-word.yaml +28 -0
- package/lexicons/period-part-after.yaml +11 -0
- package/lexicons/period-part-length-verb.yaml +9 -0
- package/lexicons/period-part-marker.yaml +11 -0
- package/lexicons/period-part-range.yaml +9 -0
- package/lexicons/period-part-unnamed.yaml +16 -0
- package/lexicons/period-part-word.yaml +7 -0
- package/lexicons/person-label.yaml +26 -0
- package/lexicons/phone-label.yaml +10 -0
- package/lexicons/points-earned-column.yaml +18 -0
- package/lexicons/points-rate-joiner.yaml +8 -0
- package/lexicons/points-unit.yaml +10 -0
- package/lexicons/quantity-column.yaml +27 -0
- package/lexicons/quantity-range-word.yaml +1 -1
- package/lexicons/range-label.yaml +10 -0
- package/lexicons/range-start-end.yaml +29 -0
- package/lexicons/rate-unit.yaml +19 -0
- package/lexicons/ratio-label.yaml +14 -0
- package/lexicons/ratio-term.yaml +18 -0
- package/lexicons/reference-bound-mark.yaml +12 -0
- package/lexicons/reference-column-heading.yaml +10 -0
- package/lexicons/reference-column.yaml +18 -0
- package/lexicons/reference-flag.yaml +20 -0
- package/lexicons/reference-label.yaml +151 -0
- package/lexicons/reference-unit-column.yaml +8 -0
- package/lexicons/reference-unit.yaml +81 -0
- package/lexicons/reporting-comparison.yaml +29 -0
- package/lexicons/reporting-current.yaml +14 -0
- package/lexicons/reporting-forecast.yaml +25 -0
- package/lexicons/reporting-period-frame.yaml +27 -0
- package/lexicons/reporting-period-line.yaml +11 -0
- package/lexicons/reporting-results-word.yaml +9 -0
- package/lexicons/reporting-year-frame.yaml +10 -0
- package/lexicons/request-offer.yaml +12 -0
- package/lexicons/revision-column.yaml +17 -0
- package/lexicons/revision-direction.yaml +29 -0
- package/lexicons/serial-label.yaml +13 -0
- package/lexicons/service-charge-label.yaml +6 -0
- package/lexicons/share-amount-label.yaml +20 -0
- package/lexicons/share-column-rate-header.yaml +21 -0
- package/lexicons/shift-column.yaml +23 -0
- package/lexicons/summed-counter.yaml +45 -0
- package/lexicons/table-scale-unit.yaml +17 -0
- package/lexicons/table-unit-caption.yaml +7 -0
- package/lexicons/tax-price-column.yaml +28 -0
- package/lexicons/tier-label.yaml +31 -0
- package/lexicons/tier-unit.yaml +9 -0
- package/lexicons/timed-pair-label.yaml +54 -0
- package/lexicons/total-label-qualifier.yaml +12 -5
- package/lexicons/total-label.yaml +4 -2
- package/lexicons/total-noun-listed.yaml +9 -0
- package/lexicons/total-noun-qualifier.yaml +10 -0
- package/lexicons/total-noun-unsummed.yaml +9 -0
- package/lexicons/total-period-qualifier.yaml +17 -0
- package/lexicons/transcript-column.yaml +23 -0
- package/lexicons/unit-area.yaml +10 -0
- package/lexicons/unit-concentration.yaml +71 -0
- package/lexicons/unit-price-column.yaml +33 -0
- package/lexicons/unit-volume.yaml +4 -0
- package/lexicons/use-amount-word.yaml +11 -0
- package/lexicons/variance-column.yaml +22 -0
- package/lexicons/weekly-days-off.yaml +23 -0
- package/lexicons/year-span-joiner.yaml +12 -0
- package/package.json +2 -2
- package/src/browser/wink-modules.ts +6 -2
- package/src/browser/wink.d.ts +11 -1
- package/src/currency-amounts.ts +51 -0
- package/src/lexicons.ts +4 -0
- package/src/pos.ts +27 -5
- package/src/proper-noun.ts +45 -0
- package/src/structure.ts +33 -15
- package/src/unit-case.ts +14 -0
- package/src/wink-modules.ts +6 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# The words for a deductible or an excess (deductible-exceeds-limit). group not: phrases holding one of them without
|
|
2
|
+
# naming a deductible.
|
|
3
|
+
id: deductible-word
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- { pattern: excess }
|
|
7
|
+
- { pattern: deductible }
|
|
8
|
+
- { pattern: in excess of, group: not }
|
|
9
|
+
- { pattern: excess of loss, group: not }
|
|
10
|
+
- { pattern: tax deductible, group: not }
|
|
11
|
+
- { pattern: tax-deductible, group: not }
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Words that check a volume-tier price list's discount against its list price and tier price (discount-rate-mismatch).
|
|
2
|
+
# group: rate heads the discount column, price the column of the price after the discount, list the list price (a sentence
|
|
3
|
+
# outside the table, "The list price is $0.080", a row "| List price | $0.080 |", or a column). A heading holding a group:
|
|
4
|
+
# not word is not a discount column even with a rate word in it (tax, markup). group: per is a mark the word right after
|
|
5
|
+
# which is the unit of a price ("per envelope", "/box"); a list price and a tier price in different units are not compared.
|
|
6
|
+
# A Latin word stands as a whole word.
|
|
7
|
+
id: discount-rate-label
|
|
8
|
+
language: en
|
|
9
|
+
entries:
|
|
10
|
+
- { pattern: discount, group: rate }
|
|
11
|
+
- { pattern: discount rate, group: rate }
|
|
12
|
+
- { pattern: unit price, group: price }
|
|
13
|
+
- { pattern: price per, group: price }
|
|
14
|
+
- { pattern: price each, group: price }
|
|
15
|
+
- { pattern: tier price, group: price }
|
|
16
|
+
- { pattern: discounted price, group: price }
|
|
17
|
+
- { pattern: price after discount, group: price }
|
|
18
|
+
- { pattern: sale price, group: price }
|
|
19
|
+
- { pattern: net price, group: price }
|
|
20
|
+
- { pattern: your price, group: price }
|
|
21
|
+
- { pattern: list price, group: list }
|
|
22
|
+
- { pattern: regular price, group: list }
|
|
23
|
+
- { pattern: standard price, group: list }
|
|
24
|
+
- { pattern: retail price, group: list }
|
|
25
|
+
- { pattern: MSRP, group: list }
|
|
26
|
+
- { pattern: tax, group: not }
|
|
27
|
+
- { pattern: VAT, group: not }
|
|
28
|
+
- { pattern: GST, group: not }
|
|
29
|
+
- { pattern: markup, group: not }
|
|
30
|
+
- { pattern: mark-up, group: not }
|
|
31
|
+
- { pattern: margin, group: not }
|
|
32
|
+
- { pattern: surcharge, group: not }
|
|
33
|
+
- { pattern: commission, group: not }
|
|
34
|
+
- { pattern: per, group: per }
|
|
35
|
+
- { pattern: /, group: per }
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# The marks that end a sentence. A letter's header lines (the date, the address, the sender, a title) end with none of
|
|
2
|
+
# them, and the greeting is looked for past them.
|
|
3
|
+
id: email-sentence-end
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: "."
|
|
7
|
+
- pattern: "!"
|
|
8
|
+
- pattern: "?"
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Words that mark an invoice. With one anywhere in the document, deadline-after-event does not read a payment deadline
|
|
2
|
+
# even under a ticket title: an invoice is paid after the service.
|
|
3
|
+
# Not "bill": a name (Bill) or "split the bill" would turn the reading off for a real ticket order.
|
|
4
|
+
id: event-bill-word
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: invoice
|
|
8
|
+
- pattern: invoices
|
|
9
|
+
- pattern: invoiced
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Words that mark a date something falls due. Only in a trip notice (event-trip-word), and only beside a payment word
|
|
2
|
+
# (event-payment-word), deadline-after-event reads a sentence holding one as a payment deadline ("Second payment: $60,
|
|
3
|
+
# due …"). Not a deadline word for registrations or ticket orders: "due to open" and "due to be processed" are not deadlines.
|
|
4
|
+
id: event-due-word
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: due
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Words that name the date a trip must be paid by on their own. In a trip notice (event-trip-word), a date after the trip's
|
|
2
|
+
# start in a sentence holding one, or in a table column headed by one, is reported by deadline-after-event. Not "due by"
|
|
3
|
+
# or "due date" alone: a permission slip has a due date too. Those count with a payment word (event-payment-word) beside
|
|
4
|
+
# them ("2nd payment" in a "Due by" column). An invoice's due date is not read: an invoice is paid after the service.
|
|
5
|
+
id: event-payment-deadline-word
|
|
6
|
+
language: en
|
|
7
|
+
entries:
|
|
8
|
+
- pattern: payment due
|
|
9
|
+
- pattern: payments due
|
|
10
|
+
- pattern: pay by
|
|
11
|
+
- pattern: payment deadline
|
|
12
|
+
- pattern: payment date
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Words that mark the start of a trip. In a trip notice (event-trip-word), the first dated day on a line starting with
|
|
2
|
+
# one ("Departure: Wednesday 14 October 2026", "Dates: October 14–16, 2026") is read by deadline-after-event as the
|
|
3
|
+
# event's date, without a time of day. "Dates" outside a trip notice (a billing period) is not read.
|
|
4
|
+
id: event-start-label
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: Departure
|
|
8
|
+
- pattern: Departure date
|
|
9
|
+
- pattern: Dates
|
|
10
|
+
- pattern: Trip dates
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Words that mark a ticket order. With one in the first heading (the title), deadline-after-event also reads a payment
|
|
2
|
+
# deadline (event-payment-word): a seat is not held unless paid for before the show. Not with a bill word (event-bill-word).
|
|
3
|
+
# Not "seat": a seat map or a seat allocation is not an order.
|
|
4
|
+
id: event-ticket-word
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: ticket
|
|
8
|
+
- pattern: tickets
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Words that mark a notice of a trip. With one in the first heading (the title) and no bill word (event-bill-word) in the
|
|
2
|
+
# document, deadline-after-event reads the trip's start (event-start-label) as the event and a payment deadline
|
|
3
|
+
# (event-payment-deadline-word) as a deadline: a trip is paid for before it leaves.
|
|
4
|
+
id: event-trip-word
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: trip
|
|
8
|
+
- pattern: trips
|
|
9
|
+
- pattern: camp
|
|
10
|
+
- pattern: residential
|
|
11
|
+
- pattern: excursion
|
|
12
|
+
- pattern: outing
|
|
13
|
+
- pattern: tour
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Marks of an upper age limit (fact-conflict). An age with one of these on this side is an upper end ("up to the age of
|
|
2
|
+
# 70"), compared with the upper end of a range ("aged 20 to 70").
|
|
3
|
+
id: fact-age-limit
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- { pattern: up to, position: before }
|
|
7
|
+
- { pattern: until, position: before }
|
|
8
|
+
- { pattern: or under, position: after }
|
|
9
|
+
- { pattern: or younger, position: after }
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Marks of an age (fact-conflict). A number with one of these on this side is read as an age, and the value runs over
|
|
2
|
+
# the mark ("aged 40", "the age of 70", "30 years old").
|
|
3
|
+
id: fact-age-mark
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- { pattern: age, position: before }
|
|
7
|
+
- { pattern: aged, position: before }
|
|
8
|
+
- { pattern: ages, position: before }
|
|
9
|
+
- { pattern: age of, position: before }
|
|
10
|
+
- { pattern: the age of, position: before }
|
|
11
|
+
- { pattern: years old, position: after }
|
|
12
|
+
- { pattern: year old, position: after }
|
|
13
|
+
- { pattern: years of age, position: after }
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Words that put a condition on a sentence's amount (fact-conflict). A sentence whose subject is a table row's heading
|
|
2
|
+
# and that holds one ("Hospital cash is paid at $150 a day if you are in intensive care") gives the amount for that case,
|
|
3
|
+
# which does not contradict the row, so it is not compared.
|
|
4
|
+
id: fact-amount-condition
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: if
|
|
8
|
+
- pattern: when
|
|
9
|
+
- pattern: while
|
|
10
|
+
- pattern: unless
|
|
11
|
+
- pattern: except
|
|
12
|
+
- pattern: only
|
|
13
|
+
- pattern: other than
|
|
14
|
+
- pattern: excluding
|
|
15
|
+
- pattern: provided
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Table column headings that count things (fact-conflict). The group is what they count. A count a sentence states as the
|
|
2
|
+
# whole ("4 tickets in total") is compared with this column's whole: the total row, or the sum of the rows when the total
|
|
3
|
+
# row gives none. The counting words are fact-count-counter's entries of the same group.
|
|
4
|
+
id: fact-count-column
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- { pattern: tickets, group: tickets }
|
|
8
|
+
- { pattern: number of tickets, group: tickets }
|
|
9
|
+
- { pattern: attendees, group: people }
|
|
10
|
+
- { pattern: number of attendees, group: people }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Words right after a number that say what it counts (fact-conflict). A sentence's count is compared only with a
|
|
2
|
+
# fact-count-column column of the same group.
|
|
3
|
+
id: fact-count-counter
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- { pattern: tickets, group: tickets }
|
|
7
|
+
- { pattern: ticket, group: tickets }
|
|
8
|
+
- { pattern: attendees, group: people }
|
|
9
|
+
- { pattern: attendee, group: people }
|
|
10
|
+
- { pattern: people, group: people }
|
|
11
|
+
- { pattern: persons, group: people }
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Words that make a count not the table's whole even with a whole mark (fact-conflict). before: anywhere earlier in the
|
|
2
|
+
# sentence ("up to a total of 4 tickets"), or at the start of a table row's name ("of which students"). after: right after
|
|
3
|
+
# the counting word ("4 tickets in total or fewer").
|
|
4
|
+
id: fact-count-not-whole
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- { pattern: of which, position: before }
|
|
8
|
+
- { pattern: each, position: before }
|
|
9
|
+
- { pattern: per, position: before }
|
|
10
|
+
- { pattern: up to, position: before }
|
|
11
|
+
- { pattern: at most, position: before }
|
|
12
|
+
- { pattern: no more than, position: before }
|
|
13
|
+
- { pattern: maximum, position: before }
|
|
14
|
+
- { pattern: limit, position: before }
|
|
15
|
+
- { pattern: per, position: after }
|
|
16
|
+
- { pattern: each, position: after }
|
|
17
|
+
- { pattern: or more, position: after }
|
|
18
|
+
- { pattern: or fewer, position: after }
|
|
19
|
+
- { pattern: or less, position: after }
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Words in a table row's name for a row that counts the same things again (fact-conflict). "Ticketing fee | 3 tickets"
|
|
2
|
+
# restates the tickets ordered, so it is not added when the rows are summed into the whole.
|
|
3
|
+
id: fact-count-restating
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: fee
|
|
7
|
+
- pattern: charge
|
|
8
|
+
- pattern: discount
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Groups whose table rows count separate things (fact-conflict). Only for these is the sum of the rows taken as the
|
|
2
|
+
# table's whole when the total row gives no count. A ticket sits on one row (one seat type). People are not here: the
|
|
3
|
+
# same guest is on the admission row and on the dinner row, so the sum would be too large.
|
|
4
|
+
id: fact-count-separate-rows
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: tickets
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Words that say a count is the whole count (fact-conflict). before: right before the number ("a total of 4 tickets");
|
|
2
|
+
# after: right after the counting word ("4 tickets in total"). A count without one ("2 of the tickets") may be a part and
|
|
3
|
+
# is not read.
|
|
4
|
+
id: fact-count-whole
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- { pattern: a total of, position: before }
|
|
8
|
+
- { pattern: in total, position: after }
|
|
9
|
+
- { pattern: altogether, position: after }
|
|
10
|
+
- { pattern: all told, position: after }
|
|
11
|
+
- { pattern: in all, position: after }
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Names of an item that has one value for the whole document (fact-conflict). A table cell's value is compared with a
|
|
2
|
+
# sentence's value in another section. Names with the same group are the same item. A qualified name ("part-time
|
|
3
|
+
# probation period") is a different name and is not compared.
|
|
4
|
+
id: fact-document-term
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- { pattern: probation, group: trial-period }
|
|
8
|
+
- { pattern: probation period, group: trial-period }
|
|
9
|
+
- { pattern: probationary period, group: trial-period }
|
|
10
|
+
- { pattern: trial period, group: trial-period }
|
|
11
|
+
# The age up to which one can join. A range in a table ("aged 20 to 70") and a limit in a sentence ("up to the age of
|
|
12
|
+
# 70") are compared by their upper ends.
|
|
13
|
+
- { pattern: age at entry, group: age-limit }
|
|
14
|
+
- { pattern: entry age, group: age-limit }
|
|
15
|
+
- { pattern: eligible age, group: age-limit }
|
|
16
|
+
- { pattern: age limit, group: age-limit }
|
|
17
|
+
- { pattern: maximum age, group: age-limit }
|
|
18
|
+
- { pattern: maximum entry age, group: age-limit }
|
|
19
|
+
- { pattern: maximum age at entry, group: age-limit }
|
|
20
|
+
# The length of a warranty ("the warranty runs for 12 months" names it as the warranty). An extended warranty is
|
|
21
|
+
# another name.
|
|
22
|
+
- { pattern: warranty period, group: warranty-period }
|
|
23
|
+
- { pattern: warranty term, group: warranty-period }
|
|
24
|
+
- { pattern: warranty, group: warranty-period }
|
|
25
|
+
# The number of dependants a tax calculation uses: one value per person in a withholding statement. A count by kind
|
|
26
|
+
# ("Children under 17") is another name.
|
|
27
|
+
- { pattern: number of dependants, group: dependants-count }
|
|
28
|
+
- { pattern: number of dependents, group: dependants-count }
|
|
29
|
+
# The number of cartons in one shipment: one value in a packing list. A count per item carries the item's name and is
|
|
30
|
+
# another name.
|
|
31
|
+
- { pattern: number of cartons, group: carton-count }
|
|
32
|
+
- { pattern: total cartons, group: carton-count }
|
|
33
|
+
- { pattern: number of packages, group: carton-count }
|
|
34
|
+
# The length of one hospital stay: one value in an itemized bill.
|
|
35
|
+
- { pattern: days in hospital, group: days-in-hospital }
|
|
36
|
+
- { pattern: length of stay, group: days-in-hospital }
|
|
37
|
+
# The size of one let property: one value in a tenancy statement. Areas that differ by room give the table two values
|
|
38
|
+
# and are not compared. "Area" alone is not here: a site area and a floor area would become one item.
|
|
39
|
+
- { pattern: floor area, group: floor-area }
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Ways of putting a qualifier on a name (fact-conflict, summary-fact-mismatch); * is the qualifier. A table's "Waiting
|
|
2
|
+
# period (cancellation cover)" and a sentence's "The waiting period for cancellation cover" are one item: the same name
|
|
3
|
+
# with the same qualifier. "The cancellation cover waiting period" is that item too when the document also writes one of
|
|
4
|
+
# these forms. Different qualifiers, and a name with no qualifier, stay different items. Tried from the top. "of" is not
|
|
5
|
+
# here: "terms of service" is not "service terms", and "number of errors" names what is counted, not a condition.
|
|
6
|
+
id: fact-label-qualifier
|
|
7
|
+
language: en
|
|
8
|
+
entries:
|
|
9
|
+
- pattern: "(*)"
|
|
10
|
+
- pattern: "for *"
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Words naming the document's own period, allowed after "<subject> used 14.2 GB of data" (fact-conflict): "You used 14.2 GB
|
|
2
|
+
# of data this month" is the bill's data used. "last month" names another period and is not here, so the value is not read.
|
|
3
|
+
id: fact-quantity-period
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: this month
|
|
7
|
+
- pattern: this billing period
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Subjects of a fact-quantity-verb that are the reader or the writer of the document (fact-conflict): "You used 14.2 GB of
|
|
2
|
+
# data" is the document's own "Data used". Any other subject ("The primary line used 16.3 GB of data") qualifies the
|
|
3
|
+
# item, and is compared only with that row of a table.
|
|
4
|
+
id: fact-quantity-self
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: you
|
|
8
|
+
- pattern: we
|
|
9
|
+
- pattern: I
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Verbs that give an amount of something as "<subject> used 14.2 GB of data" (fact-conflict). The noun after "of" and the
|
|
2
|
+
# verb name the item, "data used", as a table row "Data used" does. Only verbs whose past participle is the same word, so
|
|
3
|
+
# "noun verb" is a name; only before a quantity with a unit, so "You used $5 of credit" is not read.
|
|
4
|
+
id: fact-quantity-verb
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: used
|
|
8
|
+
- pattern: consumed
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# What a rate is taken of (fact-conflict): "4.0% of the purchase price". A rate followed by one of these is still read; a rate of
|
|
2
|
+
# anything else ("3.6% of applicants") is part of another measure and is not. The group is the base: two rates that both state
|
|
3
|
+
# one and differ (of the price, of the balance) are not compared.
|
|
4
|
+
id: fact-rate-base
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- { pattern: of the purchase price, group: price }
|
|
8
|
+
- { pattern: of the cash price, group: price }
|
|
9
|
+
- { pattern: of the price, group: price }
|
|
10
|
+
- { pattern: of the amount financed, group: principal }
|
|
11
|
+
- { pattern: of the loan amount, group: principal }
|
|
12
|
+
- { pattern: of the principal, group: principal }
|
|
13
|
+
- { pattern: of the amount borrowed, group: principal }
|
|
14
|
+
- { pattern: of the outstanding balance, group: balance }
|
|
15
|
+
- { pattern: of the balance, group: balance }
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# What may follow a rate once its value is said (fact-conflict): "The fee rate is 4.0% and does not change." The rate ends
|
|
2
|
+
# there. Only these: "4% and up", "4% and 5%", "3.6% and rising" say something else about the value and are not read.
|
|
3
|
+
id: fact-rate-joiner
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: and does not
|
|
7
|
+
- pattern: and doesn't
|
|
8
|
+
- pattern: and will not
|
|
9
|
+
- pattern: and won't
|
|
10
|
+
- pattern: and cannot
|
|
11
|
+
- pattern: and can't
|
|
12
|
+
- pattern: and never
|
|
13
|
+
- pattern: and stays
|
|
14
|
+
- pattern: and remains
|
|
15
|
+
- pattern: and is fixed
|
|
16
|
+
- pattern: and applies
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# The kind of a rate (fact-conflict): "4.8% (fixed)", "3.9% variable". It does not change the value, so a rate followed by it is
|
|
2
|
+
# still read. The group is the kind: two rates that both state one and differ (fixed and variable) are not compared.
|
|
3
|
+
id: fact-rate-kind
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- { pattern: fixed, group: fixed }
|
|
7
|
+
- { pattern: fixed rate, group: fixed }
|
|
8
|
+
- { pattern: variable, group: variable }
|
|
9
|
+
- { pattern: variable rate, group: variable }
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# The period of a rate (fact-conflict): "4.8% per year", "4.8% APR". It does not change the value, so a rate followed by it
|
|
2
|
+
# is still read. The group is the period: two rates that both state a period and differ (0.5% a month, 6% a year) are not compared.
|
|
3
|
+
id: fact-rate-period
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- { pattern: per year, group: year }
|
|
7
|
+
- { pattern: a year, group: year }
|
|
8
|
+
- { pattern: per annum, group: year }
|
|
9
|
+
- { pattern: p.a., group: year }
|
|
10
|
+
- { pattern: annually, group: year }
|
|
11
|
+
- { pattern: APR, group: year }
|
|
12
|
+
- { pattern: per month, group: month }
|
|
13
|
+
- { pattern: a month, group: month }
|
|
14
|
+
- { pattern: monthly, group: month }
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Words that start a clause after a gauge's reading (fact-conflict): "The odometer read 45,210 km when the car came in."
|
|
2
|
+
# The clause says when the reading was taken, so the reading still ends at its unit. Used only after a fact-reading-verb.
|
|
3
|
+
# Not before / after: "40 L before refuelling" and "10 L after refuelling" are two readings, not one.
|
|
4
|
+
id: fact-reading-clause
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: when
|
|
8
|
+
- pattern: while
|
|
9
|
+
- pattern: as
|
|
10
|
+
- pattern: because
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Instruments whose reading a fact-reading-verb gives (fact-conflict): "The odometer read 45,210 km." The last word of the
|
|
2
|
+
# name must be one of these, so "The chart showed 5 kg" and "The report shows 40 L" are not read.
|
|
3
|
+
id: fact-reading-gauge
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: odometer
|
|
7
|
+
- pattern: speedometer
|
|
8
|
+
- pattern: tachometer
|
|
9
|
+
- pattern: meter
|
|
10
|
+
- pattern: gauge
|
|
11
|
+
- pattern: scale
|
|
12
|
+
- pattern: thermometer
|
|
13
|
+
- pattern: barometer
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Verbs that give a gauge's reading (fact-conflict): "The odometer read 45,210 km." Read only before a quantity with a
|
|
2
|
+
# measure unit (km, kg, kWh), so "He read 3 chapters" and "The survey showed 40%" are not values.
|
|
3
|
+
id: fact-reading-verb
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: read
|
|
7
|
+
- pattern: reads
|
|
8
|
+
- pattern: showed
|
|
9
|
+
- pattern: shows
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Words naming the product the document is about, attached to a one-value item (fact-document-term, fact-conflict):
|
|
2
|
+
# "the warranty period for the product" is the warranty period. "The warranty period for batteries" names another
|
|
3
|
+
# item and is not here.
|
|
4
|
+
id: fact-term-self
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: for the product
|
|
8
|
+
position: after
|
|
9
|
+
- pattern: for this product
|
|
10
|
+
position: after
|
|
11
|
+
- pattern: of the product
|
|
12
|
+
position: after
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Verbs that state the length of a one-value item (fact-document-term) in a sentence: "The warranty runs for 12 months".
|
|
2
|
+
# Read only when the subject is a fact-document-term name (fact-conflict).
|
|
3
|
+
id: fact-term-verb
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: runs for
|
|
7
|
+
- pattern: lasts
|
|
8
|
+
- pattern: lasts for
|
|
9
|
+
- pattern: is valid for
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# The words of formula-amount-mismatch. rate-name stands between a rate and the amount it is of ("5% of the sale price");
|
|
2
|
+
# name-rate between the amount and its rate ("sale price × 5%"). plus comes before a fixed amount added to the rate's part
|
|
3
|
+
# ("plus $500"). not-included says a tax is left out although a word of inclusion stands in it ("tax not included").
|
|
4
|
+
id: formula-amount-word
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- { pattern: of the, group: rate-name }
|
|
8
|
+
- { pattern: of, group: rate-name }
|
|
9
|
+
- { pattern: ×, group: name-rate }
|
|
10
|
+
- { pattern: plus, group: plus }
|
|
11
|
+
- { pattern: "+", group: plus }
|
|
12
|
+
- { pattern: not included, group: not-included }
|
|
13
|
+
- { pattern: not incl., group: not-included }
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# The label of a line that writes a grade-point average (gpa-mismatch). Only a label whose words outside brackets are one
|
|
2
|
+
# group: gpa entry as a whole is read as the written GPA ("GPA: 3.00", "Grade point average (GPA): 3.25"). group: part
|
|
3
|
+
# words say the average is of one period: a document with any label holding a GPA word and one of these ("Term GPA") is
|
|
4
|
+
# not compared, since its course table may not be the whole record.
|
|
5
|
+
id: gpa-label
|
|
6
|
+
language: en
|
|
7
|
+
entries:
|
|
8
|
+
- { pattern: GPA, group: gpa }
|
|
9
|
+
- { pattern: cumulative GPA, group: gpa }
|
|
10
|
+
- { pattern: overall GPA, group: gpa }
|
|
11
|
+
- { pattern: grade point average, group: gpa }
|
|
12
|
+
- { pattern: grade-point average, group: gpa }
|
|
13
|
+
- { pattern: cumulative grade point average, group: gpa }
|
|
14
|
+
- { pattern: overall grade point average, group: gpa }
|
|
15
|
+
- { pattern: term, group: part }
|
|
16
|
+
- { pattern: semester, group: part }
|
|
17
|
+
- { pattern: quarter, group: part }
|
|
18
|
+
- { pattern: year, group: part }
|
|
19
|
+
- { pattern: annual, group: part }
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Grade words and the grade points they stand for (gpa-mismatch). group names the scale, weight is the points. A GPA is
|
|
2
|
+
# computed again from this list only when every scale that holds all of a document's grades gives each the same points
|
|
3
|
+
# (A is 3 on the S scale and 4 on the A-to-F scale, so a document with neither S nor D is not compared). A grading key
|
|
4
|
+
# written in the document ("A (4), B (3)") is used first. A+ is left out: schools give it 4.0 or 4.3. group: none is a
|
|
5
|
+
# grade with no points (Pass, W, In progress), left out of both sums.
|
|
6
|
+
id: grade-point
|
|
7
|
+
language: en
|
|
8
|
+
entries:
|
|
9
|
+
- { pattern: A, group: a-f, weight: 4 }
|
|
10
|
+
- { pattern: B, group: a-f, weight: 3 }
|
|
11
|
+
- { pattern: C, group: a-f, weight: 2 }
|
|
12
|
+
- { pattern: D, group: a-f, weight: 1 }
|
|
13
|
+
- { pattern: F, group: a-f, weight: 0 }
|
|
14
|
+
- { pattern: S, group: s-d, weight: 4 }
|
|
15
|
+
- { pattern: A, group: s-d, weight: 3 }
|
|
16
|
+
- { pattern: B, group: s-d, weight: 2 }
|
|
17
|
+
- { pattern: C, group: s-d, weight: 1 }
|
|
18
|
+
- { pattern: D, group: s-d, weight: 0 }
|
|
19
|
+
- { pattern: F, group: s-d, weight: 0 }
|
|
20
|
+
- { pattern: A, group: plus-minus, weight: 4 }
|
|
21
|
+
- { pattern: A-, group: plus-minus, weight: 3.7 }
|
|
22
|
+
- { pattern: B+, group: plus-minus, weight: 3.3 }
|
|
23
|
+
- { pattern: B, group: plus-minus, weight: 3 }
|
|
24
|
+
- { pattern: B-, group: plus-minus, weight: 2.7 }
|
|
25
|
+
- { pattern: C+, group: plus-minus, weight: 2.3 }
|
|
26
|
+
- { pattern: C, group: plus-minus, weight: 2 }
|
|
27
|
+
- { pattern: C-, group: plus-minus, weight: 1.7 }
|
|
28
|
+
- { pattern: D+, group: plus-minus, weight: 1.3 }
|
|
29
|
+
- { pattern: D, group: plus-minus, weight: 1 }
|
|
30
|
+
- { pattern: D-, group: plus-minus, weight: 0.7 }
|
|
31
|
+
- { pattern: F, group: plus-minus, weight: 0 }
|
|
32
|
+
- { pattern: P, group: none }
|
|
33
|
+
- { pattern: Pass, group: none }
|
|
34
|
+
- { pattern: CR, group: none }
|
|
35
|
+
- { pattern: W, group: none }
|
|
36
|
+
- { pattern: I, group: none }
|
|
37
|
+
- { pattern: IP, group: none }
|
|
38
|
+
- { pattern: In progress, group: none }
|
|
39
|
+
- { pattern: AU, group: none }
|
|
40
|
+
- { pattern: NC, group: none }
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Words that carry a number in a heading (Chapter 2, Step 3). Read by heading-numbering-mix to tell numbering styles
|
|
2
2
|
# apart. position is the side of the number the word stands on; English puts them all before.
|
|
3
|
+
# A word whose number names a period or an event (Week 1, Day 2, Phase 3, Session 4, Round 5) is not listed: "Week 1"
|
|
4
|
+
# and "Week 2" beside "Pay summary" are names, and the summary is not a week that lost its number.
|
|
3
5
|
id: heading-number-label
|
|
4
6
|
language: en
|
|
5
7
|
entries:
|
|
@@ -13,8 +15,6 @@ entries:
|
|
|
13
15
|
position: before
|
|
14
16
|
- pattern: Appendix
|
|
15
17
|
position: before
|
|
16
|
-
- pattern: Phase
|
|
17
|
-
position: before
|
|
18
18
|
- pattern: Lesson
|
|
19
19
|
position: before
|
|
20
20
|
- pattern: Module
|
|
@@ -23,7 +23,3 @@ entries:
|
|
|
23
23
|
position: before
|
|
24
24
|
- pattern: Stage
|
|
25
25
|
position: before
|
|
26
|
-
- pattern: Day
|
|
27
|
-
position: before
|
|
28
|
-
- pattern: Week
|
|
29
|
-
position: before
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# The labels of a loan or installment plan (installment-total-mismatch). count is the number of payments, each the amount
|
|
2
|
+
# of a regular payment, first and last a first or final payment of another amount, total the total of payments. The
|
|
3
|
+
# first payment plus each regular payment times the rest plus the final payment is compared with the total.
|
|
4
|
+
id: installment-label
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- { pattern: Number of payments, group: count }
|
|
8
|
+
- { pattern: Number of installments, group: count }
|
|
9
|
+
- { pattern: Number of instalments, group: count }
|
|
10
|
+
- { pattern: No. of payments, group: count }
|
|
11
|
+
- { pattern: Monthly payment, group: each }
|
|
12
|
+
- { pattern: Monthly payment amount, group: each }
|
|
13
|
+
- { pattern: Monthly repayment, group: each }
|
|
14
|
+
- { pattern: Monthly installment, group: each }
|
|
15
|
+
- { pattern: Monthly instalment, group: each }
|
|
16
|
+
- { pattern: Amount of each payment, group: each }
|
|
17
|
+
- { pattern: Each payment, group: each }
|
|
18
|
+
- { pattern: Regular payment, group: each }
|
|
19
|
+
- { pattern: Installment amount, group: each }
|
|
20
|
+
- { pattern: First payment, group: first }
|
|
21
|
+
- { pattern: First payment amount, group: first }
|
|
22
|
+
- { pattern: First installment, group: first }
|
|
23
|
+
- { pattern: Initial payment, group: first }
|
|
24
|
+
- { pattern: Final payment, group: last }
|
|
25
|
+
- { pattern: Final payment amount, group: last }
|
|
26
|
+
- { pattern: Final installment, group: last }
|
|
27
|
+
- { pattern: Last payment, group: last }
|
|
28
|
+
- { pattern: Total of payments, group: total }
|
|
29
|
+
- { pattern: Total payments, group: total }
|
|
30
|
+
- { pattern: Total amount of payments, group: total }
|
|
31
|
+
- { pattern: Total amount payable, group: total }
|
|
32
|
+
- { pattern: Total amount repayable, group: total }
|
|
33
|
+
- { pattern: Total repayable, group: total }
|
|
34
|
+
# numbered labels a table row or a list item of a series of instalments; {n} is its number (1st payment, Instalment 2,
|
|
35
|
+
# Second payment). final is the last one after the others, deposit a deposit listed as one of them. They are added up
|
|
36
|
+
# and compared with the fee stated in the same section ("The trip costs £300 per student").
|
|
37
|
+
- { pattern: "{n} payment", group: numbered }
|
|
38
|
+
- { pattern: "{n} instalment", group: numbered }
|
|
39
|
+
- { pattern: "{n} installment", group: numbered }
|
|
40
|
+
- { pattern: "Payment {n}", group: numbered }
|
|
41
|
+
- { pattern: "Instalment {n}", group: numbered }
|
|
42
|
+
- { pattern: "Installment {n}", group: numbered }
|
|
43
|
+
- { pattern: Final payment, group: final }
|
|
44
|
+
- { pattern: Final instalment, group: final }
|
|
45
|
+
- { pattern: Final installment, group: final }
|
|
46
|
+
- { pattern: Last payment, group: final }
|
|
47
|
+
- { pattern: Deposit, group: deposit }
|