]> git.donarmstrong.com Git - deb_pkgs/scowl.git/blob - README.in
Set Multi-Arch: foreign
[deb_pkgs/scowl.git] / README.in
1 Spell Checking Oriented Word Lists (SCOWL)
2 @`if [ "$SCOWL_VERSION" ]; then echo -n "Version $SCOWL_VERSION"; fi`
3 @`git log --pretty=format:'%cd [%h]' -n 1 --`
4 by Kevin Atkinson (kevina@gnu.org)
5
6 The SCOWL is a collection of word lists split up in various sizes, and
7 other categories, intended to be suitable for use in spell checkers.
8 However, I am sure it will have numerous other uses as well.
9
10 The latest version can be found at http://wordlist.aspell.net/.
11
12 The directory final/ contains the actual word lists broken up into
13 various sizes and categories.  The r/ directory contains Readmes from
14 the various sources used to create this package.
15
16 The misc/ contains a small list of taboo words, see the README file
17 for more info.  The speller/ directory contains scripts for creating
18 spelling dictionaries for Aspell and Hunspell.
19
20 The other directories contain the necessary information to recreate the
21 word lists from the raw data.  Unless you are interested in improving the
22 words lists you should not need to worry about what's here.  See the
23 section on recreating the words lists for more information on what's
24 there.
25
26 Except for the special word lists the files follow the following
27 naming convention:
28   <spelling category>-<sub-category>.<size>
29 Where the spelling category is one of
30   english, american, british, british_z, canadian, australian
31   variant_1, variant_2, variant_3,
32   british_variant_1, british_variant_2, 
33   canadian_variant_1, canadian_variant_2,
34   australian_variant_1, australian_variant_2
35 Sub-category is one of
36   abbreviations, contractions, proper-names, upper, words
37 And size is one of
38   10, 20, 35 (small), 40, 50 (medium), 55, 60, 70 (large), 
39   80 (huge), 95 (insane)
40 The special word lists follow are in the following format:
41   special-<description>.<size>
42 Where description is one of:
43   roman-numerals, hacker
44
45 The perl script "mk-list" can be used to create a word list of the
46 desired size, its usage is:
47   ./mk-list [-f] [-v#] <spelling categories> <size>
48 where <spelling categories> is one of the above spelling categories
49 (the english and special categories are automatically included as well
50 as all sub-categories) and <size> is the desired size.  The
51 "-v" option can be used to also include the appropriate
52 variants file up to level '#'.  The normal output will be a sorted
53 word list.  If you rather see what files will be included, use the
54 "-f" option.
55
56 When manually combining the words lists the "english" spelling
57 category should be used as well as one of "american", "british",
58 "british_z" (british with ize spelling), "canadian" or "australian".
59 Great care has been taken so that only one spelling for any particular
60 word is included in the main list (with some minor exceptions).  When
61 two variants were considered equal I randomly picked one for inclusion
62 in the main word list.  Unfortunately this means that my choice in how
63 to spell a word may not match your choice.  If this is the case you
64 can try including one of the "variant_1" spelling categories which
65 includes most variants which are considered almost equal.  The
66 "variant_1" spelling category corresponds mostly to American variants,
67 while the "british_variant_1", "canadian_variant_1" and
68 "australian_variant_1" are for British, Canadian and Australian
69 variants, respectively.  The "variant_2" spelling categories include
70 variants which are also generally considered acceptable, and
71 "variant_3" contains variants which are seldom used and may not even
72 be considered correct.  There is no "british_variant_3",
73 "canadian_variant_3" or "australian_variant_3" spelling category since
74 the distinction would be almost meaningless.
75
76 The "abbreviation" category includes abbreviations and acronyms which
77 are not also normal words. The "contractions" category should be self
78 explanatory. The "upper" category includes upper case words and proper
79 names which are common enough to appear in a typical dictionary. The
80 "proper-names" category includes all the additional uppercase words.
81 Finally the "words" category contains all the normal English words.
82
83 To give you an idea of what the words in the various sizes look like
84 here is a sample of 25 random words found only in that size:
85
86 @`src/rand-samples | iconv -f iso-8859-1 -t utf-8`
87
88 And here is a count on the number of words in each spelling category
89 (american + english spelling category):
90
91 @`src/count`
92
93 (The "Words" column does not include the name count.)
94
95 Size 35 is the recommended small size, 50 the medium and 70 the large.
96 Sizes 70 and below contain words found in most dictionaries while the
97 80 size contains all the strange and unusual words people like to use
98 in word games such as Scrabble (TM).  While a lot of the words in the
99 80 size are not used very often, they are all generally considered
100 valid words in the English language.  The 95 contains just about every
101 English word in existence and then some.  Many of the words at the 95
102 level will probably not be considered valid English words by most
103 people.
104
105 For spell checking I recommend using size 60.  This size is the
106 largest size that I am fairly confident does not contain any
107 misspellings or invalid words.  In addition an effort is made to
108 exclude valid yet problematic words (such as "calender") from the 60
109 size that are likely to be a misspelling of a more common word.  The
110 70 size is reasonable for those wanting a larger list and don't mind a
111 few errors.  The 80 or larger sizes are not reasonable for spell
112 checking.
113
114 Accents are present on certain words such as cafĂ© in iso8859-1 format.
115
116 CHANGES:
117
118 From Version 2017.08.24 to 2018.04.16
119
120   Various new words.
121
122   Fix build problems on macOS.
123
124 From Version 2017.01.22 to 2017.08.24
125
126   Various new words.
127
128 From Version 2016.11.20 to 2017.01.22
129
130   Various new words.
131
132 From Version 2016.06.26 to 2016.11.20
133
134   New Australian spelling category thanks to the work of Benjamin
135   Titze (btitze@protonmail.ch)
136
137   Various new words.
138
139 From Version 2016.01.19 to 2016.06.26
140
141   Various new words.
142
143   Updated to Version 6.0.2 of 12dicts
144
145   Other minor changes.
146
147 From Version 2015.08.24 to 2016.01.19
148
149   Various new words.
150
151   Clarified README to indicate why the 60 size is the preferred size
152   for spell checking.
153
154   Remove some very uncommon possessive forms.
155
156   Change "SET UTF8" to "SET UTF-8" in hunspell affix file.
157
158 From Version 2015.05.18 to 2015.08.24 (Aug 24, 2015)
159
160   Various new words.
161
162 From Version 2015.04.24 to 2015.05.18 (May 18, 2015)
163
164   Added some new words found to have a high frequency in the COCA
165   corpus.  (http://corpus.byu.edu/coca/).
166
167   Fix en spelling suggestions for 'alot' and 'exersize' in hunspell
168   dictionary (upstreamed from the changes made in Firefox).
169
170 From Version 2015.02.15 to 2015.04.24 (April 24, 2015)
171
172   Added some new words.
173
174   Convert hunspell dictionary to UTF-8 in order to handle smart
175   quotes correctly.
176
177 From Version 2015.01.28 to 2015.02.15 (February 15, 2015)
178
179   Added a large number of neologisms (newly invented words)
180   such as "selfie" and "smartwatch" thanks to Alan Beale.
181
182   Various other new words.
183
184   Clean up the special-hacker category by removing some words that
185   didn't exist in the Google Book's Corpus (1980 - 2008) and
186   originated from the "Unofficial Jargon File Word Lists".
187
188 From Version 2014.11.17 to 2015.01.28 (January 28, 2015)
189
190   Various new words, many from analyzing the Google Book's Corpus
191   (1980 - 2008).  See http://app.aspell.net/lookup-freq.
192
193   Moved some uncommon words that can easily hide a misspelling of a
194   more common word to level 70.  (calender, adrenalin and Joesph)
195
196   Removed several -er and -est forms from adjectives that were so
197   uncommon that they were not found anywhere is the Google Book's
198   Corpus (1980 - 2008).
199
200 From Version 2014.08.11.1 to 2014.11.17 (November 17, 2014)
201
202   Various new words.
203
204   Fix typo in Hunspell readme.
205
206 From Version 2014.08.11 to 2014.08.11.1 (August 13, 2014)
207
208   Forgot to mention this important change from 7.1 to 2014.08.11:
209
210     Shifted the variant levels up by one: variant_0 is now variant_1,
211     variant_1 is now variant_2, and variant_2 is now variant_3.
212
213   Other minor fixes in this README.
214
215   No changes to the contents of the lists.
216
217 From Revision 7.1 to Version 2014.08.11 (August 11, 2014)
218
219   Added some missing possessive forms.
220
221   Added some new words and proper names.
222
223   Clean up the categories (words, upper, proper-names etc) so that they
224   are more accurate.
225
226   Convert documentation to UTF-8.  For now, the wordlist are still in
227   ISO-8859-1 to prevent compatibility problems.
228
229   Add schema and scripts for creating a SQLite database from SCOWL.
230   Add some utility and library functions using them.  This database is
231   used by the new web app's (http://app.aspell.net/lookup & create).
232
233   Enhance speller/make-hunspell-dict.  The biggest improvement is that
234   it that it now generates several more dictionaries in addition to
235   the official ones.  These additional dictionaries are ones for
236   British English and larger dictionaries that include up to SCOWL
237   size 70.
238
239 From Revision 7 to 7.1 (January 6, 2011)
240
241   Updated to revision 5.1 of Varcon which corrected several errors.
242
243   Fixed various problems with the variant processing which corrected a
244   few more errors.
245
246   Added several now common proper names and some other words now
247   in common use.
248
249   Include misc/ and speller/ directory which were in SVN but left
250   out of the release tarball.
251
252   Other minor fixes, including some fixes to the taboo word lists.
253
254 From Revision 6 to 7 (December 27, 2010)
255
256   Updated to revision 5.0 of Varcon which corrected many errors,
257   especially in the British and Canadian spelling categories.  Also
258   added new spelling categories for the British and Canadian spelling
259   variants and separated them out from the main variant_* categories.
260   
261   Moved Moby names lists (3897male.nam 4946fema.len 21986na.mes) to 95
262   level since they contain too many errors and rare names.
263
264   Moved frequently class 0 from Brian Kelk's Wordlist from 
265   level 60 to 70, and also filter it with level 80 due to, too many
266   misspellings.
267
268   Many other minor fixes.
269
270 From Revision 5 to 6 (August 10, 2004)
271
272   Updated to version 4.0 of the 12dicts package.
273
274   Included the 3esl, 2of4brif, and 5desk list from the new 12dicts
275   package.  The 3esl was included in the 40 size, the 2of4brif in the
276   55 size and the 5desk in the 70 size.
277
278   Removed the Ispell word list as it was a source of too many errors.
279   This eliminated the 65 size.
280
281   Removed clause 4 from the Ispell copyright with permission of Geoff
282   Kuenning.
283
284   Updated to version 4.1 of VarCon.
285
286   Added the "british_z" spelling category which is British using the
287   "ize" spelling.
288
289 From Revision 4a to 5 (January 3, 2002)
290
291   Added variants that were not really spelling variants (such as
292   forwards) back into the main list.
293
294   Fixed a bug which caused variants of words to incorrectly appear in
295   the non-variant lists.
296
297   Moved rarely used inflections of a word into higher number lists.
298
299   Added other inflections of a words based on the following criteria
300     If the word is in the base form: only include that word.
301     If the word is in a plural form: include the base word and the plural
302     If the word is a verb form (other than plural):  include all verb forms
303     If the word is an ad* form: include all ad* forms
304     If the word is in a possessive form: also include the non-possessive
305
306   Updated to the latest version of many of the source dictionaries.
307
308   Removed the DEC Word List due to the questionable licence and
309   because removing it will not seriously decrease the quality of SCOWL
310   (there are a few less proper names).  
311
312 From Revision 4 to 4a (April 4, 2001)
313
314   Reran the scripts on a never version of AGID (3a) which fixes a bug
315   which caused some common words to be improperly marked as variants.
316
317 From Revision 3 to 4 (January 28, 2001)
318
319   Split the variant "spelling category" up into 3 different levels.
320   
321   Added words in the Ispell word list at the 65 level.
322
323   Other changes due to using more recent versions of various sources
324   included a more accurate version of AGID thanks to the work of
325   Alan Beale
326
327 From Revision 2 to 3 (August 18, 2000)
328
329   Renamed special-unix-terms to special-hacker and added a large
330   number of commonly used words within the hacker (not cracker)
331   community.
332
333   Added a couple more signature words including "newbie".
334
335   Minor changes due to changes in the inflection database.
336
337 From Revision 1 to 2 (August 5, 2000)
338
339   Moved the male and female name lists from the mwords package and the
340   DEC name lists form the 50 level to the 60 level and moved Alan's
341   name list from the 60 level to the 50 level.  Also added the top
342   1000 male, female, and last names from the 1990 Census report to the
343   50 level.  This reduced the number of names in the 50 level from
344   17,000 to 7,000.
345
346   Added a large number of Uppercase words to the 50 level.
347
348   Properly accented the possessive form of some words.
349
350   Minor other changes due to changes in my raw data files which have
351   not been released yet.  Email if you are interested in these files.
352
353 COPYRIGHT, SOURCES, and CREDITS:
354
355 @`cat Copyright`
356
357 The variant word lists were created from a list of variants found in
358 the 12dicts supplement package as well as a list of variants I created
359 myself.
360
361 The Readmes for the various packages used can be found in the
362 appropriate directory under the r/ directory.
363
364 FUTURE PLANS:
365
366 The process of "sort"s, "comm"s, and Perl scripts to combine the many
367 word lists and separate out the variant information is inexact and
368 error prone.  The whole things needs to be rewritten to deal with
369 words in terms of lemmas.  When the exact lemma is not known a best
370 guess should be made.  I'm not sure what form this should be in.  I
371 originally thought this should be some sort of database, but maybe I
372 should just slurp all that data into memory and process it in one
373 giant perl script.  With the amount of memory available these days (at
374 least 2 GB, often 4 GB or more) this should not really be a problem.
375
376 In addition, there is a very nice frequency analyze of the BNC corpus
377 done by Adam Kilgarriff.  Unlike Brian's word lists the BNC lists
378 include part of speech information.  I plan on somehow using these
379 lists as Adam Kilgarriff has given me the OK to use it in SCOWL.
380 These lists will greatly reduce the problem of inflected forms of a
381 word appearing at different levels due to the part-of-speech
382 information.
383
384 There is frequency information for some other corpus such as COCA
385 (Corpus of Contemporary American English) and ANS (American National
386 Corpus) which I might also be able to use.  The former will require
387 permission, and the latter is of questionable quality.
388
389 RECREATING THE WORD LISTS:
390
391 In order to recreate the word lists you need a modern version of Perl,
392 bash, the traditional set of shell utilities, a system that supports
393 symbolic links, and quite possibly GNU Make.  The easiest way to
394 recreate the word lists is to checkout the corresponding Git version
395 (see the version string at the start of the file) and simply type
396 "make" (see http://wordlist.aspell.net).  You can try to download all
397 the pieces manually, but this method is not no longer tested nor
398 supported.
399
400 The src/ directory contains the numerous scripts used in the creation
401 of the final product. 
402
403 The r/ directory contains the raw data used to create the final
404 product.  If you checkout from Git this directory should be populated
405 automatically for you.  If you insist on doing it the hard way see the
406 README file in the r/ directory for more information.
407
408 The l/ directory contains symbolic links used by the actual scripts.
409
410 Finally, the working/ directory is where all the intermittent files go
411 that are not specific to one source.