update from George Bergman (gbergman@cartan.berkeley.edu)
[unix-history] / usr / src / usr.bin / spell / README
CommitLineData
04fdc240
KM
1Copyright (c) 1987 Regents of the University of California.
2All rights reserved. The Berkeley software License Agreement
3specifies the terms and conditions for redistribution.
3995a398 4
04fdc240
KM
5 @(#)README 1.2 (Berkeley) %G%
6
7All files and subdirectories of this directory are recommended for
8rdisting except web2 and web2a (because of their size). Details on
9most of these files is described under FILES below.
10
11The new subdirectory "special" contains lists of words in specialized
12fields, which may be hashed in with the regular lists on machines
13having many users working in these fields. As of this writing, it
14contains two files.
15
16It is advised that system managers also create a directory
17/usr/local/dict. (Such a directory will probably be provided, empty,
18in the next release.) This can be used to maintain files of particular
19interest to users of the machine (e.g., surnames of members of the
20department on a departmental machine).
21
22Here is a script that might be used to customize the hashlists on a
23machine to include the words in /usr/dict/special/xxx, as well as two
24local lists called /usr/local/dict/surnames and
25/usr/local/dict/acronyms.
26
27 #
28 cd /usr/dict
29 mv hlista hlista.0; mv hlistb hlistb.0
30 cat special/xxx /usr/local/dict/{surnames,acronyms} | spellin hlista.0 > hlista
31 cat special/xxx /usr/local/dict/{surnames,acronyms} | spellin hlistb.0 > hlistb
32
33The new hashed lists, being named /usr/dict/hlist[ab], become the
34default lists for "spell"; the old lists can still be called with the -d
35option.
36
37Wordlists are in general sorted as in sort -df. This makes no
38difference for spell's hashing process, but will make a difference
39commands that search them directly (such as "look").
40
41--------------------------------------------------------------------
42FILES and subdirectories in /usr/dict:
43 words -- everyday words, and important technical terms from all
44 fields, that are spelled the same in British and American usage.
45 american -- spellings accepted in American but not British usage.
46 british -- spellings accepted in British but not American usage.
47 stop -- forms that would otherwise be derivable by "spell" from
48 words in one of the above files, but should not be accepted.
49 hlista -- hashed list formed from files {words,american}.
50 hlistb -- hashed list formed from files {words,british}.
51 hstop -- hashed list formed from file stop.
52 web2 -- words from Webster's 2nd International (see WEB below).
53 web2a -- compounds and phrases from Webster's 2nd International.
54 README -- this file
55 papers/ -- an (out-of-date) bibliographical database, used as the
56 default by the program "refer".
57 special/ -- directory of less common terms from specialized fields
58 special/4bsd -- commands and system calls (as in
59 /usr/man/man[1238n]), and builtin csh commands (listed in
60 /usr/man/man1/csh.1) of the current version of 4bsd Unix.
61 (Supersedes old "/usr/src/usr.bin/spell/local".)
62 math -- technical mathematical terms not in /usr/dict/words.
63
64WEB (intro provided in posting)--------------------------------------
3995a398
KM
65Welcome to Webster's Second International, all 234,936 words worth.
66The 1934 copyright has elapsed, according to the supplier. The
67supplemental 'web2a' list contains hyphenated terms as well as assorted
68noun and adverbial phrases. The wordlist makes a dandy 'grep' victim.
69
70 -- James A. Woods {ihnp4,hplabs}!ames!jaw (or jaw@riacs)