| | |
Spell Checking Against Words in Database
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
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.
echo is a web developer's best friend. ![]() |
Similar Threads
- 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)
Other Threads in the PHP Forum
- Previous Thread: Adding multiple images
- Next Thread: phpadmin v3.1
| Thread Tools | Search this Thread |
.htaccess ajax apache api array back basic beginner binary broken cakephp checkbox class cms code computing cron curl database date delete directory display dynamic echo email error file files filter folder form forms function functions gc_maxlifetime google host href htaccess html image include insert integration ip java javascript joomla limit link login loop mail memmory memory menu mlm mod_rewrite multiple mysql navigation oop parsing paypal pdf php problem query radio random recursion regex remote script search server sessions sms snippet soap source space sql syntax system table thesishelp trouble tutorial update upload url validation validator variable video web xml youtube





