|
|
1.1 ! root 1: ! 2: ! 3: typo Command typo ! 4: ! 5: ! 6: ! 7: ! 8: Detect possible typographical and spelling errors ! 9: ! 10: ttyyppoo [-nnrrss][_f_i_l_e ...] ! 11: ! 12: typo proofreads an English-language document for typographical ! 13: errors. It conducts a statistical test of letter digrams and ! 14: trigrams in each input word against digram and trigram frequen- ! 15: cies throughout the entire document. From this test, typo com- ! 16: putes an index of peculiarity for each word in the document. A ! 17: high index indicates a word less like other words in the document ! 18: than does a low index. Built-in frequency tables ensure reason- ! 19: able results even for relatively short documents. ! 20: ! 21: typo reads each input file (or the standard input if none), and ! 22: removes punctuation and non-alphabetic characters to produce a ! 23: list of the words in the document. To reduce the volume of the ! 24: output, typo compares each word against a small dictionary of ! 25: technical words and discards it if found. The output consists of ! 26: a list of unique non-dictionary words with associated index of ! 27: peculiarity, most peculiar first. An index higher than ten in- ! 28: dicates that the word almost certainly occurs only once in the ! 29: document. ! 30: ! 31: typo recognizes the following arguments: ! 32: ! 33: -nn Inhibit use of the built-in English digram and trigram ! 34: statistics, and inhibit dictionary screening of words. More ! 35: words will be output and the indices of peculiarity will be ! 36: less useful for short documents. ! 37: ! 38: -rr Inhibit the default stripping of nroff escape sequences. ! 39: Normally, typo strips lines beginning with `.' and removes ! 40: the nroff escape sequences `\'. ! 41: ! 42: -ss Produce output files digrams and trigrams that contain, ! 43: respectively, the digram and trigram frequency statistics ! 44: for the given document. No indices of peculiarity are cal- ! 45: culated or printed. If desired, these files may be in- ! 46: stalled in directory /usr/dict. ! 47: ! 48: ***** Files ***** ! 49: ! 50: /ttmmpp/ttyyppoo* -- Intermediate files ! 51: /uussrr/ddiicctt/ddiicctt -- Limited dictionary ! 52: /uussrr/ddiicctt/ddiiggrraammss -- Digram frequency statistics ! 53: /uussrr/ddiicctt/ttrriiggrraammss -- Trigram frequency statistics ! 54: ! 55: ***** See Also ***** ! 56: ! 57: commands, nroff, sort, spell ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.