@cspell/dict-en-gb-ise 1.0.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/LICENSE ADDED
@@ -0,0 +1,184 @@
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+
3
+ Version 3, 29 June 2007
4
+
5
+ Copyright (C) 2007
6
+ Jason Dent
7
+
8
+ Everyone is permitted to copy and distribute verbatim copies of this
9
+ license document, but changing it is not allowed.
10
+
11
+ This version of the GNU Lesser
12
+ General Public License incorporates the terms and conditions of version 3 of the
13
+ GNU General Public License, supplemented by the additional permissions listed
14
+ below.
15
+
16
+ 0. Additional Definitions.
17
+
18
+
19
+
20
+ As used herein, "this
21
+ License" refers to version 3 of the GNU Lesser General Public License, and the
22
+ "GNU GPL" refers to version 3 of the GNU General Public License.
23
+
24
+
25
+
26
+
27
+ "The Library" refers to a covered work governed by this License, other than an
28
+ Application or a Combined Work as defined below.
29
+
30
+
31
+
32
+ An "Application"
33
+ is any work that makes use of an interface provided by the Library, but which is
34
+ not otherwise based on the Library. Defining a subclass of a class defined by the
35
+ Library is deemed a mode of using an interface provided by the Library.
36
+
37
+
38
+
39
+
40
+ A "Combined Work" is a work produced by combining or linking an Application with
41
+ the Library. The particular version of the Library with which the Combined Work
42
+ was made is also called the "Linked Version".
43
+
44
+
45
+
46
+ The "Minimal
47
+ Corresponding Source" for a Combined Work means the Corresponding Source for the
48
+ Combined Work, excluding any source code for portions of the Combined Work that,
49
+ considered in isolation, are based on the Application, and not on the Linked
50
+ Version.
51
+
52
+
53
+
54
+ The "Corresponding Application Code" for a Combined Work
55
+ means the object code and/or source code for the Application, including any data
56
+ and utility programs needed for reproducing the Combined Work from the
57
+ Application, but excluding the System Libraries of the Combined Work.
58
+
59
+ 1.
60
+ Exception to Section 3 of the GNU GPL.
61
+
62
+ You may convey a covered work under
63
+ sections 3 and 4 of this License without being bound by section 3 of the GNU
64
+ GPL.
65
+
66
+ 2. Conveying Modified Versions.
67
+
68
+ If you modify a copy of the Library,
69
+ and, in your modifications, a facility refers to a function or data to be
70
+ supplied by an Application that uses the facility (other than as an argument
71
+ passed when the facility is invoked), then you may convey a copy of the modified
72
+ version:
73
+
74
+ a) under this License, provided that you make a good faith effort
75
+ to ensure that, in the event an Application does not supply the function or data,
76
+ the facility still operates, and performs whatever part of its purpose remains
77
+ meaningful, or
78
+
79
+ b) under the GNU GPL, with none of the additional
80
+ permissions of this License applicable to that copy.
81
+
82
+ 3. Object Code
83
+ Incorporating Material from Library Header Files.
84
+
85
+ The object code form of an
86
+ Application may incorporate material from a header file that is part of the
87
+ Library. You may convey such object code under terms of your choice, provided
88
+ that, if the incorporated material is not limited to numerical parameters, data
89
+ structure layouts and accessors, or small macros, inline functions and templates
90
+ (ten or fewer lines in length), you do both of the following:
91
+
92
+ a) Give
93
+ prominent notice with each copy of the object code that the Library is used in it
94
+ and that the Library and its use are covered by this License.
95
+
96
+ b) Accompany
97
+ the object code with a copy of the GNU GPL and this license document.
98
+
99
+ 4.
100
+ Combined Works.
101
+
102
+ You may convey a Combined Work under terms of your choice
103
+ that, taken together, effectively do not restrict modification of the portions of
104
+ the Library contained in the Combined Work and reverse engineering for debugging
105
+ such modifications, if you also do each of the following:
106
+
107
+ a) Give
108
+ prominent notice with each copy of the Combined Work that the Library is used in
109
+ it and that the Library and its use are covered by this License.
110
+
111
+ b)
112
+ Accompany the Combined Work with a copy of the GNU GPL and this license
113
+ document.
114
+
115
+ c) For a Combined Work that displays copyright notices during
116
+ execution, include the copyright notice for the Library among these notices, as
117
+ well as a reference directing the user to the copies of the GNU GPL and this
118
+ license document.
119
+
120
+ d) Do one of the following:
121
+
122
+ 0) Convey the
123
+ Minimal Corresponding Source under the terms of this License, and the
124
+ Corresponding Application Code in a form suitable for, and under terms that
125
+ permit, the user to recombine or relink the Application with a modified version
126
+ of the Linked Version to produce a modified Combined Work, in the manner
127
+ specified by section 6 of the GNU GPL for conveying Corresponding Source.
128
+
129
+
130
+ 1) Use a suitable shared library mechanism for linking with the Library. A
131
+ suitable mechanism is one that (a) uses at run time a copy of the Library already
132
+ present on the user's computer system, and (b) will operate properly with a
133
+ modified version of the Library that is interface-compatible with the Linked
134
+ Version.
135
+
136
+ e) Provide Installation Information, but only if you would
137
+ otherwise be required to provide such information under section 6 of the GNU GPL,
138
+ and only to the extent that such information is necessary to install and execute
139
+ a modified version of the Combined Work produced by recombining or relinking the
140
+ Application with a modified version of the Linked Version. (If you use option
141
+ 4d0, the Installation Information must accompany the Minimal Corresponding Source
142
+ and Corresponding Application Code. If you use option 4d1, you must provide the
143
+ Installation Information in the manner specified by section 6 of the GNU GPL for
144
+ conveying Corresponding Source.)
145
+
146
+ 5. Combined Libraries.
147
+
148
+ You may place
149
+ library facilities that are a work based on the Library side by side in a single
150
+ library together with other library facilities that are not Applications and are
151
+ not covered by this License, and convey such a combined library under terms of
152
+ your choice, if you do both of the following:
153
+
154
+ a) Accompany the combined
155
+ library with a copy of the same work based on the Library, uncombined with any
156
+ other library facilities, conveyed under the terms of this License.
157
+
158
+ b)
159
+ Give prominent notice with the combined library that part of it is a work based
160
+ on the Library, and explaining where to find the accompanying uncombined form of
161
+ the same work.
162
+
163
+ 6. Revised Versions of the GNU Lesser General Public
164
+ License.
165
+
166
+ The Free Software Foundation may publish revised and/or new versions
167
+ of the GNU Lesser General Public License from time to time. Such new versions
168
+ will be similar in spirit to the present version, but may differ in detail to
169
+ address new problems or concerns.
170
+
171
+ Each version is given a distinguishing
172
+ version number. If the Library as you received it specifies that a certain
173
+ numbered version of the GNU Lesser General Public License "or any later version"
174
+ applies to it, you have the option of following the terms and conditions either
175
+ of that published version or of any later version published by the Free Software
176
+ Foundation. If the Library as you received it does not specify a version number
177
+ of the GNU Lesser General Public License, you may choose any version of the GNU
178
+ Lesser General Public License ever published by the Free Software Foundation.
179
+
180
+
181
+ If the Library as you received it specifies that a proxy can decide whether
182
+ future versions of the GNU Lesser General Public License shall apply, that
183
+ proxy's public statement of acceptance of any version is permanent authorization
184
+ for you to choose that version for the Library.
package/README.md ADDED
@@ -0,0 +1,63 @@
1
+ # CSpell British English (-ise) Dictionary
2
+
3
+ British English dictionary for cspell.
4
+
5
+ Use this dictionary if you do not want the (-ize) spelling variants commonly used in US English.
6
+
7
+ ## Requirements
8
+
9
+ | Tool | Version |
10
+ | ------------------------------------------------------------------------------------------------------------------------------------ | ------- |
11
+ | [cspell](https://github.com/streetsidesoftware/cspell) | `>= 6` |
12
+ | [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 2` |
13
+
14
+ ## Installation
15
+
16
+ Global Install and add to cspell global settings.
17
+
18
+ ```sh
19
+ npm install -g @cspell/dict-en-gb-ise
20
+ cspell link add @cspell/dict-en-gb-ise
21
+ ```
22
+
23
+ ## Uninstall from cspell
24
+
25
+ ```sh
26
+ cspell link remove @cspell/dict-en-gb-ise
27
+ ```
28
+
29
+ ## Manual Installation
30
+
31
+ The `cspell-ext.json` file in this package should be added to the import section in your cspell.json file.
32
+
33
+ ```javascript
34
+ {
35
+ // …
36
+ "import": ["@cspell/dict-en-gb-ise/cspell-ext.json"],
37
+ // …
38
+ }
39
+ ```
40
+
41
+ ## Adding Words
42
+
43
+ Please add any words to [src/additional_words.txt](https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/en_GB-ise/src/additional_words.txt) by making a pull request.
44
+
45
+ ## License
46
+
47
+ LGPL-3.0-or-later
48
+
49
+ > Some packages may have other licenses included.
50
+
51
+ <!--- @@inject: ../../static/footer.md --->
52
+
53
+ <br/>
54
+
55
+ ---
56
+
57
+ <p align="center">
58
+ Brought to you by <a href="https://streetsidesoftware.com" title="Street Side Software">
59
+ <img width="16" alt="Street Side Software Logo" src="https://i.imgur.com/CyduuVY.png" /> Street Side Software
60
+ </a>
61
+ </p>
62
+
63
+ <!--- @@inject-end: ../../static/footer.md --->
@@ -0,0 +1,27 @@
1
+ {
2
+ "id": "en-gb-ise",
3
+ "name": "English - British (-ise)",
4
+ "description": "British English (-ise) Dictionary",
5
+ "readonly": true,
6
+ "dictionaryDefinitions": [
7
+ {
8
+ "name": "en-gb",
9
+ "path": "./en_GB.trie.gz",
10
+ "repMap": [["'|`|’", "'"]],
11
+ "description": "British English Dictionary"
12
+ }
13
+ ],
14
+ "languageSettings": [
15
+ {
16
+ "languageId": "*",
17
+ "locale": "en-GB",
18
+ "patterns": [
19
+ {
20
+ "name": "possessive_s",
21
+ "pattern": "/'s\\b/gi"
22
+ }
23
+ ],
24
+ "dictionaries": ["en-gb"]
25
+ }
26
+ ]
27
+ }
package/en_GB.trie.gz ADDED
Binary file
package/package.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "@cspell/dict-en-gb-ise",
3
+ "version": "1.0.0",
4
+ "description": "British English (-ise) dictionary for cspell.",
5
+ "publishConfig": {
6
+ "access": "public",
7
+ "provenance": true
8
+ },
9
+ "exports": {
10
+ ".": "./cspell-ext.json",
11
+ "./cspell": "./cspell-ext.json",
12
+ "./cspell-ext.json": "./cspell-ext.json"
13
+ },
14
+ "scripts": {
15
+ "build": "cspell-tools-cli build && pnpm gz",
16
+ "conditional-build": "cspell-tools-cli build --conditional && pnpm gz",
17
+ "gz": "cspell-tools-cli gzip \"*.trie\"",
18
+ "prepare:dictionary": "pnpm gz",
19
+ "prepublishOnly": "echo pre-publish",
20
+ "test": "cspell -c ./cspell-ext.json --locale=en_gb --languageId=* \"tests\""
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://github.com/streetsidesoftware/cspell-dicts",
25
+ "directory": "dictionaries/en_GB-ise"
26
+ },
27
+ "keywords": [
28
+ "cspell",
29
+ "cspell-ext",
30
+ "en_GB",
31
+ "dictionary",
32
+ "spelling"
33
+ ],
34
+ "author": "Street Side Software <support@streetsidesoftware.nl>",
35
+ "license": "LGPL-3.0-or-later",
36
+ "bugs": {
37
+ "url": "https://github.com/streetsidesoftware/cspell-dicts/issues"
38
+ },
39
+ "homepage": "https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/en_GB#readme",
40
+ "files": [
41
+ "en_GB.trie.gz",
42
+ "cspell-ext.json",
43
+ "src/**/README_en_GB.txt"
44
+ ],
45
+ "directories": {
46
+ "test": "tests"
47
+ },
48
+ "devDependencies": {
49
+ "@cspell/aoo-mozilla-en-dict": "workspace:^",
50
+ "@cspell/dict-en-shared": "workspace:^"
51
+ },
52
+ "gitHead": "5aafcca7494be9a5a12cd68e3c34103a1973fe8b"
53
+ }