actually, I found a pretty easy way of doing it. The algorithm is called n-gram and it takes but a few lines of code to implement.
On Jan 24, 2008 11:10 AM, Dinner <[EMAIL PROTECTED]> wrote: > It will drive you mad trying, Zaph. > > I give grammar checkers mad props. > > -- > Sport is imposing order on what was chaos. > Anthony Starr > > > On Jan 24, 2008 8:15 AM, Zaphod Beeblebrox <[EMAIL PROTECTED]> wrote: > > I"m trying to tweak my document management system so that typos are > > eliminated. Ideally, what I'd like to do is something similar to an > > auto suggest. So if the user types in "Brohters Coffee", it'll reply > > with "did you mean Brothers Coffee?" > > > > I've looked into Soundex, but it doesn't quite cut it.....it seems > > more for matching 1 word names and if they're transversed "Coffee > > Brothers", it won't recognize it. > > > > > > > > -- > > "We were freedom > > From the moment that we hit the ground > > And the wild man > > He laid the thunder down" > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:251860 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5