Spell Checking Against Words in Database
Please support our PHP advertiser: Free Online Load Test - How many visitors can your web site handle?
![]() |
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
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
There are no stupid questions, only those too stupid to ask for help.
![]() |
Similar Threads
Other Threads in the PHP Forum
- Need help parsing strings w/ plain text and drop down lists (PHP)
- Help with automatic update problem and more (Viruses, Spyware and other Nasties)
- memory management in wndows 2000 (Windows NT / 2000 / XP / 2003)
Other Threads in the PHP Forum
- Previous Thread: Adding multiple images
- Next Thread: phpadmin v3.1
•
•
•
•
Views: 252 | Replies: 0 | Currently Viewing: 1 (0 members and 1 guests)





Linear Mode