The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: bakul@bitblocks.com (Bakul Shah)
Subject: [TUHS] Spell - was tmac: Move macro diagnostics away from `quotes'
Date: Fri, 24 Nov 2017 19:25:15 -0800	[thread overview]
Message-ID: <AD06A799-A27C-4969-B2AD-33AB78518B91@bitblocks.com> (raw)
In-Reply-To: <201711230105.vAN15NI6026629@coolidge.cs.Dartmouth.EDU>

On Nov 22, 2017, at 5:05 PM, Doug McIlroy <doug at cs.dartmouth.edu> wrote:
> 
> Steve's program was good, but the dictionary isn't an ideal source
> for real text, which abounds in proper names and terms of art.
> It also has a lot of rare words that don't pull their weight in
> a spell checker, and some attractive nuisances, especially obscure
> short words from Scots, botany, etc, which are more likely to
> arise in everyday text as typos than by intent. Given the basic
> success of Steve's program, I undertook to make a more useful
> spelling list, along with more vigorous affix stripping (and a
> stop list to avert associated traps, e.g. "presenation" =
> pre+senate+ion"). That has been described in Bentley's "Programming
> Pearls" and in http://www.cs.dartmouth.edu/~doug/spell.pdf.

This is quite interesting to me. A while ago I looked into building a spell
checker for Gujarati (a Sanskrit based language) and found it to be a
complicated affair -- words can have multiple suffixes since the Guj.
equivalents of from/to/in/ etc prepositions are tacked on at the end of
a word. But the same endings can also appear in normal words. And
there are other complications.... Even though the language is phonetic,
mistakes of using the wrong form of long/short vowel signs are common.
After reading your paper I am tempted to revive the effort.


  parent reply	other threads:[~2017-11-25  3:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-23  1:05 Doug McIlroy
2017-11-23  3:11 ` Lyndon Nerenberg
2017-11-24  9:44   ` Tim Bradshaw
2017-11-25  3:25 ` Bakul Shah [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-11-24 15:13 Noel Chiappa
2017-11-24 17:24 ` Will Senn
2017-11-24 15:05 Nelson H. F. Beebe
2017-11-24 17:01 ` Ralph Corderoy
2017-11-24 18:06   ` Nelson H. F. Beebe
2017-11-24 18:17     ` Henry Bent
2017-11-24 20:18       ` Ron Natalie
2017-11-24 22:46   ` Dave Horsfall
2017-11-24 22:57   ` Arthur Krewat
2017-11-22  2:34 [TUHS] Spell - was tmac: Move macro diagnostics away from `quotes\' Doug McIlroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AD06A799-A27C-4969-B2AD-33AB78518B91@bitblocks.com \
    --to=bakul@bitblocks.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).