darkagn 315 Veteran Poster Featured Poster

Hi all,

I am currently writing a spell checker that needs to suggest corrections for a mis-spelled Suburb/Locality in a Post Code/Zip Code lookup site. All of the suburb names are stored in a database in the Postcodes table and I was wondering if I could use the Pspell library to do the spell check / suggestion based upon the entries in that table? From the examples I have seen, the library makes use of a dictionary file to compare words to, can it be used to compare to a result set from a database?

Any suggestions would be appreciated. :)

Thanks in advance,
darkagn

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.