From owner-freebsd-questions Sun Dec 27 00:39:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA24551 for freebsd-questions-outgoing; Sun, 27 Dec 1998 00:39:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smarter.than.nu (thought.calbbs.com [207.71.213.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA24533; Sun, 27 Dec 1998 00:39:18 -0800 (PST) (envelope-from brian@CSUA.Berkeley.EDU) Received: from localhost (localhost [127.0.0.1]) by smarter.than.nu (8.9.1/8.9.1) with ESMTP id AAA01134; Sun, 27 Dec 1998 00:38:43 -0800 (PST) (envelope-from brian@CSUA.Berkeley.EDU) Date: Sun, 27 Dec 1998 00:38:42 -0800 (PST) From: "Brian W. Buchanan" X-Sender: brian@smarter.than.nu Reply-To: jon@caamora.com.au To: jonathan michaels cc: FREEBSD-DOC@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: spell-checker for dyslexics (was Re: spelling question) In-Reply-To: <19981227174133.B10072@caamora.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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