@chaffjs/lang-en 0.15.0 → 0.17.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/citation.d.ts +5 -2
- package/dist/citation.d.ts.map +1 -1
- package/dist/citation.js +13 -9
- package/dist/citation.js.map +1 -1
- package/dist/code-citation.d.ts +15 -0
- package/dist/code-citation.d.ts.map +1 -0
- package/dist/code-citation.js +34 -0
- package/dist/code-citation.js.map +1 -0
- package/dist/definitions.d.ts.map +1 -1
- package/dist/definitions.js +4 -2
- package/dist/definitions.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/japanese-run.d.ts +2 -0
- package/dist/japanese-run.d.ts.map +1 -0
- package/dist/japanese-run.js +9 -0
- package/dist/japanese-run.js.map +1 -0
- package/dist/label-stop.d.ts +13 -0
- package/dist/label-stop.d.ts.map +1 -0
- package/dist/label-stop.js +13 -0
- package/dist/label-stop.js.map +1 -0
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.js +4 -0
- package/dist/lexicons.js.map +1 -1
- package/dist/pos.d.ts.map +1 -1
- package/dist/pos.js +37 -17
- package/dist/pos.js.map +1 -1
- package/dist/regexp.d.ts +3 -0
- package/dist/regexp.d.ts.map +1 -0
- package/dist/regexp.js +3 -0
- package/dist/regexp.js.map +1 -0
- package/dist/structure.d.ts.map +1 -1
- package/dist/structure.js +17 -6
- package/dist/structure.js.map +1 -1
- package/lexicons/abbreviated-label.yaml +16 -0
- package/lexicons/ai-tell.yaml +98 -0
- package/lexicons/announcing-opener.yaml +19 -0
- package/lexicons/assistant-residue.yaml +55 -0
- package/lexicons/contrast-frame.yaml +10 -0
- package/lexicons/contrast-lead.yaml +15 -0
- package/lexicons/contrast-turn.yaml +11 -0
- package/lexicons/count-anchor.yaml +7 -0
- package/lexicons/count-counter.yaml +90 -0
- package/lexicons/count-hedge.yaml +67 -0
- package/lexicons/count-number.yaml +16 -0
- package/lexicons/cushion-phrase.yaml +6 -0
- package/lexicons/date-change-word.yaml +27 -0
- package/lexicons/document-kind.yaml +19 -0
- package/lexicons/double-negative.yaml +25 -0
- package/lexicons/email-attachment-note.yaml +7 -0
- package/lexicons/email-attribution.yaml +7 -0
- package/lexicons/email-header-field.yaml +28 -0
- package/lexicons/email-written-field.yaml +8 -0
- package/lexicons/enumeration-frame.yaml +37 -0
- package/lexicons/enumeration-joiner.yaml +9 -0
- package/lexicons/enumeration-negation.yaml +13 -0
- package/lexicons/figure-elsewhere.yaml +8 -0
- package/lexicons/figure-label.yaml +14 -0
- package/lexicons/measure-unit.yaml +78 -0
- package/lexicons/nominalization-phrase.yaml +27 -0
- package/lexicons/numbered-label.yaml +26 -0
- package/lexicons/percent-unit.yaml +7 -0
- package/lexicons/place-region.yaml +247 -0
- package/lexicons/placeholder-word.yaml +17 -0
- package/lexicons/range-connector.yaml +12 -0
- package/lexicons/range-frame.yaml +9 -0
- package/lexicons/requirement-either.yaml +5 -0
- package/lexicons/requirement-loophole.yaml +17 -0
- package/lexicons/requirement-marker.yaml +9 -0
- package/lexicons/requirement-modal-must.yaml +7 -0
- package/lexicons/requirement-open-end.yaml +9 -0
- package/lexicons/share-exception.yaml +10 -0
- package/lexicons/share-label.yaml +12 -0
- package/lexicons/spelling-ize.yaml +273 -0
- package/lexicons/spelling-variant.yaml +260 -0
- package/lexicons/stock-transition.yaml +17 -0
- package/lexicons/vague-clause-pointer.yaml +10 -0
- package/lexicons/vague-figure-pointer.yaml +14 -0
- package/package.json +1 -1
- package/src/citation.ts +13 -9
- package/src/code-citation.ts +52 -0
- package/src/definitions.ts +4 -2
- package/src/index.ts +14 -5
- package/src/japanese-run.ts +9 -0
- package/src/label-stop.ts +25 -0
- package/src/lexicons.ts +4 -0
- package/src/pos.ts +36 -20
- package/src/regexp.ts +2 -0
- package/src/structure.ts +22 -6
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Words that negate a sentence. A negated listing ("neither image is available on Docker Hub") names what is left out
|
|
2
|
+
# of a list, not what belongs to it, so outside-announced-list does not read it. Each entry is one token.
|
|
3
|
+
id: enumeration-negation
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: not
|
|
7
|
+
- pattern: n't
|
|
8
|
+
- pattern: never
|
|
9
|
+
- pattern: neither
|
|
10
|
+
- pattern: nor
|
|
11
|
+
- pattern: "no"
|
|
12
|
+
- pattern: cannot
|
|
13
|
+
- pattern: unsupported
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Words right after a figure's number that place it in another document ("Figure 5 of the 2024 report", "Table 9 in
|
|
2
|
+
# the annual report"). Such a reference is not looked for in this document.
|
|
3
|
+
id: figure-elsewhere
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: of
|
|
7
|
+
- pattern: in
|
|
8
|
+
- pattern: from
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Words that name a figure, a table or an appendix by its number (Figure 3, Table 2, Appendix B). A reference in the
|
|
2
|
+
# text is looked for among the ones labelled at the start of a line (a caption or a heading). instead_of names the
|
|
3
|
+
# word an abbreviation stands for, so that "Fig. 3" and "Figure 3" are the same figure. Matched as written, or in capitals.
|
|
4
|
+
id: figure-label
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: Figure
|
|
8
|
+
- pattern: Fig.
|
|
9
|
+
instead_of: Figure
|
|
10
|
+
- pattern: Table
|
|
11
|
+
- pattern: Appendix
|
|
12
|
+
- pattern: Annex
|
|
13
|
+
- pattern: Exhibit
|
|
14
|
+
- pattern: Chart
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Unit symbols written after a measured number (1.5 mM, 37 °C, 2.5 mg/kg). A decimal at the start of a line followed
|
|
2
|
+
# by one of these is an amount, not a dotted section number. Matched as written, and only when no letter, digit or
|
|
3
|
+
# hyphen follows ("2.1 mmap" and "5.2.2 min-fresh" stay section titles). Symbols that begin with a capital letter
|
|
4
|
+
# (Da, Pa, GB, W, V) are left out: a section title begins with a capital too, and "3.1 Da Vinci" is a title.
|
|
5
|
+
id: measure-unit
|
|
6
|
+
language: en
|
|
7
|
+
entries:
|
|
8
|
+
- pattern: "mM"
|
|
9
|
+
- pattern: "µM"
|
|
10
|
+
- pattern: "μM"
|
|
11
|
+
- pattern: "nM"
|
|
12
|
+
- pattern: "pM"
|
|
13
|
+
- pattern: "mol"
|
|
14
|
+
- pattern: "mmol"
|
|
15
|
+
- pattern: "µmol"
|
|
16
|
+
- pattern: "μmol"
|
|
17
|
+
- pattern: "nmol"
|
|
18
|
+
- pattern: "pmol"
|
|
19
|
+
- pattern: "kg"
|
|
20
|
+
- pattern: "mg"
|
|
21
|
+
- pattern: "µg"
|
|
22
|
+
- pattern: "μg"
|
|
23
|
+
- pattern: "ng"
|
|
24
|
+
- pattern: "pg"
|
|
25
|
+
- pattern: "kDa"
|
|
26
|
+
- pattern: "mL"
|
|
27
|
+
- pattern: "ml"
|
|
28
|
+
- pattern: "µL"
|
|
29
|
+
- pattern: "μL"
|
|
30
|
+
- pattern: "µl"
|
|
31
|
+
- pattern: "μl"
|
|
32
|
+
- pattern: "dL"
|
|
33
|
+
- pattern: "nL"
|
|
34
|
+
- pattern: "km"
|
|
35
|
+
- pattern: "cm"
|
|
36
|
+
- pattern: "mm"
|
|
37
|
+
- pattern: "µm"
|
|
38
|
+
- pattern: "μm"
|
|
39
|
+
- pattern: "nm"
|
|
40
|
+
- pattern: "ms"
|
|
41
|
+
- pattern: "µs"
|
|
42
|
+
- pattern: "μs"
|
|
43
|
+
- pattern: "ns"
|
|
44
|
+
- pattern: "min"
|
|
45
|
+
- pattern: "sec"
|
|
46
|
+
- pattern: "hr"
|
|
47
|
+
- pattern: "hrs"
|
|
48
|
+
- pattern: "kHz"
|
|
49
|
+
- pattern: "mA"
|
|
50
|
+
- pattern: "mV"
|
|
51
|
+
- pattern: "kV"
|
|
52
|
+
- pattern: "kW"
|
|
53
|
+
- pattern: "kWh"
|
|
54
|
+
- pattern: "mAh"
|
|
55
|
+
- pattern: "kPa"
|
|
56
|
+
- pattern: "mmHg"
|
|
57
|
+
- pattern: "atm"
|
|
58
|
+
- pattern: "psi"
|
|
59
|
+
- pattern: "kB"
|
|
60
|
+
- pattern: "bp"
|
|
61
|
+
- pattern: "kb"
|
|
62
|
+
- pattern: "kbp"
|
|
63
|
+
- pattern: "ppm"
|
|
64
|
+
- pattern: "ppb"
|
|
65
|
+
- pattern: "rpm"
|
|
66
|
+
- pattern: "dB"
|
|
67
|
+
- pattern: "mCi"
|
|
68
|
+
- pattern: "µCi"
|
|
69
|
+
- pattern: "μCi"
|
|
70
|
+
- pattern: "mGy"
|
|
71
|
+
- pattern: "mSv"
|
|
72
|
+
- pattern: "°C"
|
|
73
|
+
- pattern: "°F"
|
|
74
|
+
- pattern: "℃"
|
|
75
|
+
- pattern: "℉"
|
|
76
|
+
- pattern: "°"
|
|
77
|
+
- pattern: "%"
|
|
78
|
+
- pattern: "‰"
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Hidden verbs: a verb turned into a noun and carried by a weak verb ("make a decision" for "decide"). nominalization
|
|
2
|
+
# reads them. The Federal Plain Language Guidelines ("Use the active voice" / "Avoid hidden verbs") and GOV.UK ("Use
|
|
3
|
+
# clear language") ask for the verb. instead_of is the verb. A verb in the pattern matches its other forms (made, makes).
|
|
4
|
+
id: nominalization-phrase
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- { pattern: make a decision, instead_of: decide }
|
|
8
|
+
- { pattern: reach a decision, instead_of: decide }
|
|
9
|
+
- { pattern: conduct an investigation, instead_of: investigate }
|
|
10
|
+
- { pattern: carry out an investigation, instead_of: investigate }
|
|
11
|
+
- { pattern: conduct an analysis, instead_of: analyze }
|
|
12
|
+
- { pattern: perform an analysis, instead_of: analyze }
|
|
13
|
+
- { pattern: carry out an analysis, instead_of: analyze }
|
|
14
|
+
- { pattern: make an assessment, instead_of: assess }
|
|
15
|
+
- { pattern: conduct an assessment, instead_of: assess }
|
|
16
|
+
- { pattern: conduct a review, instead_of: review }
|
|
17
|
+
- { pattern: perform a review, instead_of: review }
|
|
18
|
+
- { pattern: make a recommendation, instead_of: recommend }
|
|
19
|
+
- { pattern: make a determination, instead_of: determine }
|
|
20
|
+
- { pattern: give consideration to, instead_of: consider }
|
|
21
|
+
- { pattern: provide assistance, instead_of: help }
|
|
22
|
+
- { pattern: make an application, instead_of: apply }
|
|
23
|
+
- { pattern: make a payment, instead_of: pay }
|
|
24
|
+
- { pattern: make an adjustment, instead_of: adjust }
|
|
25
|
+
- { pattern: come to a conclusion, instead_of: conclude }
|
|
26
|
+
- { pattern: have a discussion, instead_of: discuss }
|
|
27
|
+
- { pattern: make reference to, instead_of: refer to }
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Words written before a number to name an item of a series (Step 3, Example 4). At the head of a heading they are a
|
|
2
|
+
# label, which the text below never repeats, so heading-echo does not count them in the overlap. position is the side
|
|
3
|
+
# of the number the word is written on. Matched as written.
|
|
4
|
+
id: numbered-label
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: Step
|
|
8
|
+
position: before
|
|
9
|
+
- pattern: Example
|
|
10
|
+
position: before
|
|
11
|
+
- pattern: Case
|
|
12
|
+
position: before
|
|
13
|
+
- pattern: Exercise
|
|
14
|
+
position: before
|
|
15
|
+
- pattern: Question
|
|
16
|
+
position: before
|
|
17
|
+
- pattern: Problem
|
|
18
|
+
position: before
|
|
19
|
+
- pattern: Lesson
|
|
20
|
+
position: before
|
|
21
|
+
- pattern: Stage
|
|
22
|
+
position: before
|
|
23
|
+
- pattern: Figure
|
|
24
|
+
position: before
|
|
25
|
+
- pattern: Table
|
|
26
|
+
position: before
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
# The names a place is followed by, after a comma, to say where it is: US states and the District of Columbia, and
|
|
2
|
+
# countries ("New London, Wisconsin, and …", "Lyon, France, and …"). The comma between a place and its state or country
|
|
3
|
+
# is part of the name, not a list's comma. Matched as written, word by word. A name with position: after is written only
|
|
4
|
+
# after a place's name (Washington, D.C.), so it is read as one even after a state's name.
|
|
5
|
+
id: place-region
|
|
6
|
+
language: en
|
|
7
|
+
entries:
|
|
8
|
+
- pattern: Alabama
|
|
9
|
+
- pattern: Alaska
|
|
10
|
+
- pattern: Arizona
|
|
11
|
+
- pattern: Arkansas
|
|
12
|
+
- pattern: California
|
|
13
|
+
- pattern: Colorado
|
|
14
|
+
- pattern: Connecticut
|
|
15
|
+
- pattern: Delaware
|
|
16
|
+
- pattern: Florida
|
|
17
|
+
- pattern: Georgia
|
|
18
|
+
- pattern: Hawaii
|
|
19
|
+
- pattern: Idaho
|
|
20
|
+
- pattern: Illinois
|
|
21
|
+
- pattern: Indiana
|
|
22
|
+
- pattern: Iowa
|
|
23
|
+
- pattern: Kansas
|
|
24
|
+
- pattern: Kentucky
|
|
25
|
+
- pattern: Louisiana
|
|
26
|
+
- pattern: Maine
|
|
27
|
+
- pattern: Maryland
|
|
28
|
+
- pattern: Massachusetts
|
|
29
|
+
- pattern: Michigan
|
|
30
|
+
- pattern: Minnesota
|
|
31
|
+
- pattern: Mississippi
|
|
32
|
+
- pattern: Missouri
|
|
33
|
+
- pattern: Montana
|
|
34
|
+
- pattern: Nebraska
|
|
35
|
+
- pattern: Nevada
|
|
36
|
+
- pattern: New Hampshire
|
|
37
|
+
- pattern: New Jersey
|
|
38
|
+
- pattern: New Mexico
|
|
39
|
+
- pattern: New York
|
|
40
|
+
- pattern: North Carolina
|
|
41
|
+
- pattern: North Dakota
|
|
42
|
+
- pattern: Ohio
|
|
43
|
+
- pattern: Oklahoma
|
|
44
|
+
- pattern: Oregon
|
|
45
|
+
- pattern: Pennsylvania
|
|
46
|
+
- pattern: Rhode Island
|
|
47
|
+
- pattern: South Carolina
|
|
48
|
+
- pattern: South Dakota
|
|
49
|
+
- pattern: Tennessee
|
|
50
|
+
- pattern: Texas
|
|
51
|
+
- pattern: Utah
|
|
52
|
+
- pattern: Vermont
|
|
53
|
+
- pattern: Virginia
|
|
54
|
+
- pattern: Washington
|
|
55
|
+
- pattern: West Virginia
|
|
56
|
+
- pattern: Wisconsin
|
|
57
|
+
- pattern: Wyoming
|
|
58
|
+
- pattern: D.C.
|
|
59
|
+
position: after
|
|
60
|
+
- pattern: Puerto Rico
|
|
61
|
+
- pattern: Guam
|
|
62
|
+
- pattern: Afghanistan
|
|
63
|
+
- pattern: Albania
|
|
64
|
+
- pattern: Algeria
|
|
65
|
+
- pattern: Andorra
|
|
66
|
+
- pattern: Angola
|
|
67
|
+
- pattern: Argentina
|
|
68
|
+
- pattern: Armenia
|
|
69
|
+
- pattern: Australia
|
|
70
|
+
- pattern: Austria
|
|
71
|
+
- pattern: Azerbaijan
|
|
72
|
+
- pattern: Bahamas
|
|
73
|
+
- pattern: Bahrain
|
|
74
|
+
- pattern: Bangladesh
|
|
75
|
+
- pattern: Barbados
|
|
76
|
+
- pattern: Belarus
|
|
77
|
+
- pattern: Belgium
|
|
78
|
+
- pattern: Belize
|
|
79
|
+
- pattern: Benin
|
|
80
|
+
- pattern: Bhutan
|
|
81
|
+
- pattern: Bolivia
|
|
82
|
+
- pattern: Bosnia and Herzegovina
|
|
83
|
+
- pattern: Botswana
|
|
84
|
+
- pattern: Brazil
|
|
85
|
+
- pattern: Brunei
|
|
86
|
+
- pattern: Bulgaria
|
|
87
|
+
- pattern: Burkina Faso
|
|
88
|
+
- pattern: Burundi
|
|
89
|
+
- pattern: Cambodia
|
|
90
|
+
- pattern: Cameroon
|
|
91
|
+
- pattern: Canada
|
|
92
|
+
- pattern: Chad
|
|
93
|
+
- pattern: Chile
|
|
94
|
+
- pattern: China
|
|
95
|
+
- pattern: Colombia
|
|
96
|
+
- pattern: Costa Rica
|
|
97
|
+
- pattern: Croatia
|
|
98
|
+
- pattern: Cuba
|
|
99
|
+
- pattern: Cyprus
|
|
100
|
+
- pattern: Czechia
|
|
101
|
+
- pattern: Czech Republic
|
|
102
|
+
- pattern: Denmark
|
|
103
|
+
- pattern: Djibouti
|
|
104
|
+
- pattern: Dominican Republic
|
|
105
|
+
- pattern: Ecuador
|
|
106
|
+
- pattern: Egypt
|
|
107
|
+
- pattern: El Salvador
|
|
108
|
+
- pattern: England
|
|
109
|
+
- pattern: Eritrea
|
|
110
|
+
- pattern: Estonia
|
|
111
|
+
- pattern: Eswatini
|
|
112
|
+
- pattern: Ethiopia
|
|
113
|
+
- pattern: Fiji
|
|
114
|
+
- pattern: Finland
|
|
115
|
+
- pattern: France
|
|
116
|
+
- pattern: Gabon
|
|
117
|
+
- pattern: Gambia
|
|
118
|
+
- pattern: Germany
|
|
119
|
+
- pattern: Ghana
|
|
120
|
+
- pattern: Greece
|
|
121
|
+
- pattern: Guatemala
|
|
122
|
+
- pattern: Guinea
|
|
123
|
+
- pattern: Guyana
|
|
124
|
+
- pattern: Haiti
|
|
125
|
+
- pattern: Honduras
|
|
126
|
+
- pattern: Hungary
|
|
127
|
+
- pattern: Iceland
|
|
128
|
+
- pattern: India
|
|
129
|
+
- pattern: Indonesia
|
|
130
|
+
- pattern: Iran
|
|
131
|
+
- pattern: Iraq
|
|
132
|
+
- pattern: Ireland
|
|
133
|
+
- pattern: Israel
|
|
134
|
+
- pattern: Italy
|
|
135
|
+
- pattern: Jamaica
|
|
136
|
+
- pattern: Japan
|
|
137
|
+
- pattern: Jordan
|
|
138
|
+
- pattern: Kazakhstan
|
|
139
|
+
- pattern: Kenya
|
|
140
|
+
- pattern: Kosovo
|
|
141
|
+
- pattern: Kuwait
|
|
142
|
+
- pattern: Kyrgyzstan
|
|
143
|
+
- pattern: Laos
|
|
144
|
+
- pattern: Latvia
|
|
145
|
+
- pattern: Lebanon
|
|
146
|
+
- pattern: Lesotho
|
|
147
|
+
- pattern: Liberia
|
|
148
|
+
- pattern: Libya
|
|
149
|
+
- pattern: Liechtenstein
|
|
150
|
+
- pattern: Lithuania
|
|
151
|
+
- pattern: Luxembourg
|
|
152
|
+
- pattern: Madagascar
|
|
153
|
+
- pattern: Malawi
|
|
154
|
+
- pattern: Malaysia
|
|
155
|
+
- pattern: Maldives
|
|
156
|
+
- pattern: Mali
|
|
157
|
+
- pattern: Malta
|
|
158
|
+
- pattern: Mauritania
|
|
159
|
+
- pattern: Mauritius
|
|
160
|
+
- pattern: Mexico
|
|
161
|
+
- pattern: Moldova
|
|
162
|
+
- pattern: Monaco
|
|
163
|
+
- pattern: Mongolia
|
|
164
|
+
- pattern: Montenegro
|
|
165
|
+
- pattern: Morocco
|
|
166
|
+
- pattern: Mozambique
|
|
167
|
+
- pattern: Myanmar
|
|
168
|
+
- pattern: Namibia
|
|
169
|
+
- pattern: Nepal
|
|
170
|
+
- pattern: Netherlands
|
|
171
|
+
- pattern: New Zealand
|
|
172
|
+
- pattern: Nicaragua
|
|
173
|
+
- pattern: Niger
|
|
174
|
+
- pattern: Nigeria
|
|
175
|
+
- pattern: North Korea
|
|
176
|
+
- pattern: North Macedonia
|
|
177
|
+
- pattern: Northern Ireland
|
|
178
|
+
- pattern: Norway
|
|
179
|
+
- pattern: Oman
|
|
180
|
+
- pattern: Pakistan
|
|
181
|
+
- pattern: Panama
|
|
182
|
+
- pattern: Papua New Guinea
|
|
183
|
+
- pattern: Paraguay
|
|
184
|
+
- pattern: Peru
|
|
185
|
+
- pattern: Philippines
|
|
186
|
+
- pattern: Poland
|
|
187
|
+
- pattern: Portugal
|
|
188
|
+
- pattern: Qatar
|
|
189
|
+
- pattern: Romania
|
|
190
|
+
- pattern: Russia
|
|
191
|
+
- pattern: Rwanda
|
|
192
|
+
- pattern: Saudi Arabia
|
|
193
|
+
- pattern: Scotland
|
|
194
|
+
- pattern: Senegal
|
|
195
|
+
- pattern: Serbia
|
|
196
|
+
- pattern: Sierra Leone
|
|
197
|
+
- pattern: Singapore
|
|
198
|
+
- pattern: Slovakia
|
|
199
|
+
- pattern: Slovenia
|
|
200
|
+
- pattern: Somalia
|
|
201
|
+
- pattern: South Africa
|
|
202
|
+
- pattern: South Korea
|
|
203
|
+
- pattern: South Sudan
|
|
204
|
+
- pattern: Spain
|
|
205
|
+
- pattern: Sri Lanka
|
|
206
|
+
- pattern: Sudan
|
|
207
|
+
- pattern: Suriname
|
|
208
|
+
- pattern: Sweden
|
|
209
|
+
- pattern: Switzerland
|
|
210
|
+
- pattern: Syria
|
|
211
|
+
- pattern: Taiwan
|
|
212
|
+
- pattern: Tajikistan
|
|
213
|
+
- pattern: Tanzania
|
|
214
|
+
- pattern: Thailand
|
|
215
|
+
- pattern: Togo
|
|
216
|
+
- pattern: Trinidad and Tobago
|
|
217
|
+
- pattern: Tunisia
|
|
218
|
+
- pattern: Turkey
|
|
219
|
+
- pattern: Türkiye
|
|
220
|
+
- pattern: Turkmenistan
|
|
221
|
+
- pattern: Uganda
|
|
222
|
+
- pattern: Ukraine
|
|
223
|
+
- pattern: United Arab Emirates
|
|
224
|
+
- pattern: United Kingdom
|
|
225
|
+
- pattern: UK
|
|
226
|
+
- pattern: U.K.
|
|
227
|
+
- pattern: United States
|
|
228
|
+
- pattern: USA
|
|
229
|
+
- pattern: U.S.
|
|
230
|
+
- pattern: U.S.A.
|
|
231
|
+
- pattern: Uruguay
|
|
232
|
+
- pattern: Uzbekistan
|
|
233
|
+
- pattern: Venezuela
|
|
234
|
+
- pattern: Vietnam
|
|
235
|
+
- pattern: Wales
|
|
236
|
+
- pattern: Yemen
|
|
237
|
+
- pattern: Zambia
|
|
238
|
+
- pattern: Zimbabwe
|
|
239
|
+
- pattern: Alberta
|
|
240
|
+
- pattern: British Columbia
|
|
241
|
+
- pattern: Manitoba
|
|
242
|
+
- pattern: New Brunswick
|
|
243
|
+
- pattern: Newfoundland and Labrador
|
|
244
|
+
- pattern: Nova Scotia
|
|
245
|
+
- pattern: Ontario
|
|
246
|
+
- pattern: Quebec
|
|
247
|
+
- pattern: Saskatchewan
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# What a template writes inside the brackets of a blank: [Your Name], [Insert Date], [Company Name].
|
|
2
|
+
# A bracket counts when it holds one of these, alone or followed by more words.
|
|
3
|
+
id: placeholder-word
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: your
|
|
7
|
+
- pattern: insert
|
|
8
|
+
- pattern: recipient
|
|
9
|
+
- pattern: name
|
|
10
|
+
- pattern: company name
|
|
11
|
+
- pattern: client name
|
|
12
|
+
- pattern: project name
|
|
13
|
+
- pattern: product name
|
|
14
|
+
- pattern: date
|
|
15
|
+
- pattern: describe
|
|
16
|
+
- pattern: specific
|
|
17
|
+
- pattern: add
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Marks and words that, alone between two dates, make a period ("5 April – 9 April", "May 1 through May 5").
|
|
2
|
+
# "to" is not one: "moved from March 10 to March 3" changes a date rather than spanning a period.
|
|
3
|
+
id: range-connector
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: "-"
|
|
7
|
+
- pattern: –
|
|
8
|
+
- pattern: —
|
|
9
|
+
- pattern: through
|
|
10
|
+
- pattern: thru
|
|
11
|
+
- pattern: until
|
|
12
|
+
- pattern: till
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# A word before the first date and a word between the two dates that together make a period: "from 1 May 2026 to
|
|
2
|
+
# 31 May 2026". Written as "lead … joint". "to" alone is not a range-connector because "moved from March 10 to March 3"
|
|
3
|
+
# changes a date; date-change-word says when the frame is a change instead. "between … and" is not a frame: "choose
|
|
4
|
+
# between 1 May and 30 April" names two dates to pick from.
|
|
5
|
+
id: range-frame
|
|
6
|
+
language: en
|
|
7
|
+
entries:
|
|
8
|
+
- pattern: from … to
|
|
9
|
+
- pattern: from … up to
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Phrases that open a loophole in a requirement or leave it unverifiable (Femmer et al. 2017; the terms ISO/IEC/IEEE
|
|
2
|
+
# 29148 says to avoid). The reader cannot tell how much is enough to meet it.
|
|
3
|
+
id: requirement-loophole
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: as far as possible
|
|
7
|
+
- pattern: as much as possible
|
|
8
|
+
- pattern: as soon as possible
|
|
9
|
+
- pattern: as fast as possible
|
|
10
|
+
- pattern: to the extent possible
|
|
11
|
+
- pattern: if possible
|
|
12
|
+
- pattern: where possible
|
|
13
|
+
- pattern: as appropriate
|
|
14
|
+
- pattern: where appropriate
|
|
15
|
+
- pattern: as applicable
|
|
16
|
+
- pattern: if necessary
|
|
17
|
+
- pattern: as needed
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# What makes a sentence a requirement for requirement-smell: the forms ISO/IEC/IEEE 29148 and the Federal Plain Language
|
|
2
|
+
# Guidelines use for an obligation. Only a sentence with one of them is read as a requirement.
|
|
3
|
+
id: requirement-marker
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: shall
|
|
7
|
+
- pattern: must
|
|
8
|
+
- pattern: is required to
|
|
9
|
+
- pattern: are required to
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# "shall" and what to write instead (instead_of), read by requirement-modal when shall: must is set.
|
|
2
|
+
# The Federal Plain Language Guidelines (PLAIN 2011) say to use "must" for an obligation: "shall" is ambiguous, read as
|
|
3
|
+
# an obligation, a future or a permission, and courts have read it each way.
|
|
4
|
+
id: requirement-modal-must
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- { pattern: shall, instead_of: must }
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Words that leave a list open (Femmer et al. 2017, open-ended terms; ISO/IEC/IEEE 29148 names "but not limited to").
|
|
2
|
+
# In a requirement the reader cannot tell what else it covers.
|
|
3
|
+
id: requirement-open-end
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: etc.
|
|
7
|
+
- pattern: and so on
|
|
8
|
+
- pattern: and the like
|
|
9
|
+
- pattern: but not limited to
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Words that mark a count whose percentages need not add up to 100%. When the header or the text above has one, the
|
|
2
|
+
# percentages are not added.
|
|
3
|
+
id: share-exception
|
|
4
|
+
language: en
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: multiple answers
|
|
7
|
+
- pattern: multiple responses
|
|
8
|
+
- pattern: more than one
|
|
9
|
+
- pattern: select all
|
|
10
|
+
- pattern: all that apply
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
# above a list or a table, has one of these, its percentages are added and compared with 100%.
|
|
3
|
+
# "rate" and "percentage" are left out: they also name a rate per row. So is a bare "share" ("share price return").
|
|
4
|
+
id: share-label
|
|
5
|
+
language: en
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: breakdown
|
|
8
|
+
- pattern: market share
|
|
9
|
+
- pattern: share of
|
|
10
|
+
- pattern: composition
|
|
11
|
+
- pattern: split
|
|
12
|
+
- pattern: allocation
|