[BACK]Return to README CVS log [TXT][DIR] Up to [local] / src / share / dict

Annotation of src/share/dict/README, Revision 1.4

1.4     ! jmc         1: #      $OpenBSD: README,v 1.3 2002/03/02 02:07:49 millert Exp $
1.2       niklas      2:
1.3       millert     3: #      @(#)README      8.1 (Berkeley) 6/6/93
1.1       deraadt     4:
1.3       millert     5: --------------------------------------------------------------------
                      6: FILES and subdirectories of /usr/share/dict:
1.1       deraadt     7:
1.3       millert     8:     words    -- common words, and important technical terms from all
                      9:                fields, that are spelled the same in British and American usage.
                     10:     web2     -- Webster's Second International Dictionary, all 234,936 words
1.4     ! jmc        11:                worth.  The 1934 copyright has lapsed.
1.3       millert    12:     web2a    -- hyphenated terms as well as assorted noun and adverbial phrases
                     13:                from Webster's Second International Dictionary.
                     14:     propernames -- List of proper names, also from Webster's Second
                     15:                International Dictionary.
                     16:     american -- spellings preferred in American but not British usage.
                     17:     british  -- spellings preferred in British but not American usage.
                     18:     stop     -- forms that would otherwise be derivable by "spell" from
                     19:                words in one of the above files, but should not be accepted.
                     20:     README   -- this file
                     21:     papers/  -- an (out-of-date specialized) bibliographical database,
                     22:                used as the default by the program "refer".
                     23:     special/ -- directory of less common terms from specialized fields.
                     24:        It presently contains:
1.1       deraadt    25:
1.3       millert    26:        special/4bsd -- commands and system calls (from filenames in
                     27:            /usr/share/man/man[1238]), and builtin csh commands (named in
                     28:            /usr/share/man/man1/csh.1) of the current version of 4bsd Unix.
                     29:            (Supersedes old "/usr/src/usr.bin/spell/local".)
                     30:        special/math -- some mathematical terms not in /usr/share/dict/words.
1.1       deraadt    31:
1.3       millert    32: --------------------------------------------------------------------
                     33:
                     34: The subdirectory "special" contains lists of words in specialized fields,
                     35: which may be hashed in with the regular lists on machines having many users
                     36: working in these fields.  As of this writing, there are two such specialized
                     37: word lists, 4bsd and math (described briefly above).
                     38:
                     39: It is advised that system managers create a directory /usr/local/share/dict.
                     40: This can be used to maintain files of particular interest to users of each
                     41: machine (e.g., surnames of members of the department on a departmental
                     42: machine).  These files, potentially along with files in /usr/share/dict/special,
                     43: should be placed in /usr/local/share/dict/words, which will be used by
                     44: the spell program.  The following example creates a local words list
                     45: consisting of 4BSD commands and terms as well as local surnames and
                     46: acronyms:
                     47:
                     48:        # sort -df /usr/share/dict/special/4bsd \
                     49:                /usr/local/share/dict/surnames \
                     50:                /usr/local/share/dict/acronyms > /usr/local/share/dict/words
                     51:
                     52: Note that word lists must be sorted in dictionary order and with case folded.
                     53: In general this means they should be passed through "sort -df".
                     54: Word lists that are not sorted in this way will not work properly
                     55: with the spell and look commands since these perform binary searches
                     56: on the word lists.