Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



SPELL(1)        DOMAIN/IX Reference Manual (SYS5)        SPELL(1)



NAME
     spell, hashmake, spellin, hashcheck - find spelling errors

USAGE
     spell [ -v ] [ -b ] [ -x ] [ -l ] [ -i ] [ +local_file ] [
     files ]

     /usr/lib/spell/hashmake

     /usr/lib/spell/spellin n

     /usr/lib/spell/hashcheck spelling_list

DESCRIPTION
     Spell collects words from the named files and looks them up
     in a spelling list.  Words not present on the spelling list
     are printed on the standard output.  Furthermore, it prints
     those that are not derivable from words on the spelling list
     (by applying certain inflections, prefixes, and/or suffixes)
     on the standard output.  If no files are named, words are
     collected from the standard input.

     The spelling list is based on many sources.  While more ran-
     dom than an ordinary dictionary, it is also more effective
     with respect to proper names and popular technical words.
     Coverage of the specialized vocabularies used in biology,
     medicine, and chemistry is light.

     You may specify pertinent auxiliary files by name arguments,
     indicated below with their default settings (see FILES).
     Copies of all output are accumulated in the history file.
     The stop list filters out misspellings (e.g.,
     thier=thy-y+ier) that would otherwise pass.

     Spell ignores most troff (1), tbl (1), and eqn (1) construc-
     tions.

OPTIONS
     -v        Print all words not literally in the spelling
               list.  Indicate plausible derivations from the
               words in the spelling list.

     -b        Check British spelling.  Besides preferring cen-
               tre, colour, programme, speciality, travelled,
               etc., this option insists upon using -ise in words
               such as standardise.

     -x        Print every plausible stem with = for each word.
               By default, spell follows chains of included
               files, e.g., .so and .nx requests made by troff
               (1), unless the names of such included files are
               prefixed by /usr/lib.



Printed 6/10/85                                           SPELL-1





SPELL(1)        DOMAIN/IX Reference Manual (SYS5)        SPELL(1)



     -l        Follow the chains of all included files.

     -i        Ignore all chains of included files.

     +local_file
               Remove words found in local_file from output.
               Local_file is a file that you provide.  It
               comprises a sorted list of words, one per line,
               used as a personalized spelling list to supplement
               the one provided by spell.

HASH LIST ROUTINES
     Three routines help maintain and check the hash lists used
     by spell.  These routines and their specific purposes are:

     hashmake     Read a list of words from the standard input
                  and write the corresponding nine-digit hash
                  code on the standard output.

     spellin n    Read n hash codes from the standard input and
                  write a compressed spelling list on the stan-
                  dard output.  Print information about the hash
                  coding on the standard error.

     hashcheck    Read a compressed spelling_list and re-create
                  the nine-digit hash codes for all the words in
                  it.  Write these codes on the standard output.

EXAMPLE
     The following example creates the hashed spell list hlist
     and checks the result by comparing the two temporary files;
     they should be equal.

     cat goodwds | /usr/lib/spell/hashmake | sort
     cat tmp1 | /usr/lib/spell/spellin `cat tmp1
     cat hlist | /usr/lib/spell/hashcheck >tmp2
     diff tmp1 tmp2

CAUTIONS
     The spelling list's coverage is uneven.  You may want to
     monitor the output for several months to gather local addi-
     tions.  Typically, these are kept in a separate local file
     that is added to the hashed spelling_list via spellin.

FILES
     D_SPELL=/usr/lib/spell/hlist[ab]   hashed spelling lists,
                                        American and British
     S_SPELL=/usr/lib/spell/hstop       hashed stop list
     H_SPELL=/usr/lib/spell/spellhist   history file
     /usr/lib/spell/spellprog           program





SPELL-2                                           Printed 6/10/85





SPELL(1)        DOMAIN/IX Reference Manual (SYS5)        SPELL(1)



RELATED INFORMATION
     deroff (1), eqn (1), sed (1), sort (1), tbl (1), tee (1),
     troff (1).




















































Printed 6/10/85                                           SPELL-3



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026