| | |
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 |
5.2.10 action apache api array basic beginner binary broken cakephp checkbox class classes cms code computing confirm cron curl database date delete destroy display domain dynamic echo echo$_get[x]changingitintovariable... email error fatalerror file files folder form forms function functions google header href htaccess html iframe image include indentedsubcategory insert ip javascript joomla limit link load local login mail malfunction menu mlm mod_rewrite multiple mysql mysqlquery neutrality oop paypal pdf php query radio random record reference remote return script search server sessions sockets source space sql syntax system table thesishelp tutorial unset update upload url validation validator variable video web window.onbeforeunload=closeme; youtube





