]> git.donarmstrong.com Git - deb_pkgs/scowl.git/blob - README.in
fix numbering of variants to be 1 and 2 (closes: #867586)
[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 2016.11.20 to 2017.01.22
119
120   Various new words.
121
122 From Version 2016.06.26 to 2016.11.20
123
124   New Australian spelling category thanks to the work of Benjamin
125   Titze (btitze@protonmail.ch)
126
127   Various new words.
128
129 From Version 2016.01.19 to 2016.06.26
130
131   Various new words.
132
133   Updated to Version 6.0.2 of 12dicts
134
135   Other minor changes.
136
137 From Version 2015.08.24 to 2016.01.19
138
139   Various new words.
140
141   Clarified README to indicate why the 60 size is the preferred size
142   for spell checking.
143
144   Remove some very uncommon possessive forms.
145
146   Change "SET UTF8" to "SET UTF-8" in hunspell affix file.
147
148 From Version 2015.05.18 to 2015.08.24 (Aug 24, 2015)
149
150   Various new words.
151
152 From Version 2015.04.24 to 2015.05.18 (May 18, 2015)
153
154   Added some new words found to have a high frequency in the COCA
155   corpus.  (http://corpus.byu.edu/coca/).
156
157   Fix en spelling suggestions for 'alot' and 'exersize' in hunspell
158   dictionary (upstreamed from the changes made in Firefox).
159
160 From Version 2015.02.15 to 2015.04.24 (April 24, 2015)
161
162   Added some new words.
163
164   Convert hunspell dictionary to UTF-8 in order to handle smart
165   quotes correctly.
166
167 From Version 2015.01.28 to 2015.02.15 (February 15, 2015)
168
169   Added a large number of neologisms (newly invented words)
170   such as "selfie" and "smartwatch" thanks to Alan Beale.
171
172   Various other new words.
173
174   Clean up the special-hacker category by removing some words that
175   didn't exist in the Google Book's Corpus (1980 - 2008) and
176   originated from the "Unofficial Jargon File Word Lists".
177
178 From Version 2014.11.17 to 2015.01.28 (January 28, 2015)
179
180   Various new words, many from analyzing the Google Book's Corpus
181   (1980 - 2008).  See http://app.aspell.net/lookup-freq.
182
183   Moved some uncommon words that can easily hide a misspelling of a
184   more common word to level 70.  (calender, adrenalin and Joesph)
185
186   Removed several -er and -est forms from adjectives that were so
187   uncommon that they were not found anywhere is the Google Book's
188   Corpus (1980 - 2008).
189
190 From Version 2014.08.11.1 to 2014.11.17 (November 17, 2014)
191
192   Various new words.
193
194   Fix typo in Hunspell readme.
195
196 From Version 2014.08.11 to 2014.08.11.1 (August 13, 2014)
197
198   Forgot to mention this important change from 7.1 to 2014.08.11:
199
200     Shifted the variant levels up by one: variant_0 is now variant_1,
201     variant_1 is now variant_2, and variant_2 is now variant_3.
202
203   Other minor fixes in this README.
204
205   No changes to the contents of the lists.
206
207 From Revision 7.1 to Version 2014.08.11 (August 11, 2014)
208
209   Added some missing possessive forms.
210
211   Added some new words and proper names.
212
213   Clean up the categories (words, upper, proper-names etc) so that they
214   are more accurate.
215
216   Convert documentation to UTF-8.  For now, the wordlist are still in
217   ISO-8859-1 to prevent compatibility problems.
218
219   Add schema and scripts for creating a SQLite database from SCOWL.
220   Add some utility and library functions using them.  This database is
221   used by the new web app's (http://app.aspel.net/lookup & create).
222
223   Enhance speller/make-hunspell-dict.  The biggest improvement is that
224   it that it now generates several more dictionaries in addition to
225   the official ones.  These additional dictionaries are ones for
226   British English and larger dictionaries that include up to SCOWL
227   size 70.
228
229 From Revision 7 to 7.1 (January 6, 2011)
230
231   Updated to revision 5.1 of Varcon which corrected several errors.
232
233   Fixed various problems with the variant processing which corrected a
234   few more errors.
235
236   Added several now common proper names and some other words now
237   in common use.
238
239   Include misc/ and speller/ directory which were in SVN but left
240   out of the release tarball.
241
242   Other minor fixes, including some fixes to the taboo word lists.
243
244 From Revision 6 to 7 (December 27, 2010)
245
246   Updated to revision 5.0 of Varcon which corrected many errors,
247   especially in the British and Canadian spelling categories.  Also
248   added new spelling categories for the British and Canadian spelling
249   variants and separated them out from the main variant_* categories.
250   
251   Moved Moby names lists (3897male.nam 4946fema.len 21986na.mes) to 95
252   level since they contain too many errors and rare names.
253
254   Moved frequently class 0 from Brian Kelk's Wordlist from 
255   level 60 to 70, and also filter it with level 80 due to, too many
256   misspellings.
257
258   Many other minor fixes.
259
260 From Revision 5 to 6 (August 10, 2004)
261
262   Updated to version 4.0 of the 12dicts package.
263
264   Included the 3esl, 2of4brif, and 5desk list from the new 12dicts
265   package.  The 3esl was included in the 40 size, the 2of4brif in the
266   55 size and the 5desk in the 70 size.
267
268   Removed the Ispell word list as it was a source of too many errors.
269   This eliminated the 65 size.
270
271   Removed clause 4 from the Ispell copyright with permission of Geoff
272   Kuenning.
273
274   Updated to version 4.1 of VarCon.
275
276   Added the "british_z" spelling category which is British using the
277   "ize" spelling.
278
279 From Revision 4a to 5 (January 3, 2002)
280
281   Added variants that were not really spelling variants (such as
282   forwards) back into the main list.
283
284   Fixed a bug which caused variants of words to incorrectly appear in
285   the non-variant lists.
286
287   Moved rarely used inflections of a word into higher number lists.
288
289   Added other inflections of a words based on the following criteria
290     If the word is in the base form: only include that word.
291     If the word is in a plural form: include the base word and the plural
292     If the word is a verb form (other than plural):  include all verb forms
293     If the word is an ad* form: include all ad* forms
294     If the word is in a possessive form: also include the non-possessive
295
296   Updated to the latest version of many of the source dictionaries.
297
298   Removed the DEC Word List due to the questionable licence and
299   because removing it will not seriously decrease the quality of SCOWL
300   (there are a few less proper names).  
301
302 From Revision 4 to 4a (April 4, 2001)
303
304   Reran the scripts on a never version of AGID (3a) which fixes a bug
305   which caused some common words to be improperly marked as variants.
306
307 From Revision 3 to 4 (January 28, 2001)
308
309   Split the variant "spelling category" up into 3 different levels.
310   
311   Added words in the Ispell word list at the 65 level.
312
313   Other changes due to using more recent versions of various sources
314   included a more accurate version of AGID thanks to the work of
315   Alan Beale
316
317 From Revision 2 to 3 (August 18, 2000)
318
319   Renamed special-unix-terms to special-hacker and added a large
320   number of commonly used words within the hacker (not cracker)
321   community.
322
323   Added a couple more signature words including "newbie".
324
325   Minor changes due to changes in the inflection database.
326
327 From Revision 1 to 2 (August 5, 2000)
328
329   Moved the male and female name lists from the mwords package and the
330   DEC name lists form the 50 level to the 60 level and moved Alan's
331   name list from the 60 level to the 50 level.  Also added the top
332   1000 male, female, and last names from the 1990 Census report to the
333   50 level.  This reduced the number of names in the 50 level from
334   17,000 to 7,000.
335
336   Added a large number of Uppercase words to the 50 level.
337
338   Properly accented the possessive form of some words.
339
340   Minor other changes due to changes in my raw data files which have
341   not been released yet.  Email if you are interested in these files.
342
343 COPYRIGHT, SOURCES, and CREDITS:
344
345 @`cat Copyright`
346
347 The variant word lists were created from a list of variants found in
348 the 12dicts supplement package as well as a list of variants I created
349 myself.
350
351 The Readmes for the various packages used can be found in the
352 appropriate directory under the r/ directory.
353
354 FUTURE PLANS:
355
356 The process of "sort"s, "comm"s, and Perl scripts to combine the many
357 word lists and separate out the variant information is inexact and
358 error prone.  The whole things needs to be rewritten to deal with
359 words in terms of lemmas.  When the exact lemma is not known a best
360 guess should be made.  I'm not sure what form this should be in.  I
361 originally thought this should be some sort of database, but maybe I
362 should just slurp all that data into memory and process it in one
363 giant perl script.  With the amount of memory available these days (at
364 least 2 GB, often 4 GB or more) this should not really be a problem.
365
366 In addition, there is a very nice frequency analyze of the BNC corpus
367 done by Adam Kilgarriff.  Unlike Brian's word lists the BNC lists
368 include part of speech information.  I plan on somehow using these
369 lists as Adam Kilgarriff has given me the OK to use it in SCOWL.
370 These lists will greatly reduce the problem of inflected forms of a
371 word appearing at different levels due to the part-of-speech
372 information.
373
374 There is frequency information for some other corpus such as COCA
375 (Corpus of Contemporary American English) and ANS (American National
376 Corpus) which I might also be able to use.  The former will require
377 permission, and the latter is of questionable quality.
378
379 RECREATING THE WORD LISTS:
380
381 In order to recreate the word lists you need a modern version of Perl,
382 bash, the traditional set of shell utilities, a system that supports
383 symbolic links, and quite possibly GNU Make.  The easiest way to
384 recreate the word lists is to checkout the corresponding Git version
385 (see the version string at the start of the file) and simply type
386 "make" (see http://wordlist.aspell.net).  You can try to download all
387 the pieces manually, but this method is not no longer tested nor
388 supported.
389
390 The src/ directory contains the numerous scripts used in the creation
391 of the final product. 
392
393 The r/ directory contains the raw data used to create the final
394 product.  If you checkout from Git this directory should be populated
395 automatically for you.  If you insist on doing it the hard way see the
396 README file in the r/ directory for more information.
397
398 The l/ directory contains symbolic links used by the actual scripts.
399
400 Finally, the working/ directory is where all the intermittent files go
401 that are not specific to one source.