@chaffjs/lang-en 0.25.0 → 0.27.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/definitions.d.ts.map +1 -1
- package/dist/definitions.js +15 -5
- package/dist/definitions.js.map +1 -1
- package/dist/emphasis.d.ts +14 -1
- package/dist/emphasis.d.ts.map +1 -1
- package/dist/emphasis.js +41 -1
- package/dist/emphasis.js.map +1 -1
- package/dist/example-name.d.ts +7 -0
- package/dist/example-name.d.ts.map +1 -0
- package/dist/example-name.js +33 -0
- package/dist/example-name.js.map +1 -0
- package/dist/pos.d.ts.map +1 -1
- package/dist/pos.js +13 -4
- package/dist/pos.js.map +1 -1
- package/dist/structure.d.ts.map +1 -1
- package/dist/structure.js +19 -1
- package/dist/structure.js.map +1 -1
- package/lexicons/action-due-label.yaml +8 -0
- package/lexicons/action-section-heading.yaml +9 -0
- package/lexicons/amount-bound-label.yaml +14 -0
- package/lexicons/amount-change-word.yaml +33 -0
- package/lexicons/amount-range-word.yaml +6 -0
- package/lexicons/amount-short-scale.yaml +9 -0
- package/lexicons/article-sound.yaml +3 -0
- package/lexicons/clock-range-joiner.yaml +12 -0
- package/lexicons/code-global.yaml +27 -0
- package/lexicons/common-acronym.yaml +19 -0
- package/lexicons/company-form.yaml +14 -11
- package/lexicons/count-counter.yaml +5 -0
- package/lexicons/count-hedge.yaml +32 -1
- package/lexicons/count-member.yaml +25 -0
- package/lexicons/date-change-word.yaml +5 -0
- package/lexicons/day-shift-mark.yaml +12 -0
- package/lexicons/deadline-passed-word.yaml +10 -0
- package/lexicons/default-header.yaml +7 -0
- package/lexicons/default-phrase.yaml +8 -0
- package/lexicons/deprecation-negated.yaml +10 -0
- package/lexicons/deprecation-word.yaml +8 -0
- package/lexicons/doubled-nado.yaml +15 -0
- package/lexicons/due-date-label.yaml +10 -0
- package/lexicons/duty-marker.yaml +9 -0
- package/lexicons/duty-negation.yaml +7 -0
- package/lexicons/duty-terms-elsewhere.yaml +10 -0
- package/lexicons/earlier-section-word.yaml +8 -0
- package/lexicons/extra-word.yaml +5 -0
- package/lexicons/fact-change-from.yaml +6 -0
- package/lexicons/fact-change-not.yaml +13 -0
- package/lexicons/fact-change-to.yaml +6 -0
- package/lexicons/fact-condition-from.yaml +10 -0
- package/lexicons/fact-condition-to.yaml +9 -0
- package/lexicons/fact-event.yaml +14 -0
- package/lexicons/fact-label-lead.yaml +9 -0
- package/lexicons/fact-name-joiner.yaml +6 -0
- package/lexicons/fact-separator.yaml +5 -0
- package/lexicons/install-command.yaml +20 -0
- package/lexicons/issue-date-label.yaml +9 -0
- package/lexicons/item-done-word.yaml +9 -0
- package/lexicons/leg-column.yaml +15 -0
- package/lexicons/leg-mark.yaml +25 -0
- package/lexicons/line-amount-column.yaml +8 -0
- package/lexicons/local-time-mark.yaml +7 -0
- package/lexicons/meeting-date-label.yaml +8 -0
- package/lexicons/minutes-title-word.yaml +7 -0
- package/lexicons/nado-closed-list.yaml +22 -0
- package/lexicons/name-joiner.yaml +9 -0
- package/lexicons/name-label.yaml +10 -0
- package/lexicons/name-quote.yaml +7 -0
- package/lexicons/name-stem-suffix.yaml +12 -0
- package/lexicons/name-title-joiner.yaml +9 -0
- package/lexicons/number-word.yaml +45 -0
- package/lexicons/ordinal-frame.yaml +15 -0
- package/lexicons/parameter-header.yaml +11 -0
- package/lexicons/partial-listing-marker.yaml +15 -0
- package/lexicons/per-unit-mark.yaml +25 -0
- package/lexicons/period-aside.yaml +46 -0
- package/lexicons/period-deadline.yaml +19 -0
- package/lexicons/period-label.yaml +19 -0
- package/lexicons/period-overview-heading.yaml +10 -0
- package/lexicons/period-term-label.yaml +12 -0
- package/lexicons/person-not-after.yaml +42 -1
- package/lexicons/phone-label.yaml +14 -0
- package/lexicons/place-name-joiner.yaml +10 -0
- package/lexicons/place-word.yaml +29 -0
- package/lexicons/prerequisite-opener.yaml +10 -0
- package/lexicons/proper-name-word.yaml +55 -0
- package/lexicons/quantity-column.yaml +9 -0
- package/lexicons/rate-unit.yaml +18 -0
- package/lexicons/requirement-heading.yaml +22 -0
- package/lexicons/requirement-item-ending.yaml +6 -0
- package/lexicons/requirement-length-unit.yaml +10 -0
- package/lexicons/requirement-length-word.yaml +14 -0
- package/lexicons/return-clause.yaml +16 -0
- package/lexicons/return-item.yaml +7 -0
- package/lexicons/return-label.yaml +10 -0
- package/lexicons/return-type-word.yaml +16 -0
- package/lexicons/return-verb.yaml +6 -0
- package/lexicons/session-count-unit.yaml +10 -0
- package/lexicons/session-total.yaml +11 -0
- package/lexicons/share-column-rate.yaml +15 -0
- package/lexicons/share-column.yaml +12 -0
- package/lexicons/share-rest.yaml +8 -0
- package/lexicons/stated-deadline.yaml +17 -0
- package/lexicons/stay-check-in-column.yaml +10 -0
- package/lexicons/stay-check-out-column.yaml +10 -0
- package/lexicons/stay-night.yaml +6 -0
- package/lexicons/stay-nights-column.yaml +7 -0
- package/lexicons/stay-pair-joiner.yaml +9 -0
- package/lexicons/summed-counter.yaml +17 -0
- package/lexicons/tax-included-word.yaml +8 -0
- package/lexicons/tax-label.yaml +9 -0
- package/lexicons/timed-duty.yaml +14 -0
- package/lexicons/travel-time-word.yaml +38 -0
- package/lexicons/unit-price-column.yaml +9 -0
- package/lexicons/unnamed-speaker.yaml +58 -0
- package/lexicons/us-state-code.yaml +1 -1
- package/lexicons/very-copula.yaml +5 -0
- package/lexicons/warning-action.yaml +20 -0
- package/lexicons/warning-label.yaml +8 -0
- package/lexicons/word-suffix.yaml +3 -0
- package/lexicons/working-hours-break.yaml +10 -0
- package/lexicons/working-hours-total.yaml +11 -0
- package/package.json +1 -1
- package/src/definitions.ts +13 -5
- package/src/emphasis.ts +53 -2
- package/src/example-name.ts +36 -0
- package/src/pos.ts +11 -5
- package/src/structure.ts +24 -1
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
# Forms that end a company name. Right before a short name in brackets, they show the short name is a party's (party-role-name).
|
|
2
|
+
# group: one form written short or long (Inc and Incorporated). position: the form stands after the name. name-variant reports
|
|
3
|
+
# one company written with forms of two groups (Aoba Systems Inc. and Aoba Systems Ltd.).
|
|
2
4
|
id: company-form
|
|
3
5
|
language: en
|
|
4
6
|
entries:
|
|
5
|
-
- pattern: Ltd
|
|
6
|
-
- pattern: Limited
|
|
7
|
-
- pattern: Inc
|
|
8
|
-
- pattern: Incorporated
|
|
9
|
-
- pattern: LLC
|
|
10
|
-
- pattern: LLP
|
|
11
|
-
- pattern: Corporation
|
|
12
|
-
- pattern: Corp
|
|
13
|
-
- pattern: plc
|
|
14
|
-
- pattern: PLC
|
|
15
|
-
- pattern: GmbH
|
|
7
|
+
- { pattern: Ltd, group: ltd, position: after }
|
|
8
|
+
- { pattern: Limited, group: ltd, position: after }
|
|
9
|
+
- { pattern: Inc, group: inc, position: after }
|
|
10
|
+
- { pattern: Incorporated, group: inc, position: after }
|
|
11
|
+
- { pattern: LLC, group: llc, position: after }
|
|
12
|
+
- { pattern: LLP, group: llp, position: after }
|
|
13
|
+
- { pattern: Corporation, group: corp, position: after }
|
|
14
|
+
- { pattern: Corp, group: corp, position: after }
|
|
15
|
+
- { pattern: plc, group: plc, position: after }
|
|
16
|
+
- { pattern: PLC, group: plc, position: after }
|
|
17
|
+
- { pattern: GmbH, group: gmbh, position: after }
|
|
18
|
+
- { pattern: "Co., Ltd", group: co-ltd, position: after }
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# Words right before (before) or right after (after) a number that make it something other than the count of the list
|
|
2
|
-
# below: an estimate (about three, three or more), a rank (the first three), how many to pick (choose two), a range
|
|
2
|
+
# below: an estimate (about three, three or more), a rank (the first three), how many to pick (choose two), a range, or a
|
|
3
|
+
# length of time (the following two weeks:).
|
|
3
4
|
id: count-hedge
|
|
4
5
|
language: en
|
|
5
6
|
entries:
|
|
@@ -65,3 +66,33 @@ entries:
|
|
|
65
66
|
position: after
|
|
66
67
|
- pattern: "–"
|
|
67
68
|
position: after
|
|
69
|
+
- pattern: seconds
|
|
70
|
+
position: after
|
|
71
|
+
- pattern: minutes
|
|
72
|
+
position: after
|
|
73
|
+
- pattern: hours
|
|
74
|
+
position: after
|
|
75
|
+
- pattern: days
|
|
76
|
+
position: after
|
|
77
|
+
- pattern: weeks
|
|
78
|
+
position: after
|
|
79
|
+
- pattern: months
|
|
80
|
+
position: after
|
|
81
|
+
- pattern: years
|
|
82
|
+
position: after
|
|
83
|
+
- pattern: second
|
|
84
|
+
position: after
|
|
85
|
+
- pattern: minute
|
|
86
|
+
position: after
|
|
87
|
+
- pattern: hour
|
|
88
|
+
position: after
|
|
89
|
+
- pattern: day
|
|
90
|
+
position: after
|
|
91
|
+
- pattern: week
|
|
92
|
+
position: after
|
|
93
|
+
- pattern: month
|
|
94
|
+
position: after
|
|
95
|
+
- pattern: year
|
|
96
|
+
position: after
|
|
97
|
+
- pattern: and others
|
|
98
|
+
position: after
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Words for counting names listed on one line after a count ("Attendees (6): Tanaka, Suzuki, Sato").
|
|
2
|
+
# separator splits the names. joiner joins two names; inside a name it leaves the split unclear, so the line is not
|
|
3
|
+
# counted (a joiner opening the last name, "..., and Ito", only ends the list). open says the list goes on ("etc.",
|
|
4
|
+
# "and others"), so there may be more people than names written, and the line is not counted.
|
|
5
|
+
id: count-member
|
|
6
|
+
language: en
|
|
7
|
+
entries:
|
|
8
|
+
- pattern: ","
|
|
9
|
+
group: separator
|
|
10
|
+
- pattern: and
|
|
11
|
+
group: joiner
|
|
12
|
+
- pattern: "&"
|
|
13
|
+
group: joiner
|
|
14
|
+
- pattern: or
|
|
15
|
+
group: joiner
|
|
16
|
+
- pattern: plus
|
|
17
|
+
group: joiner
|
|
18
|
+
- pattern: etc
|
|
19
|
+
group: open
|
|
20
|
+
- pattern: and others
|
|
21
|
+
group: open
|
|
22
|
+
- pattern: et al
|
|
23
|
+
group: open
|
|
24
|
+
- pattern: among others
|
|
25
|
+
group: open
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# The marks that say a clock time is on the next day (next) or the day before (previous) (time-order,
|
|
2
|
+
# arrival-before-departure). Written after the time ("0:15 (next day)", "arr 9:50 +1"). Matched as written.
|
|
3
|
+
id: day-shift-mark
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- { pattern: "+1", position: after, group: next }
|
|
7
|
+
- { pattern: "next day", position: after, group: next }
|
|
8
|
+
- { pattern: "the next day", position: after, group: next }
|
|
9
|
+
- { pattern: "the following day", position: after, group: next }
|
|
10
|
+
- { pattern: "-1", position: after, group: previous }
|
|
11
|
+
- { pattern: "previous day", position: after, group: previous }
|
|
12
|
+
- { pattern: "the previous day", position: after, group: previous }
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Words saying a deadline has passed. A due line with one reports on a past deadline rather than setting the document's own (due-before-issue).
|
|
2
|
+
id: deadline-passed-word
|
|
3
|
+
language: en
|
|
4
|
+
entries:
|
|
5
|
+
- pattern: overdue
|
|
6
|
+
- pattern: past due
|
|
7
|
+
- pattern: expired
|
|
8
|
+
- pattern: lapsed
|
|
9
|
+
- pattern: unpaid
|
|
10
|
+
- pattern: outstanding
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Words that, right after a name in code marks, state its default, with the value right after them
|
|
2
|
+
# (default-value-mismatch): "`width` defaults to 72", "`width` default is 72".
|
|
3
|
+
id: default-phrase
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: defaults to
|
|
7
|
+
- pattern: default is
|
|
8
|
+
- pattern: default value is
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Phrases that negate a deprecation word (deprecated-option-used): a name "not deprecated" is not marked deprecated.
|
|
2
|
+
id: deprecation-negated
|
|
3
|
+
language: en
|
|
4
|
+
entries:
|
|
5
|
+
- pattern: not deprecated
|
|
6
|
+
- pattern: not yet deprecated
|
|
7
|
+
- pattern: never deprecated
|
|
8
|
+
- pattern: no longer deprecated
|
|
9
|
+
- pattern: not obsolete
|
|
10
|
+
- pattern: undeprecated
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Words that say a name (an option, a parameter, a function) should no longer be used (deprecated-option-used): the code
|
|
2
|
+
# name nearest to one of them in a sentence, or the first cell of a table row that has one, is read as deprecated.
|
|
3
|
+
id: deprecation-word
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: deprecated
|
|
7
|
+
- pattern: obsolete
|
|
8
|
+
- pattern: no longer supported
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# "And so on" said twice: "etc." already holds "and" (et cetera, "and the rest"), so "and etc." says "and" twice. Read by
|
|
2
|
+
# doubled-nado, the rule named after its Japanese twin (など and 等). rewrite keeps one of the two.
|
|
3
|
+
# "Such as ..., etc." and "e.g. ..., etc." are left out: the words between the two cannot be matched as one phrase.
|
|
4
|
+
# The period is part of the entry: "and ETC lanes" (Electronic Toll Collection) is not "and etc."
|
|
5
|
+
id: doubled-nado
|
|
6
|
+
language: en
|
|
7
|
+
entries:
|
|
8
|
+
- pattern: and etc.
|
|
9
|
+
rewrite: etc.
|
|
10
|
+
- pattern: "& etc."
|
|
11
|
+
rewrite: etc.
|
|
12
|
+
- pattern: and et cetera
|
|
13
|
+
rewrite: et cetera
|
|
14
|
+
- pattern: etc. and so on
|
|
15
|
+
rewrite: etc.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Words that mark a payment or validity deadline. A line starting with one and a date earlier than the issue date is reported (due-before-issue).
|
|
2
|
+
id: due-date-label
|
|
3
|
+
language: en
|
|
4
|
+
entries:
|
|
5
|
+
- pattern: Payment due
|
|
6
|
+
- pattern: Due date
|
|
7
|
+
- pattern: Due
|
|
8
|
+
- pattern: Pay by
|
|
9
|
+
- pattern: Valid until
|
|
10
|
+
- pattern: Expires
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Words that, between a duty marker and the act, make the duty one not to act ("will not submit Sensitive Data"): a duty
|
|
2
|
+
# not to act has no time to meet, and obligation-without-deadline leaves it.
|
|
3
|
+
id: duty-negation
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: not
|
|
7
|
+
- pattern: never
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Words that send the reader to other terms for how a duty is done ("pay the Fees according to the terms in the Order
|
|
2
|
+
# Form"): the time is set there, and obligation-without-deadline leaves the duty.
|
|
3
|
+
id: duty-terms-elsewhere
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: according to the terms
|
|
7
|
+
- pattern: in accordance with
|
|
8
|
+
- pattern: as set out in
|
|
9
|
+
- pattern: as set forth in
|
|
10
|
+
- pattern: as specified in
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Words in the heading of a section reviewing an earlier meeting's items. Their deadlines may be before this meeting, and are not compared (due-before-issue).
|
|
2
|
+
id: earlier-section-word
|
|
3
|
+
language: en
|
|
4
|
+
entries:
|
|
5
|
+
- pattern: Previous
|
|
6
|
+
- pattern: Earlier
|
|
7
|
+
- pattern: Last meeting
|
|
8
|
+
- pattern: Carried over
|
package/lexicons/extra-word.yaml
CHANGED
|
@@ -47,7 +47,9 @@ entries:
|
|
|
47
47
|
- pattern: dialog
|
|
48
48
|
- pattern: dogfood
|
|
49
49
|
- pattern: dropdown
|
|
50
|
+
- pattern: ebook
|
|
50
51
|
- pattern: ecommerce
|
|
52
|
+
- pattern: elearning
|
|
51
53
|
- pattern: email
|
|
52
54
|
- pattern: emoji
|
|
53
55
|
- pattern: enum
|
|
@@ -69,6 +71,7 @@ entries:
|
|
|
69
71
|
- pattern: html
|
|
70
72
|
- pattern: http
|
|
71
73
|
- pattern: https
|
|
74
|
+
- pattern: iframe
|
|
72
75
|
- pattern: impl
|
|
73
76
|
- pattern: inbox
|
|
74
77
|
- pattern: incentivise
|
|
@@ -118,6 +121,7 @@ entries:
|
|
|
118
121
|
- pattern: prepend
|
|
119
122
|
- pattern: priori
|
|
120
123
|
- pattern: quadrupole
|
|
124
|
+
- pattern: realtime
|
|
121
125
|
- pattern: refactor
|
|
122
126
|
- pattern: regex
|
|
123
127
|
- pattern: regexp
|
|
@@ -179,6 +183,7 @@ entries:
|
|
|
179
183
|
- pattern: whilst
|
|
180
184
|
- pattern: whitelist
|
|
181
185
|
- pattern: whither
|
|
186
|
+
- pattern: whomever
|
|
182
187
|
- pattern: wiki
|
|
183
188
|
- pattern: workaround
|
|
184
189
|
- pattern: workflow
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# The word that marks the value a change starts from in a summary (summary-fact-mismatch): "lowered the error rate from 2.4%
|
|
2
|
+
# to 1.6%". position is the side of the value the word stands on.
|
|
3
|
+
id: fact-change-from
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- { pattern: from, position: before }
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Words that, between a name and "from", make "from X to Y" a range and not a change (summary-fact-mismatch):
|
|
2
|
+
# "insurance amounts ranging from $10,000 to $25,000".
|
|
3
|
+
id: fact-change-not
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: range
|
|
7
|
+
- pattern: ranges
|
|
8
|
+
- pattern: ranged
|
|
9
|
+
- pattern: ranging
|
|
10
|
+
- pattern: vary
|
|
11
|
+
- pattern: varies
|
|
12
|
+
- pattern: varied
|
|
13
|
+
- pattern: varying
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Words that name the condition a change starts from (summary-fact-mismatch). The body may give one item two values under two
|
|
2
|
+
# conditions ("Without breaks, the error rate was 2.4%; with breaks, it was 1.6%"); a summary's "from 2.4% to 1.6%" is paired
|
|
3
|
+
# with them. group names the pair: a word here pairs only with a word of fact-condition-to in the same group. Calendar
|
|
4
|
+
# years pair by themselves, the earlier one first.
|
|
5
|
+
id: fact-condition-from
|
|
6
|
+
language: en
|
|
7
|
+
entries:
|
|
8
|
+
- { pattern: before, group: time }
|
|
9
|
+
- { pattern: without, group: presence }
|
|
10
|
+
- { pattern: control, group: arm }
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Words that name the condition a change reaches (summary-fact-mismatch). group pairs each with its word in
|
|
2
|
+
# fact-condition-from.
|
|
3
|
+
id: fact-condition-to
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- { pattern: after, group: time }
|
|
7
|
+
- { pattern: with, group: presence }
|
|
8
|
+
- { pattern: treatment, group: arm }
|
|
9
|
+
- { pattern: intervention, group: arm }
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Words that name an event with a date (summary-fact-mismatch). When a sentence of the opening or the summary has one event word
|
|
2
|
+
# and one date, that date is compared with the date of a body sentence that has a word of the same group and one date. group
|
|
3
|
+
# names the words for one event. announce is a group so that a sentence giving both the day of the announcement and the day of
|
|
4
|
+
# the release is not read.
|
|
5
|
+
id: fact-event
|
|
6
|
+
language: en
|
|
7
|
+
entries:
|
|
8
|
+
- { pattern: release, group: release }
|
|
9
|
+
- { pattern: launch, group: release }
|
|
10
|
+
- { pattern: on sale, group: release }
|
|
11
|
+
- { pattern: held, group: held }
|
|
12
|
+
- { pattern: take place, group: held }
|
|
13
|
+
- { pattern: takes place, group: held }
|
|
14
|
+
- { pattern: announce, group: announce }
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Lead-ins before a name that record a decision (fact-conflict, summary-fact-mismatch): in "It was decided that the
|
|
2
|
+
# fee is $28." the name is "the fee". They are dropped before the name is read.
|
|
3
|
+
id: fact-label-lead
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: it was decided that
|
|
7
|
+
- pattern: it was agreed that
|
|
8
|
+
- pattern: we decided that
|
|
9
|
+
- pattern: we agreed that
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Commands that install a package pinned to one version (version-mismatch): {name} is the package, {version} the exact
|
|
2
|
+
# version. Flags and other packages may stand between the command and the pin (npm install --save-dev wrapkit@3.2.0).
|
|
3
|
+
# A range (wrapkit@^3.0.0, wrapkit>=3.0.0) or a tag (wrapkit@latest) pins no version and does not fit.
|
|
4
|
+
id: install-command
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: "npm install {name}@{version}"
|
|
8
|
+
- pattern: "npm i {name}@{version}"
|
|
9
|
+
- pattern: "npm add {name}@{version}"
|
|
10
|
+
- pattern: "yarn add {name}@{version}"
|
|
11
|
+
- pattern: "pnpm add {name}@{version}"
|
|
12
|
+
- pattern: "pnpm install {name}@{version}"
|
|
13
|
+
- pattern: "bun add {name}@{version}"
|
|
14
|
+
- pattern: "pip install {name}=={version}"
|
|
15
|
+
- pattern: "pip3 install {name}=={version}"
|
|
16
|
+
- pattern: "uv add {name}=={version}"
|
|
17
|
+
- pattern: "poetry add {name}=={version}"
|
|
18
|
+
- pattern: "cargo install {name}@{version}"
|
|
19
|
+
- pattern: "cargo add {name}@{version}"
|
|
20
|
+
- pattern: "gem install {name} -v {version}"
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Words that mark the date a document was issued. A line (or a table's first column) starting with one and a date is compared with the due dates (due-before-issue).
|
|
2
|
+
id: issue-date-label
|
|
3
|
+
language: en
|
|
4
|
+
entries:
|
|
5
|
+
- pattern: Issued
|
|
6
|
+
- pattern: Issue date
|
|
7
|
+
- pattern: Date issued
|
|
8
|
+
- pattern: Invoice date
|
|
9
|
+
- pattern: Quote date
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Words saying an action item is done. A line with one is not compared, even when its deadline is before the meeting (due-before-issue).
|
|
2
|
+
id: item-done-word
|
|
3
|
+
language: en
|
|
4
|
+
entries:
|
|
5
|
+
- pattern: Done
|
|
6
|
+
- pattern: Completed
|
|
7
|
+
- pattern: Complete
|
|
8
|
+
- pattern: Closed
|
|
9
|
+
- pattern: Finished
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# The headings of a table's departure and arrival columns (arrival-before-departure). A column whose heading, without a
|
|
2
|
+
# note in brackets after it, is one of these is read as the departure or the arrival column. Matched as written.
|
|
3
|
+
id: leg-column
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- { pattern: "Departs", group: departure }
|
|
7
|
+
- { pattern: "Departure", group: departure }
|
|
8
|
+
- { pattern: "Departure time", group: departure }
|
|
9
|
+
- { pattern: "Dep", group: departure }
|
|
10
|
+
- { pattern: "Dep.", group: departure }
|
|
11
|
+
- { pattern: "Arrives", group: arrival }
|
|
12
|
+
- { pattern: "Arrival", group: arrival }
|
|
13
|
+
- { pattern: "Arrival time", group: arrival }
|
|
14
|
+
- { pattern: "Arr", group: arrival }
|
|
15
|
+
- { pattern: "Arr.", group: arrival }
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# The words that say a clock time is a departure or an arrival (arrival-before-departure). position says on which side
|
|
2
|
+
# of the time the word is written, group whether it departs or arrives. A word before the time may have a place between
|
|
3
|
+
# ("departs Boston 7:30 AM"). Matched as written, as a whole word.
|
|
4
|
+
id: leg-mark
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- { pattern: "departs", position: before, group: departure }
|
|
8
|
+
- { pattern: "Departs", position: before, group: departure }
|
|
9
|
+
- { pattern: "departing", position: before, group: departure }
|
|
10
|
+
- { pattern: "departure", position: before, group: departure }
|
|
11
|
+
- { pattern: "Departure", position: before, group: departure }
|
|
12
|
+
- { pattern: "dep", position: before, group: departure }
|
|
13
|
+
- { pattern: "Dep", position: before, group: departure }
|
|
14
|
+
- { pattern: "dep.", position: before, group: departure }
|
|
15
|
+
- { pattern: "Dep.", position: before, group: departure }
|
|
16
|
+
- { pattern: "leaves", position: before, group: departure }
|
|
17
|
+
- { pattern: "arrives", position: before, group: arrival }
|
|
18
|
+
- { pattern: "Arrives", position: before, group: arrival }
|
|
19
|
+
- { pattern: "arriving", position: before, group: arrival }
|
|
20
|
+
- { pattern: "arrival", position: before, group: arrival }
|
|
21
|
+
- { pattern: "Arrival", position: before, group: arrival }
|
|
22
|
+
- { pattern: "arr", position: before, group: arrival }
|
|
23
|
+
- { pattern: "Arr", position: before, group: arrival }
|
|
24
|
+
- { pattern: "arr.", position: before, group: arrival }
|
|
25
|
+
- { pattern: "Arr.", position: before, group: arrival }
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# The marks that leave a clock time's zone to the place (time-order, arrival-before-departure). A time marked "local
|
|
2
|
+
# time" need not be in the same zone as the times around it, so it is not compared with them. Matched as written.
|
|
3
|
+
id: local-time-mark
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: "local time"
|
|
7
|
+
- pattern: "Local time"
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Words that mark the date of a meeting. Near the top of minutes, a line starting with one and a date gives the date the action items are compared with (due-before-issue).
|
|
2
|
+
id: meeting-date-label
|
|
3
|
+
language: en
|
|
4
|
+
entries:
|
|
5
|
+
- pattern: Date
|
|
6
|
+
- pattern: Meeting date
|
|
7
|
+
- pattern: Date of meeting
|
|
8
|
+
- pattern: Date and time
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Words in the title of minutes. Only a document whose title (first line) has one has its action items compared with the meeting date (due-before-issue).
|
|
2
|
+
id: minutes-title-word
|
|
3
|
+
language: en
|
|
4
|
+
entries:
|
|
5
|
+
- pattern: Minutes
|
|
6
|
+
- pattern: Meeting notes
|
|
7
|
+
- pattern: Meeting summary
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Words that leave a list open (group: open) and words that close it (group: limit): right after the open word
|
|
2
|
+
# (position: after, "bicycles, etc. only") or before the list they govern (position: before, "only A, B, etc.").
|
|
3
|
+
# "Only A, B, etc." closes the list and leaves it open at once, and the reader cannot tell what is covered. nado-closed-list reads it.
|
|
4
|
+
# group: not-limit holds phrases that hold a limit word without closing anything ("not only", "not limited to").
|
|
5
|
+
id: nado-closed-list
|
|
6
|
+
language: en
|
|
7
|
+
entries:
|
|
8
|
+
- { pattern: etc., group: open }
|
|
9
|
+
- { pattern: and so on, group: open }
|
|
10
|
+
- { pattern: and the like, group: open }
|
|
11
|
+
- { pattern: only, group: limit, position: after }
|
|
12
|
+
- { pattern: only, group: limit, position: before }
|
|
13
|
+
- { pattern: limited to, group: limit, position: before }
|
|
14
|
+
- { pattern: restricted to, group: limit, position: before }
|
|
15
|
+
- { pattern: solely, group: limit, position: before }
|
|
16
|
+
- { pattern: exclusively, group: limit, position: before }
|
|
17
|
+
- { pattern: not only, group: not-limit }
|
|
18
|
+
- { pattern: not limited to, group: not-limit }
|
|
19
|
+
- { pattern: not restricted to, group: not-limit }
|
|
20
|
+
- { pattern: not solely, group: not-limit }
|
|
21
|
+
- { pattern: not exclusively, group: not-limit }
|
|
22
|
+
- { pattern: if only, group: not-limit }
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Small words inside one capitalised name (Statement of Work, Trials and Betas, the Office of Foreign Assets Control).
|
|
2
|
+
# undefined-term reads a run of capitalised words across them, so "Work" alone is not taken for a term. Matched as written.
|
|
3
|
+
id: name-joiner
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: of
|
|
7
|
+
- pattern: for
|
|
8
|
+
- pattern: and
|
|
9
|
+
- pattern: in
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Labels a name is written after ("Prerequisite: Foundations of Statistics"). name-variant reads what follows the colon, up
|
|
2
|
+
# to the punctuation, as a name, and compares it with names written with the same words in another order.
|
|
3
|
+
id: name-label
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: Prerequisite
|
|
7
|
+
- pattern: Prerequisites
|
|
8
|
+
- pattern: Course
|
|
9
|
+
- pattern: Course name
|
|
10
|
+
- pattern: Course title
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Quotation marks around a name ("Data Lab"), the opening and the closing mark as one pair. name-variant reads a short run
|
|
2
|
+
# of words inside them as a name, and compares names written with the same words in another order.
|
|
3
|
+
id: name-quote
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: “”
|
|
7
|
+
- pattern: '""'
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Endings taken off a word before two names are compared for the same words in another order: "Statistics" and
|
|
2
|
+
# "Statistical" are both "statist", so "Foundations of Statistics" and "Statistical Foundations" hold the same words.
|
|
3
|
+
# The longest ending that leaves four letters or more is taken off, one only.
|
|
4
|
+
id: name-stem-suffix
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: ical
|
|
8
|
+
- pattern: ics
|
|
9
|
+
- pattern: ic
|
|
10
|
+
- pattern: al
|
|
11
|
+
- pattern: es
|
|
12
|
+
- pattern: s
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Small words inside a Title Case name ("Foundations of Statistics", "Bank of the West"). name-variant reads capitalised
|
|
2
|
+
# words across them as one name when it compares names written with the same words in another order. "and", "to" and
|
|
3
|
+
# "with" are left out: across them stand two names ("Texas and Florida"), not one.
|
|
4
|
+
id: name-title-joiner
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: of
|
|
8
|
+
- pattern: for
|
|
9
|
+
- pattern: the
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# The words of a number written out, for number-word-figure-mismatch: "six (7) months", "Fifty Thousand Dollars ($5,000)".
|
|
2
|
+
# weight is the word's value. group says how it joins the words around it: digit adds (twenty-one), place multiplies the
|
|
3
|
+
# digits before it within one group (five hundred), scale closes everything before it (fifty thousand), joiner may stand
|
|
4
|
+
# between two number words (one hundred and five), unit may stand between the words and the bracket and after the figure
|
|
5
|
+
# inside it (five percent (5%)). Matched without regard to case, as whole words.
|
|
6
|
+
id: number-word
|
|
7
|
+
language: en
|
|
8
|
+
entries:
|
|
9
|
+
- { pattern: zero, weight: 0, group: digit }
|
|
10
|
+
- { pattern: one, weight: 1, group: digit }
|
|
11
|
+
- { pattern: two, weight: 2, group: digit }
|
|
12
|
+
- { pattern: three, weight: 3, group: digit }
|
|
13
|
+
- { pattern: four, weight: 4, group: digit }
|
|
14
|
+
- { pattern: five, weight: 5, group: digit }
|
|
15
|
+
- { pattern: six, weight: 6, group: digit }
|
|
16
|
+
- { pattern: seven, weight: 7, group: digit }
|
|
17
|
+
- { pattern: eight, weight: 8, group: digit }
|
|
18
|
+
- { pattern: nine, weight: 9, group: digit }
|
|
19
|
+
- { pattern: ten, weight: 10, group: digit }
|
|
20
|
+
- { pattern: eleven, weight: 11, group: digit }
|
|
21
|
+
- { pattern: twelve, weight: 12, group: digit }
|
|
22
|
+
- { pattern: thirteen, weight: 13, group: digit }
|
|
23
|
+
- { pattern: fourteen, weight: 14, group: digit }
|
|
24
|
+
- { pattern: fifteen, weight: 15, group: digit }
|
|
25
|
+
- { pattern: sixteen, weight: 16, group: digit }
|
|
26
|
+
- { pattern: seventeen, weight: 17, group: digit }
|
|
27
|
+
- { pattern: eighteen, weight: 18, group: digit }
|
|
28
|
+
- { pattern: nineteen, weight: 19, group: digit }
|
|
29
|
+
- { pattern: twenty, weight: 20, group: digit }
|
|
30
|
+
- { pattern: thirty, weight: 30, group: digit }
|
|
31
|
+
- { pattern: forty, weight: 40, group: digit }
|
|
32
|
+
- { pattern: fifty, weight: 50, group: digit }
|
|
33
|
+
- { pattern: sixty, weight: 60, group: digit }
|
|
34
|
+
- { pattern: seventy, weight: 70, group: digit }
|
|
35
|
+
- { pattern: eighty, weight: 80, group: digit }
|
|
36
|
+
- { pattern: ninety, weight: 90, group: digit }
|
|
37
|
+
- { pattern: hundred, weight: 100, group: place }
|
|
38
|
+
- { pattern: thousand, weight: 1000, group: scale }
|
|
39
|
+
- { pattern: million, weight: 1000000, group: scale }
|
|
40
|
+
- { pattern: billion, weight: 1000000000, group: scale }
|
|
41
|
+
- { pattern: trillion, weight: 1000000000000, group: scale }
|
|
42
|
+
- { pattern: and, group: joiner }
|
|
43
|
+
- { pattern: percent, group: unit }
|
|
44
|
+
- { pattern: per cent, group: unit }
|
|
45
|
+
- { pattern: "%", group: unit }
|