Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 1998 00:38:42 -0800 (PST)
From:      "Brian W. Buchanan" <brian@CSUA.Berkeley.EDU>
To:        jonathan michaels <jon@caamora.com.au>
Cc:        FREEBSD-DOC@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   spell-checker for dyslexics (was Re: spelling question)
Message-ID:  <Pine.BSF.4.05.9812270015520.329-100000@smarter.than.nu>
In-Reply-To: <19981227174133.B10072@caamora.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Dec 1998, jonathan michaels wrote:

> my question has multiple partsm but the simple version is, is thier a spelling 
> checker that has a 'trainable' spelling checking algotithm ? what i mean is 
> something like .. er um, a spell checker that will take a dsylex'd or speld 
> word and replace it with the correct spelling.

This is probably better suited for freebsd-questions, so I'm redirecting
it there in case someone there has additional input.

I don't know of any program that will do that, but it's not that difficult
a problem, so I'd bet that one either exists or could be fairly easily
written.  You might want to check some site that lists Linux software, and
see if there's something like what you're looking for. Linux's user base
is larger, so software targeted at a special need like yours tends to
appear for it first, but will probably be easy to port to FreeBSD.

If you want to try a very simple solution for correcting most of your
common spelling mistakes, why not pipe your text through a sed script that
does a search-and-replace on them?

For example, to replace all occurences of the word "teh" in infile with
"the" and put the result in outfile:

sed "s/[[:<:]]teh[[:>:]]/the/g" < infile > outfile

-- 
Brian Buchanan                                   brian@smarter.than.nu
                                                 brian@CSUA.Berkeley.EDU

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
                -- Benjamin Franklin, 1759



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9812270015520.329-100000>