]> git.donarmstrong.com Git - deb_pkgs/scowl.git/blob - r/varcon/README
New upstream version 2017.08.24
[deb_pkgs/scowl.git] / r / varcon / README
1 Variant Conversion Info (VarCon)
2
3 Version 2017.08.24
4
5 Copyright 2000-2016 by Kevin Atkinson (kevina@gnu.org) and Benjamin
6 Titze (btitze@protonmail.ch).
7
8 This package contains information to convert between American,
9 British, Canadian, and Australian spellings and vocabulary as well as
10 other variant information.
11
12 The latest version can be found at http://wordlist.aspell.net/.
13
14 The main data file is varcon.txt.  It contains information on the
15 preferred American, British, and Canadian spelling of a word as well
16 as other variant information.
17
18 Each line contains a mapping between the various spellings of a word.
19 Words are tagged to indicate where the spelling is used, and each
20 word/tag pair is separated with a " / ".  For example in the line:
21   A Cv: acknowledgment / Av B C: acknowledgement
22 "acknowledgment" and "acknowledgement" are two spellings of the same
23 word and "A", "Cv", "B", etc are the tags.  Tags are separated by
24 spaces and the group of tags is separated from the word with a ": ".
25 Here, "acknowledgment" is the preferred American spelling (as
26 indicated by the "A") of the word, and "acknowledgement" is the
27 preferred Canadian and British spelling ("B" and "C").  However the
28 American spelling is sometimes used in Canada (as indicated by "Cv",
29 where the lowercase "v" indicated a variant form) and the British
30 spelling is sometimes used in America (as indicated the "Av").
31
32 More generally each tag consists of a spelling category (for example
33 "A") followed possible by a variant indicator.  The spelling
34 categories are as follows:
35   A: American
36   B: British "ise" spelling
37   Z: British "ize" spelling or OED preferred Spelling
38   C: Canadian
39   D: Australian
40   _: Other (Variant info based on American dictionaries, never used
41             with any of the above).
42 and the variants tags are as follows:
43   .: equal
44   v: variant
45   V: seldom used variant
46   -: possible variant, should generally not used
47   x: improper variant (should not use)
48
49 The "." or equal variant tags are reserved for special cases when
50 there is little agreement between dictionaries or when I think the
51 dictionary is wrong.  The "v" indicator is used for most words marked
52 as variants in the dictionary.  However, some variants will be demoted
53 to a "V".  For example, if the variant is marked as "also" by
54 Merriam-Webster, or also if only some dictionaries acknowledge the
55 existence the variant.  "-" is used when the variant is generally not
56 listed is the dictionary but I could find some evidence of its use, or
57 when it is marked as an archaic spelling for the word.  The "x"
58 is used when the spelling is almost generally considered a
59 misspelling, and is only included for completeness.
60
61 For Australian English "v" was used for variants that are widely used,
62 but not preferred, and "V" for all "-or" (vs. "-our") variants and 
63 variants considered "chiefly US".
64
65 If there are no tags with the 'Z' spelling category on the line then
66 'B' implies 'Z'.  Similarly if there are no 'C' tags then 'Z' implies
67 'C'.  If there are no 'D' tags then 'B' implies 'D'.
68
69 For ease of reading and maintaining the data file, each line is
70 grouped in a cluster of closely related words.  Each cluster is
71 uniquely identified by a headword, which is generally the American
72 spelling of word on the first line of the cluster.  Each cluster is
73 started with a '#' and is followed by the headword with some
74 additional information after it.  For example the cluster for
75 acknowledgment is:
76   # acknowledgment <verified> (level 35)
77   A Cv: acknowledgment / Av B C: acknowledgement
78   A Cv: acknowledgments / Av B C: acknowledgements
79   A Cv: acknowledgment's / Av B C: acknowledgement's
80 The "<verified>" tag will be explained latter, and "(level 35)"
81 indicate what level in SCOWL (see http://wordlist.sourceforge.net) 
82 the headword is found in.  The levels generally mean the following:
83   <= 35: Very common word
84   <= 70: Can be found in the dictionary
85      80: Likely a valid word, can likely be found in an
86          unabridged dictionary
87    > 80: May not even be a legal word
88
89 Sometimes the spelling of a word depends on the usage.  If so the word
90 is listed more than once within a cluster, with any usage information
91 being indicated after a " | ".  For example here is part of the cluster
92 for prize:
93   A B: prize | reward
94   A B: prizes | reward
95   A C: prize / B: prise | otherwise
96   A C: prizes / B: prises | otherwise
97 which indicated than the preferred spelling of prize is always with a
98 "z" when meaning a reward, but otherwise is spelled with a "s" is
99 British English.  In the example above a brief definition of the word
100 is given, but often no such attempt is made, and the definition simply
101 consists of a number, for example:
102   A B: sake | :1
103   A C: sake / Av B Cv: saki | :2
104
105 Sometimes part-of-speech (POS) info is given to help distinguish which
106 form is used.  For example:
107   A B C: practice / AV Cv: practise | <N>
108   A Cv: practice / AV B C: practise | <V>
109 POS info is always given in the form "<POS>" and if a definition
110 is also given the POS info is always first.  The POS tags used are as
111 follows:
112   <N>: Noun
113   <V>: Verb
114   <Adj>: Adjective
115   <Adv>: Adverb
116
117 A "(-)" before the definition indicated a rarely used or archaic form
118 of a word, for example:
119   A B: bark | :1
120   A: bark / Av B: barque | (-) ship
121
122 A "--" indicates a note rather than definition.  This is generally
123 used to indicate that the spelling of the plural form not depend on
124 the spelling of the root word, for example:
125   _: cabby / _.: cabbie
126   _: cabbies | -- plural
127
128 Misc. notes on a particular form of a word are given after a "#" on
129 the same line.  Misc. notes for the cluster are given at the end of
130 the cluster and are prefixed with "##", for example:
131   # coloration <verified> (level 50)
132   A B C: coloration / B. Cv: colouration
133   A B C: colorations / B. Cv: colourations
134   A B C: coloration's / B. Cv: colouration's
135   ## OED has coloration as the preferred spelling and discolouration as a
136   ## variant for British Engl or some reason
137 In the notes ODE (not to be confused with OED) stands for Oxford
138 Dictionary of English, "Ox" is used for any Oxford dictionary, and
139 "M-W" for Merriam-Webster.
140
141 Earlier versions of varcon contained numerous errors.  With version
142 5.0 massive effort has been made to correct many of these errors.
143 Clusters that have undergone some form of verification (and likely
144 correction) are marked with "<verified>".  As of version 5.0, most
145 clusters with headwords word in common usage (SCOWL level 35 and
146 below) should now be checked, as well as many others.  No effort was
147 made to check clusters with headwords in SCOWL level 80 and above;
148 many of those entries are unlikely to be in the dictionary anyway.
149
150 The file variant-also.tab contains additional mappings between various
151 spellings of a word which are not yet in varcon.txt.  No attempt is
152 made to distinguish the primary form of a word.  The file
153 variant-infl.tab is like variant-also.tab except that it is created
154 automatically from the AGID inflection database.  The file
155 variant-wroot.tab is like variant-infl.tab except that it also
156 included the root form of the word.
157
158 The file voc.tab is similar to varcon.txt but converts between
159 vocabulary instead of spelling.  Unlike varcon.tab it is a simple tab
160 separated file with the fields corresponding to the American, British,
161 and Canadian words.  If more than one word if often used to describe
162 the same thing the words are separated with commas.  The last column
163 contains additional notes on when the word is used.  Unlike varcon.txt
164 it is generally not suitable for automatic conversion.
165
166 The "make-variant" Perl script will combine varcon.txt,
167 variant-also.tab, and variant-infl.tab into one huge mapping and will
168 output the result to "variant.tab".  If the "no-infl" option is given
169 than variant-infl.tab will not be included.
170
171 The "split" script will split out the information in varcon.txt into
172 several word lists named as follows:
173   <spelling>[-v<variant level>][-uncommon].lst
174 where <spelling> is one of: american, british, british_z, canadian,
175 common, or other.  "common" is used for words which appear in
176 varcon.txt, yet are used in all versions of english, such as "prize",
177 and "other" is used for the "_" spelling category.  The mapping from
178 the variant indicators in varcon.txt to the numeric variant level is
179 as follows:
180   v => 0
181   V => 1
182   - => 2
183 "-uncommon" is used for forms marked with "(-)" as already described.
184
185 The "translate" Perl script will translate a text file from one
186 spelling to another. Its usage is:
187
188 translate <options> [<translation array>] <from> <to>
189 <options> is any of
190   -?,-h,--help this screen
191   -m,--mark     mark words where the translation is questionable
192   -i,--include  include words where the translation is questionable
193 <translation array> is the file name of the translation array,
194                     defaults to "abbc.tab".
195 <from> and <to> are one of: american, british, british_z, or canadian.
196 british-ise and british-ize can also be used.
197
198 Text is read in from standard input and is outputted to standard out.
199 Words are marked with a '?' before and after the questionable word
200 when the option is enabled.
201
202 The file varcon.pm contains some library routines for parsing
203 varcon.txt and is used by many of the scripts above.
204
205 If you discover any errors in these mappings or have suggestions for
206 additions please file a bug report at
207 https://github.com/kevina/wordlist/issues, or alternatively email me
208 directly at kevina@gnu.org, but I will likely tell you to file a bug
209 report so that I don't forget about it.
210
211 SOURCE:
212
213 These mappings were compiled from numerous sources.
214
215 The abc.tab was originally created from the American and British word
216 lists found in the Ispell distribution and the Canadian word list
217 created by Garst R. Reese <reese@isn.net>:
218
219   What I have discovered is that Canadian is a modification of British.
220   Canadians use ize ization, izing izable like Americans, and gram instead
221   of gramme. The one exception I found was practise. It does not go to
222   practize.  Otherwise they use British spelling. So, what I am currently
223   checking books with is a an edited version of British, where I have
224   changed all occurrences of ise to ize, isab to izab, isation to ization,
225   ising to izing, and gramme to gram except I allow programme, which is
226   sometimes proper unless you are talking about a computer program. I did
227   bunches of greps to be sure these substitutions would work as expected.
228
229 Many other words have been added to abc.tab which were not in the
230 original Ispell word lists.
231
232 Many different web sources were consulted when crating the tables.  They
233 include:
234
235   The American-British British-American Dictionary
236     http://www.peak.org/~jeremy/dictionary/dictionary.html
237     American and British Spelling Differences
238       http://www.peak.org/~jeremy/dictionary/spellcat.html
239   Dave (VE7CNV)'s Truly Canadian Dictionary of Canadian Spelling
240     http://www.luther.bc.ca/~dave7cnv/cdnspelling/cdnspelling.html
241   Canadian Spelling Convention
242     http://imej.wfu.edu/articles/1999/1/02/demo/tutorial/canas.html
243   Cornerstone's Canadian English Page
244     http://www.web.net/cornerstone/cdneng.htm
245   Inter-Play Translation: British/Canadian/American Spelling
246     http://www.inter-play.com/translation/spel-ukus.htm
247   Inter-Play Translation: British/Canadian/American Vocabulary
248     http://www.inter-play.com/translation/voc-ukus.htm
249
250 As well as several online dictionaries:
251
252   Marriam-Webster: http://www.m-w.com/
253   American Heritage: http://www.bartleby.com/61/
254   Cambridge (ESL): http://dictionary.cambridge.org/
255
256 In version 5.0 a massive effort to correct the numerous errors in
257 VarCon was done.  The primary sources used for verification were:
258
259   Marriam-Webster: http://www.m-w.com/
260   Free version of Oxford Dictionaries Online: 
261     http://www.oxforddictionaries.com/
262   Oxford dictionaries available via Oxford Reference Online
263     (subscription service, http://www.oxfordreference.com/):
264     The New Oxford American Dictionary (2nd edition, 2006)
265       and sometimes: The Oxford American Dictionary of Current English (2002)
266     The Concise Oxford English Dictionary (11th edition revised, 2008)
267       and sometimes: The Oxford Dictionary of English (2nd edition revised, 2005)
268     The Canadian Oxford Dictionary (2004)
269
270 I also used Tysto UK vs US spelling list available at:
271   http://www.tysto.com/articles05/q1/20050324uk-us.shtml
272 to make sure I didn't leave out any information in VarCon, however any
273 additions from his lists where verified using the dictionaries
274 mentioned above as his lists contained numerous errors (such as
275 including archaic spellings of words)
276
277 I also made indirect use of Luke's Canadian, British and American
278 Spelling page available at:
279   http://www.lukemastin.com/testing/spelling/cgi-bin/database.cgi?database=spelling
280 but only to perform some initial verification, in the end I rechecked
281 his data using the dictionaries above.  (However, his data is, by far,
282 more accurate than Tysto's)
283     
284 In Version 2016.11.20 Benjamin Titze added support for Australian English.
285 The primary sources for this addition were:
286
287   The Macquarie Dictionary: https://www.macquariedictionary.com.au/
288   Style Manual: For Authors, Editors and Printers, 6th Edition. DCITA.
289   University of Technology Sydney Publications Style Guide:
290     http://www.gsu.uts.edu.au/publications/styleguide/spelling.html
291   Style Manual, Department of Treasury and Finance, Tasmania:
292     http://conference.tasa.org.au/wp-content/uploads/2015/03/Style-Manual.pdf
293   Editor Australia - Style Guide: 
294     http://www.editoraustralia.com/styleguide_spelling.html
295   Webster in Australia (history of "our"/"or" spelling variants): 
296     http://blogs.usyd.edu.au/elac/2008/01/webster_in_australia.html
297
298
299 CHANGELOG:
300
301 From 2016.11.20 to 2017.08.24
302
303    - Typo fixes thanks to Jakub Wilk
304
305 From 2016.06.26 to 2016.11.20
306
307    - New Australian spelling category thanks to the work of Benjamin
308      Titze.
309
310    - Various other fixes.
311
312 From 2016.01.19 to 2016.06.26
313
314    - Fix plural of "bus".
315
316 From 2015.08.24 to 2016.01.19
317
318    - Undo the effects of PERL_UNICODE in the translate script.
319
320    - Other minor fixes and new entries.
321
322 From 2014.02.15 to 2015.08.24 (Aug 24, 2015)
323
324    - Added entry for Koran/Koranic.
325
326    - Tweaked "adviser" cluster.
327
328    - Fix formatting problems.
329
330 From 2015.01.28 to 2014.02.15 (February 15, 2015)
331
332    - Various new entries
333
334 From 2014.11.17 to 2015.01.28 (January 28, 2015)
335
336    - Minor adjustments to a few entries (analytic, amid)
337
338    - Added entry for shareable
339
340    - Remove a junk entry (ted/taed).
341
342 From 2014.08.11 to 2014.11.17 (November 17, 2014)
343
344    - Fix typos in README
345
346    - Enhancement to VarCon translate script.  It will now, by default,
347      filter clusters with a SCOWL level > 80.  This behavior can be
348      controlled with the new "--thresh" option.
349
350    - Remove a few junk entries.
351
352 From Revision 5.1 to Version 2014.08.11 (August 8, 2014)
353
354    - Various corrections.  Most of them minor.  Two notable exceptions:
355
356        - Added an entry for furor as the correct British spelling is furore
357
358        - Fixed racket entries as Canadians still use racquet even
359          though it is a British English (at least according to the
360          Oxford dictionaries)
361
362    - Other minor changes.
363
364 From Revision 5.0 to Revision 5.1 (January 6, 2010)
365
366    - Corrected numerous errors after running various forms
367      of verification on varcon.txt.
368
369    - Reordered the clusters in varcon.txt so that they are
370      mostly in alphabetic order based on the headword.
371   
372 From Revision 4.1 to Revision 5.0 (December 27, 2010)
373
374   - Completely new format for the main table which, in addition to
375     providing the preferred spelling of a word for various forms of
376     English, also records variant and other information.  To reflect
377     this change, the name of the file was renamed from abbc.tab to
378     varcon.txt.
379
380   - Massive effort to verify the variant information against
381     authoritative sources (mainly Oxford dictionaries).  Most entries
382     for common words (SCOWL level 35 and below) have been checked
383     against at least a British and Canadian dictionary.
384
385   - Added variant information for numerous other words, even when
386     there is no difference between the various forms on English.
387
388   - Other changes corresponding to the new format.
389
390 From Revision 4 to Revision 4.1 (August 10, 2004)
391
392   - Fixed various errors in abbc.tab
393
394   - Removed clause 4 from the Ispell copyright with permission of Geoff
395     Kuenning.
396
397 From Revision 3 to Revision 4 (August 7, 2004)
398
399   - Added a column to "abc.tab" for the British "ize" spelling and
400     renamed the file to abbc.tab.
401   - Added verb forms of prize/prise to abbc.tab, removed from
402     variant-also.tab
403
404 From Revision 2 to Revision 3 (January 2, 2003)
405
406   - Added an option for not including variant-infl.tab for the
407     make-variant perl script
408   - Added the file variant-wroot.tab
409   - Added a few entries given to me by Francis Bond and Edward Betts
410
411 From Revision 1 to Revision 2 (January 27, 2001)
412
413   - Removed all "B" markers because I could not find any evidence for
414     them
415   - Corrected a few Canadian entries, especially those with the "B"
416     markers
417   - Added some more entries by trying fixed changes (such as ize to
418     ise) to words in SCOWL and hand-checking over the ones with semi-common
419     words in them. 
420   - Added variant-infl.tab
421
422 COPYRIGHT:
423
424 Copyright 2000-2016 by Kevin Atkinson
425
426 Permission to use, copy, modify, distribute and sell this array, the
427 associated software, and its documentation for any purpose is hereby
428 granted without fee, provided that the above copyright notice appears
429 in all copies and that both that copyright notice and this permission
430 notice appear in supporting documentation. Kevin Atkinson makes no
431 representations about the suitability of this array for any
432 purpose. It is provided "as is" without express or implied warranty.
433
434 Copyright 2016 by Benjamin Titze
435
436 Permission to use, copy, modify, distribute and sell this array, the
437 associated software, and its documentation for any purpose is hereby
438 granted without fee, provided that the above copyright notice appears
439 in all copies and that both that copyright notice and this permission
440 notice appear in supporting documentation. Benjamin Titze makes no
441 representations about the suitability of this array for any
442 purpose. It is provided "as is" without express or implied warranty.
443
444 Since the original words lists come from the Ispell distribution:
445
446 Copyright 1993, Geoff Kuenning, Granada Hills, CA
447 All rights reserved.
448
449 Redistribution and use in source and binary forms, with or without
450 modification, are permitted provided that the following conditions
451 are met:
452
453 1. Redistributions of source code must retain the above copyright
454    notice, this list of conditions and the following disclaimer.
455 2. Redistributions in binary form must reproduce the above copyright
456    notice, this list of conditions and the following disclaimer in the
457    documentation and/or other materials provided with the distribution.
458 3. All modifications to the source code must be clearly marked as
459    such.  Binary redistributions based on modified source code
460    must be clearly marked as modified versions in the documentation
461    and/or other materials provided with the distribution.
462 (clause 4 removed with permission from Geoff Kuenning)
463 5. The name of Geoff Kuenning may not be used to endorse or promote
464    products derived from this software without specific prior
465    written permission.
466
467 THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND
468 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
469 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
470 ARE DISCLAIMED.  IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
471 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
472 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
473 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
474 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
475 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
476 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
477 SUCH DAMAGE.