@chaffjs/lang-en 0.23.0 → 0.24.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.
@@ -6,7 +6,8 @@
6
6
  # vowel word beginnings said with a vowel against the two groups above ("an hour", "an onerous"); checked first
7
7
  # word capitals read as a word, not letter by letter ("a NASA probe"); the word's own sound decides.
8
8
  # Capitals of four letters or more with a vowel that are not listed may be words, and are not reported
9
- # either words and capitals said both ways, never reported ("a SQL" and "an SQL", "a historic" and "an historic")
9
+ # either words and capitals said both ways, never reported ("a SQL" and "an SQL", "a historic" and "an historic");
10
+ # capitals often said as the words they stand for ("a RST" for "a reset") are here too
10
11
  # Word beginnings match the start of the word, in lower case; capitals match whole.
11
12
  id: article-sound
12
13
  language: en
@@ -73,9 +74,14 @@ entries:
73
74
  - { pattern: ROM, group: word }
74
75
  - { pattern: SIM, group: word }
75
76
  - { pattern: MAC, group: word }
77
+ - { pattern: SYN, group: word }
78
+ - { pattern: FIN, group: word }
76
79
  - { pattern: SQL, group: either }
77
80
  - { pattern: FAQ, group: either }
78
81
  - { pattern: URL, group: either }
82
+ - { pattern: RST, group: either }
83
+ - { pattern: RCV, group: either }
84
+ - { pattern: SWS, group: either }
79
85
  - { pattern: herb, group: either }
80
86
  - { pattern: histor, group: either }
81
87
  - { pattern: hotel, group: either }
@@ -0,0 +1,9 @@
1
+ # Words that mark the value a change is measured from (change-rate-mismatch). position is the side of the value the word
2
+ # stands on: "from $10 million" before it.
3
+ id: change-base
4
+ language: en
5
+ entries:
6
+ - { pattern: from, position: before }
7
+ - { pattern: compared with, position: before }
8
+ - { pattern: compared to, position: before }
9
+ - { pattern: versus, position: before }
@@ -0,0 +1,5 @@
1
+ # Phrases that hold a word of change-direction but say no direction (change-rate-mismatch): "up to 25%" is a ceiling.
2
+ id: change-direction-not
3
+ language: en
4
+ entries:
5
+ - pattern: up to
@@ -0,0 +1,27 @@
1
+ # Words that say which way a value moved (change-rate-mismatch). group is the direction: rise or fall. Matched as whole
2
+ # words, right before or after the rate.
3
+ id: change-direction
4
+ language: en
5
+ entries:
6
+ - { pattern: up, group: rise }
7
+ - { pattern: increase, group: rise }
8
+ - { pattern: increased, group: rise }
9
+ - { pattern: increases, group: rise }
10
+ - { pattern: rise, group: rise }
11
+ - { pattern: rose, group: rise }
12
+ - { pattern: risen, group: rise }
13
+ - { pattern: grew, group: rise }
14
+ - { pattern: growth, group: rise }
15
+ - { pattern: higher, group: rise }
16
+ - { pattern: down, group: fall }
17
+ - { pattern: decrease, group: fall }
18
+ - { pattern: decreased, group: fall }
19
+ - { pattern: decreases, group: fall }
20
+ - { pattern: decline, group: fall }
21
+ - { pattern: declined, group: fall }
22
+ - { pattern: fall, group: fall }
23
+ - { pattern: fell, group: fall }
24
+ - { pattern: fallen, group: fall }
25
+ - { pattern: drop, group: fall }
26
+ - { pattern: dropped, group: fall }
27
+ - { pattern: lower, group: fall }
@@ -0,0 +1,6 @@
1
+ # Words that mark the value a change reached (change-rate-mismatch): "rose 20% from 1,000 to 1,200". position is the side of
2
+ # the value the word stands on.
3
+ id: change-target
4
+ language: en
5
+ entries:
6
+ - { pattern: to, position: before }
@@ -0,0 +1,8 @@
1
+ # The field at the head of an email or minutes that gives its date (relative-date-mismatch): "Date: Tuesday, October 6, 2026".
2
+ # "next Monday" and "tomorrow" are counted from that date.
3
+ id: message-date-field
4
+ language: en
5
+ entries:
6
+ - pattern: Date
7
+ - pattern: Sent
8
+ - pattern: When
@@ -0,0 +1,7 @@
1
+ # Words that count days from the base date (relative-date-mismatch): "tomorrow (October 7)". group is how many days later.
2
+ id: relative-day
3
+ language: en
4
+ entries:
5
+ - { pattern: tomorrow, group: "1" }
6
+ - { pattern: today, group: "0" }
7
+ - { pattern: yesterday, group: "-1" }
@@ -0,0 +1,8 @@
1
+ # Words that count weeks from the week of the base date (relative-date-mismatch): "next Monday". group is how many weeks
2
+ # later (last is -1). Read only right before a weekday (lexicon weekday).
3
+ id: relative-week
4
+ language: en
5
+ entries:
6
+ - { pattern: next, group: "1" }
7
+ - { pattern: this, group: "0" }
8
+ - { pattern: last, group: "-1" }
@@ -1,5 +1,6 @@
1
1
  # Words that name the parts of one whole (they add up to 100%). When a table's header, or the sentence or heading right
2
2
  # above a list or a table, has one of these, its percentages are added and compared with 100%.
3
+ # "made up" and "accounted for" say the same of each part ("A made up 50% of sales, B 30% and C 20%").
3
4
  # "rate" and "percentage" are left out: they also name a rate per row. So is a bare "share" ("share price return").
4
5
  id: share-label
5
6
  language: en
@@ -10,3 +11,9 @@ entries:
10
11
  - pattern: composition
11
12
  - pattern: split
12
13
  - pattern: allocation
14
+ - pattern: made up
15
+ - pattern: make up
16
+ - pattern: makes up
17
+ - pattern: accounted for
18
+ - pattern: account for
19
+ - pattern: accounts for
@@ -0,0 +1,14 @@
1
+ # Latin words that, right before a version, say it is the version installed (version-mismatch): "Install version 2.4.0",
2
+ # "release 2.4.0", "install 2.4.0". Any other Latin word there names another program ("Requires Node.js 18.17.0").
3
+ id: version-lead
4
+ language: en
5
+ entries:
6
+ - pattern: version
7
+ - pattern: release
8
+ - pattern: v
9
+ - pattern: install
10
+ - pattern: installs
11
+ - pattern: use
12
+ - pattern: pin
13
+ - pattern: download
14
+ - pattern: get
@@ -0,0 +1,20 @@
1
+ # Words that make a version a bound or a starting point rather than the version installed (version-mismatch): "from 2.3.0",
2
+ # "20.0.0 or later". position is the side of the version the word stands on.
3
+ id: version-range
4
+ language: en
5
+ entries:
6
+ - { pattern: from, position: before }
7
+ - { pattern: before, position: before }
8
+ - { pattern: prior to, position: before }
9
+ - { pattern: until, position: before }
10
+ - { pattern: below, position: before }
11
+ - { pattern: above, position: before }
12
+ - { pattern: at least, position: before }
13
+ - { pattern: or later, position: after }
14
+ - { pattern: or newer, position: after }
15
+ - { pattern: or higher, position: after }
16
+ - { pattern: or above, position: after }
17
+ - { pattern: and later, position: after }
18
+ - { pattern: and above, position: after }
19
+ - { pattern: or earlier, position: after }
20
+ - { pattern: or older, position: after }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chaffjs/lang-en",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "English language adapter for chaff",
5
5
  "license": "MIT",
6
6
  "author": "isamu",