@valueerror/ltjs-lang-en 0.0.0-stage → 0.1.1

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.
Files changed (158) hide show
  1. package/LICENSE +232 -0
  2. package/NOTICE +10 -0
  3. package/README.md +25 -2
  4. package/index.js +34 -0
  5. package/licenses/LGPL-2.1.txt +504 -0
  6. package/licenses/english-pos-dict.pom.xml +135 -0
  7. package/licenses/resource_en_12dicts-readme.html +738 -0
  8. package/licenses/resource_en_agid-readme.txt +340 -0
  9. package/licenses/resource_en_pos-readme.txt +115 -0
  10. package/package.json +60 -4
  11. package/resource-root.js +4 -0
  12. package/resources/META-INF/org/languagetool/language-module.properties +1 -0
  13. package/resources/en-chunker.bin +0 -0
  14. package/resources/en-pos-maxent.bin +0 -0
  15. package/resources/en-token.bin +0 -0
  16. package/resources/org/languagetool/resource/en/12dicts-readme.html +738 -0
  17. package/resources/org/languagetool/resource/en/added.txt +446 -0
  18. package/resources/org/languagetool/resource/en/added_custom.txt +4 -0
  19. package/resources/org/languagetool/resource/en/agid-readme.txt +340 -0
  20. package/resources/org/languagetool/resource/en/compounds.txt +9059 -0
  21. package/resources/org/languagetool/resource/en/confusion_sets.txt +871 -0
  22. package/resources/org/languagetool/resource/en/disambiguation.xml +17238 -0
  23. package/resources/org/languagetool/resource/en/do-not-synthesize.txt +13 -0
  24. package/resources/org/languagetool/resource/en/en-US-GB.txt +4804 -0
  25. package/resources/org/languagetool/resource/en/en.sor +211 -0
  26. package/resources/org/languagetool/resource/en/english.dict +0 -0
  27. package/resources/org/languagetool/resource/en/english.info +8 -0
  28. package/resources/org/languagetool/resource/en/english_synth.dict +0 -0
  29. package/resources/org/languagetool/resource/en/english_synth.info +7 -0
  30. package/resources/org/languagetool/resource/en/english_tags.txt +88 -0
  31. package/resources/org/languagetool/resource/en/hunspell/en_AU.dict +0 -0
  32. package/resources/org/languagetool/resource/en/hunspell/en_AU.info +16 -0
  33. package/resources/org/languagetool/resource/en/hunspell/en_CA.dict +0 -0
  34. package/resources/org/languagetool/resource/en/hunspell/en_CA.info +13 -0
  35. package/resources/org/languagetool/resource/en/hunspell/en_GB.dict +0 -0
  36. package/resources/org/languagetool/resource/en/hunspell/en_GB.info +15 -0
  37. package/resources/org/languagetool/resource/en/hunspell/en_NZ.dict +0 -0
  38. package/resources/org/languagetool/resource/en/hunspell/en_NZ.info +18 -0
  39. package/resources/org/languagetool/resource/en/hunspell/en_US.dict +0 -0
  40. package/resources/org/languagetool/resource/en/hunspell/en_US.info +15 -0
  41. package/resources/org/languagetool/resource/en/hunspell/en_ZA.dict +0 -0
  42. package/resources/org/languagetool/resource/en/hunspell/en_ZA.info +16 -0
  43. package/resources/org/languagetool/resource/en/hunspell/ignore.txt +11070 -0
  44. package/resources/org/languagetool/resource/en/hunspell/prohibit.txt +383 -0
  45. package/resources/org/languagetool/resource/en/hunspell/prohibit_custom.txt +1 -0
  46. package/resources/org/languagetool/resource/en/hunspell/spelling.txt +477 -0
  47. package/resources/org/languagetool/resource/en/hunspell/spelling_custom.txt +1 -0
  48. package/resources/org/languagetool/resource/en/hunspell/spelling_en-AU.txt +34 -0
  49. package/resources/org/languagetool/resource/en/hunspell/spelling_en-CA.txt +28 -0
  50. package/resources/org/languagetool/resource/en/hunspell/spelling_en-GB.txt +44 -0
  51. package/resources/org/languagetool/resource/en/hunspell/spelling_en-NZ.txt +31 -0
  52. package/resources/org/languagetool/resource/en/hunspell/spelling_en-US.txt +41 -0
  53. package/resources/org/languagetool/resource/en/hunspell/spelling_en-ZA.txt +32 -0
  54. package/resources/org/languagetool/resource/en/hunspell/spelling_merged.txt +0 -0
  55. package/resources/org/languagetool/resource/en/multiwords.txt +8210 -0
  56. package/resources/org/languagetool/resource/en/pos-readme.txt +115 -0
  57. package/resources/org/languagetool/resource/en/removed.txt +31 -0
  58. package/resources/org/languagetool/resource/en/removed_custom.txt +4 -0
  59. package/resources/org/languagetool/resource/en/specific_case.txt +5621 -0
  60. package/resources/org/languagetool/resource/en/word_definitions.txt +1510 -0
  61. package/resources/org/languagetool/rules/en/coherency.txt +2501 -0
  62. package/resources/org/languagetool/rules/en/contractions.txt +198 -0
  63. package/resources/org/languagetool/rules/en/det_a.txt +959 -0
  64. package/resources/org/languagetool/rules/en/det_an.txt +4080 -0
  65. package/resources/org/languagetool/rules/en/diacritics.txt +1415 -0
  66. package/resources/org/languagetool/rules/en/en-AU/grammar.xml +171 -0
  67. package/resources/org/languagetool/rules/en/en-CA/grammar.xml +197 -0
  68. package/resources/org/languagetool/rules/en/en-GB/grammar.xml +555 -0
  69. package/resources/org/languagetool/rules/en/en-GB/replace.txt +104 -0
  70. package/resources/org/languagetool/rules/en/en-GB/style.xml +302 -0
  71. package/resources/org/languagetool/rules/en/en-NZ/grammar.xml +171 -0
  72. package/resources/org/languagetool/rules/en/en-NZ/replace.txt +5 -0
  73. package/resources/org/languagetool/rules/en/en-US/grammar.xml +913 -0
  74. package/resources/org/languagetool/rules/en/en-US/replace.txt +74 -0
  75. package/resources/org/languagetool/rules/en/en-US/style.xml +524 -0
  76. package/resources/org/languagetool/rules/en/grammar-l2-de.xml +227 -0
  77. package/resources/org/languagetool/rules/en/grammar-l2-fr.xml +39 -0
  78. package/resources/org/languagetool/rules/en/grammar.xml +142537 -0
  79. package/resources/org/languagetool/rules/en/redundancies.txt +866 -0
  80. package/resources/org/languagetool/rules/en/remote-rule-filters.xml +3622 -0
  81. package/resources/org/languagetool/rules/en/replace.txt +221 -0
  82. package/resources/org/languagetool/rules/en/replace_custom.txt +7 -0
  83. package/resources/org/languagetool/rules/en/replace_profanity.txt +540 -0
  84. package/resources/org/languagetool/rules/en/style.xml +12556 -0
  85. package/resources/org/languagetool/rules/en/synonyms.txt +42 -0
  86. package/resources/org/languagetool/rules/en/wordiness.txt +1061 -0
  87. package/resources/org/languagetool/rules/en/wrongWordInContext.txt +14 -0
  88. package/src/lang/en/chunking/EnglishChunkFilter.js +108 -0
  89. package/src/lang/en/chunking/EnglishChunker.js +135 -0
  90. package/src/lang/en/language/AmericanEnglish.js +73 -0
  91. package/src/lang/en/language/AustralianEnglish.js +42 -0
  92. package/src/lang/en/language/BritishEnglish.js +91 -0
  93. package/src/lang/en/language/CanadianEnglish.js +70 -0
  94. package/src/lang/en/language/English.js +398 -0
  95. package/src/lang/en/language/NewZealandEnglish.js +44 -0
  96. package/src/lang/en/language/SouthAfricanEnglish.js +40 -0
  97. package/src/lang/en/language/id2prioBritishEnglish.js +6 -0
  98. package/src/lang/en/language/id2prioEnglish.js +333 -0
  99. package/src/lang/en/rules/AbstractEnglishSpellerRule.js +677 -0
  100. package/src/lang/en/rules/AbstractEnglishSpellerRuleData.js +778 -0
  101. package/src/lang/en/rules/AdvancedSynthesizerFilter.js +12 -0
  102. package/src/lang/en/rules/AdverbFilter.js +538 -0
  103. package/src/lang/en/rules/AmericanReplaceRule.js +57 -0
  104. package/src/lang/en/rules/AvsAnData.js +37 -0
  105. package/src/lang/en/rules/AvsAnRule.js +182 -0
  106. package/src/lang/en/rules/BritishReplaceRule.js +57 -0
  107. package/src/lang/en/rules/CompoundRule.js +150 -0
  108. package/src/lang/en/rules/ConsistentApostrophesRule.js +87 -0
  109. package/src/lang/en/rules/ContractionSpellingRule.js +64 -0
  110. package/src/lang/en/rules/DateCheckFilter.js +58 -0
  111. package/src/lang/en/rules/DateFilterHelper.js +51 -0
  112. package/src/lang/en/rules/EnglishConvertToSentenceCaseFilter.js +17 -0
  113. package/src/lang/en/rules/EnglishDashRule.js +42 -0
  114. package/src/lang/en/rules/EnglishDiacriticsRule.js +67 -0
  115. package/src/lang/en/rules/EnglishMultitokenSpeller.js +15 -0
  116. package/src/lang/en/rules/EnglishNumberInWordFilter.js +38 -0
  117. package/src/lang/en/rules/EnglishPartialPosTagFilter.js +29 -0
  118. package/src/lang/en/rules/EnglishPlainEnglishRule.js +67 -0
  119. package/src/lang/en/rules/EnglishRedundancyRule.js +67 -0
  120. package/src/lang/en/rules/EnglishRepeatedWordsRule.js +212 -0
  121. package/src/lang/en/rules/EnglishSpecificCaseRule.js +47 -0
  122. package/src/lang/en/rules/EnglishSuppressMisspelledSuggestionsFilter.js +12 -0
  123. package/src/lang/en/rules/EnglishUnpairedBracketsRule.js +25 -0
  124. package/src/lang/en/rules/EnglishUnpairedQuotesRule.js +41 -0
  125. package/src/lang/en/rules/EnglishWordRepeatBeginningRule.js +107 -0
  126. package/src/lang/en/rules/EnglishWordRepeatRule.js +126 -0
  127. package/src/lang/en/rules/EnglishWrongWordInContextRule.js +50 -0
  128. package/src/lang/en/rules/FindSuggestionsFilter.js +41 -0
  129. package/src/lang/en/rules/FutureDateFilter.js +25 -0
  130. package/src/lang/en/rules/LongSentenceRule.js +19 -0
  131. package/src/lang/en/rules/MorfologikAmericanSpellerRule.js +69 -0
  132. package/src/lang/en/rules/MorfologikAustralianSpellerRule.js +45 -0
  133. package/src/lang/en/rules/MorfologikBritishSpellerRule.js +47 -0
  134. package/src/lang/en/rules/MorfologikCanadianSpellerRule.js +45 -0
  135. package/src/lang/en/rules/MorfologikNewZealandSpellerRule.js +45 -0
  136. package/src/lang/en/rules/MorfologikSouthAfricanSpellerRule.js +45 -0
  137. package/src/lang/en/rules/NewYearDateFilter.js +25 -0
  138. package/src/lang/en/rules/NewZealandReplaceRule.js +56 -0
  139. package/src/lang/en/rules/NoDisambiguationEnglishPartialPosTagFilter.js +24 -0
  140. package/src/lang/en/rules/OrdinalSuffixFilter.js +33 -0
  141. package/src/lang/en/rules/SimpleReplaceProfanityRule.js +55 -0
  142. package/src/lang/en/rules/SimpleReplaceRule.js +46 -0
  143. package/src/lang/en/rules/StyleTooOftenUsedAdjectiveRule.js +58 -0
  144. package/src/lang/en/rules/StyleTooOftenUsedNounRule.js +58 -0
  145. package/src/lang/en/rules/StyleTooOftenUsedVerbRule.js +58 -0
  146. package/src/lang/en/rules/UnitConversionRule.js +47 -0
  147. package/src/lang/en/rules/UnitConversionRuleImperial.js +57 -0
  148. package/src/lang/en/rules/UnitConversionRuleUS.js +62 -0
  149. package/src/lang/en/rules/VariantInfo.js +23 -0
  150. package/src/lang/en/rules/WordCoherencyRule.js +40 -0
  151. package/src/lang/en/rules/YMDDateCheckFilter.js +25 -0
  152. package/src/lang/en/rules/YMDNewYearDateFilter.js +25 -0
  153. package/src/lang/en/rules/translation/BeoLingusTranslator.js +357 -0
  154. package/src/lang/en/rules/translation/Inflector.js +72 -0
  155. package/src/lang/en/synthesis/EnglishSynthesizer.js +109 -0
  156. package/src/lang/en/tagging/EnglishHybridDisambiguator.js +28 -0
  157. package/src/lang/en/tagging/EnglishTagger.js +78 -0
  158. package/src/lang/en/tokenizers/EnglishWordTokenizer.js +113 -0
@@ -0,0 +1,383 @@
1
+ # Words to be marked as spelling errors even if the spell checker
2
+ # accepts them. Useful to improve the spell checker without touching
3
+ # its files (which are usually not from LT).
4
+ # For the opposite (accept words), see spelling.txt.
5
+ ad-on
6
+ ad-ons
7
+ al
8
+ de
9
+ easter
10
+ enfranchize
11
+ enfranchizes
12
+ enfranchized
13
+ enfranchizing
14
+ es
15
+ et
16
+ facto
17
+ # misspelling of 'for a':
18
+ fora
19
+ # Refer to https://forum.languagetool.org/t/en-new-rule-proper-noun-misspelt-as-gmail/1116
20
+ gmail
21
+ grand-daughter
22
+ grand-daughters
23
+ grand-father
24
+ grand-fathers
25
+ grand-mother
26
+ grand-mothers
27
+ grand-son
28
+ grand-sons
29
+ # In BrE and in AmE, the verb is 'improvise':
30
+ improvize
31
+ improvized
32
+ improvizer
33
+ improvizes
34
+ improvizing
35
+ ing
36
+ # seems to be very rare and is a potential misspelling of 'means':
37
+ meas
38
+ maladjust
39
+ nauseam
40
+ ne
41
+ nigga
42
+ niggas
43
+ personnels
44
+ # should be built-in
45
+ builtin
46
+ build-in
47
+ amazon
48
+ froward
49
+ nerver
50
+ heigh
51
+ # brank is normally used in plural (branks), also it's Scottish and archaic, easily confused with "bank", "blank", "rank", "crank" etc.
52
+ brank
53
+ sin-off
54
+ sin-offs
55
+ Sin-off
56
+ Sin-offs
57
+ sing-up
58
+ sing-in
59
+ someones
60
+ somethings
61
+ anythings
62
+ na
63
+ pre-requisite
64
+ pre-requisites
65
+ Nescafe
66
+ # Has to be T-Mobile / T-Systems
67
+ t-mobile
68
+ T-mobile
69
+ t-systems
70
+ T-systems
71
+ dc
72
+ fo
73
+ multi-task
74
+ multi-tasks
75
+ multi-tasked
76
+ multi-tasking
77
+ # commentor: AmE only, issue 3195
78
+ commentor
79
+ commentors
80
+ dim-wit
81
+ dim-wits
82
+ nit-wit
83
+ nit-wits
84
+ # It is "K-pop" https://www.merriam-webster.com/dictionary/K-pop
85
+ k-pop
86
+ mean-time
87
+ back-log
88
+ christian
89
+ editor-in-chiefs
90
+ supp
91
+ soom
92
+ c-span
93
+ c-Span
94
+ C-Span
95
+ well-planed
96
+ # https://github.com/languagetool-org/languagetool/issues/3602
97
+ mt
98
+ hurst
99
+ hursts
100
+ # confusion of 'sell'
101
+ sel
102
+ # confusion of 'when' and 'went'
103
+ wen
104
+ # confusion of 'pull'
105
+ pul
106
+ # confusion of 'say'
107
+ sai
108
+ # confusion of 'misses'
109
+ mises
110
+ # confusion of 'fill'
111
+ fil
112
+ # confusion of 'fills'
113
+ fils
114
+ # confusion of 'came' / 'comes'
115
+ cames
116
+ # confusion of 'sat', 'got', 'get'
117
+ gat
118
+ # confusion of 'threw'
119
+ thew
120
+ # confusion of 'include'
121
+ incluse
122
+ # confusion of 'includes'
123
+ incluses
124
+ # confusion of 'Henry'
125
+ henry
126
+ # colloqiual of "your"
127
+ Ur
128
+ bended
129
+ jonny-come-lately
130
+ jonny-come-latelies
131
+ Jonny-come-lately
132
+ Jonny-come-latelies
133
+ Jonny-Come-Lately
134
+ Jonny-Come-Latelies
135
+ # confusion of 'not'
136
+ noy
137
+ # confusion of 'fucus'
138
+ fucus
139
+ # confusion of 'life-changing'
140
+ live-changing
141
+ live-affirming
142
+ # confusion of 'live-streaming'
143
+ life-streaming
144
+ life-stream
145
+ life-streamed
146
+ life-streams
147
+ # confusion of 'on-the-fly'
148
+ on-they-fly
149
+ # confusion of 'you' or 'yours'
150
+ yous
151
+ avant-grade
152
+ avant-grades
153
+ breathe-taking
154
+ breathe-takingly
155
+ face-book
156
+ whats-app
157
+ mid-may
158
+ mid-august
159
+ mid-march
160
+ mid-west
161
+ # confusion of "which"
162
+ wich
163
+ # confusion of "need"
164
+ ned
165
+ # confusion of "brough"
166
+ brough
167
+ # confusion of "compliant"
168
+ privacy-complaint
169
+ standard-complaint
170
+ standards-complaint
171
+ non-complaint
172
+ GDPR-complaint
173
+ HIPAA-complaint
174
+ HIPPA-complaint
175
+ HIPPA-compliant
176
+ # confusion of "free"
177
+ smoke-fee
178
+ risk-fee
179
+ sugar-fee
180
+ anxiety-fee
181
+ tuition-fee
182
+ wind-fee
183
+ context-fee
184
+ hassle-fee
185
+ gluten-fee
186
+ clutter-fee
187
+ # confusion of "make"
188
+ mae
189
+ every-lasting
190
+ every-changing
191
+ # confusion of "bare-boned" and "bare-bones"
192
+ bare-bone
193
+ # confusion of "through"
194
+ walk-though
195
+ walk-trough
196
+ break-though
197
+ break-trough
198
+ strike-though
199
+ strike-trough
200
+ pass-though
201
+ pass-trough
202
+ feed-though
203
+ feed-trough
204
+ read-though
205
+ read-trough
206
+ play-though
207
+ play-trough
208
+ sell-though
209
+ sell-trough
210
+ click-though
211
+ click-trough
212
+ # confusion of "been"
213
+ ben
214
+ president-elected
215
+ thee-way
216
+ thee-day
217
+ thee-year-old
218
+ thee-month-old
219
+ thee-week-old
220
+ thee-year
221
+ thee-week
222
+ thee-month
223
+ died-in-the-wool
224
+ did-in-the-wool
225
+ diet-in-the-wool
226
+ above-mention
227
+ below-mention
228
+ purpose-build
229
+ alcohol-fee
230
+ tickle-down
231
+ # confusion of "near-death"
232
+ near-dead
233
+ # confusion of "waist"/"waste"
234
+ wast
235
+ Christoper
236
+ roll-play
237
+ roll-plays
238
+ roll-played
239
+ roll-playing
240
+ # confusion of did
241
+ dit
242
+ # confusion of rather, also archaic
243
+ rathe
244
+ # confusion of "like"
245
+ loke
246
+ # confusion of "treat"
247
+ tret
248
+ # confusion of "see"
249
+ ser
250
+ # confusion of "world"/"word"
251
+ wold-wide
252
+ word-wide
253
+ wold-famous
254
+ word-famous
255
+ wold-renowned
256
+ word-renowned
257
+ real-wold
258
+ real-word
259
+ first-wold
260
+ third-wold
261
+ third-word
262
+ wold-class
263
+ word-class
264
+ wold-leading
265
+ word-leading
266
+ wold-weary
267
+ word-weary
268
+ wold-changing
269
+ word-changing
270
+ wold-shaking
271
+ word-shaking
272
+ wold-beating
273
+ word-beating
274
+ u-boat
275
+ u-boats
276
+ ne
277
+ erst
278
+ a-lot
279
+ ope
280
+ opes
281
+ oped
282
+ oping
283
+ many-too-many
284
+ one-too-many
285
+ one-too-one
286
+ PCI-complaint
287
+ up-2-date
288
+ up-to-data
289
+ up-2-data
290
+ rip-of
291
+ rip-ofs
292
+ show-of
293
+ show-ofs
294
+ spin-of
295
+ spin-ofs
296
+ take-of
297
+ take-ofs
298
+ sign-of
299
+ sign-ofs
300
+ write-of
301
+ write-ofs
302
+ pay-of
303
+ pay-ofs
304
+ run-of
305
+ run-ofs
306
+ hand-of
307
+ hand-ofs
308
+ drop-of
309
+ drop-ofs
310
+ kick-of
311
+ kick-ofs
312
+ lay-of
313
+ lay-ofs
314
+ shut-ofs
315
+ shut-of
316
+ cut-of
317
+ cut-ofs
318
+ rub-of
319
+ rub-ofs
320
+ stand-of
321
+ stand-ofs
322
+ trade-of
323
+ trade-ofs
324
+ send-of
325
+ send-ofs
326
+ brush-of
327
+ brush-ofs
328
+ turn-of
329
+ turn-ofs
330
+ lift-of
331
+ lift-ofs
332
+ 1-moth
333
+ 2-moth
334
+ 2-moths
335
+ 3-moth
336
+ 3-moths
337
+ 4-moth
338
+ 4-moths
339
+ 5-moth
340
+ 5-moths
341
+ 6-moth
342
+ 6-moths
343
+ 7-moth
344
+ 7-moths
345
+ 8-moth
346
+ 8-moths
347
+ 9-moth
348
+ 9-moths
349
+ 10-moth
350
+ 10-moths
351
+ 11-moth
352
+ 11-moths
353
+ 12-moth
354
+ 12-moths
355
+ hands-fee
356
+ weest
357
+ Doo
358
+ one-of
359
+ Sargent
360
+ no-profit
361
+ bran-new
362
+ ice-cod
363
+ ice-could
364
+ none-complaint
365
+ none-profit
366
+ none-profits
367
+ add-blocker
368
+ add-blockers
369
+ Hanuka
370
+ bing-watch
371
+ bing-watches
372
+ bing-watched
373
+ bing-watching
374
+ tickle-down
375
+ trickled-down
376
+ ins
377
+ context-ware
378
+ withing
379
+ long-tern
380
+ mid-tern
381
+ short-tern
382
+ Quillbot
383
+ Quilbot
@@ -0,0 +1 @@
1
+ # Add terms here that should *not* be accepted by the LanguageTool spell checker, one word (or phrase) per line