Solved

Need to implement spell checker for the search tool on my website

Posted on 2008-06-10
3
255 Views
Last Modified: 2013-11-19
The environment is PHP.

I need to implement a spell checker for the queries that users put in the search tool on my website. The website is a glossary. So, just like Google does it, if somebody types in a search query that might be misspelled, we say did you mean '[correct spelling]. I have looked at a number of ways to do this but I haven't found the perfect solution, so I was hoping somebody could tell me where can i get the best possible code to do this. Some things that I have looked at are:

http://lucene.apache.org/java/docs/index.html
http://innerblogger.com/code/2007/how-to-get-a-php-spell-checker-for-your-website/
http://www.1001line.net/spell-check/
http://google-tips-n-tricks.blogspot.com/2007/12/google-spellchecker.html
0
Comment
Question by:Igiwwa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Expert Comment

by:JapyDooge
ID: 21751171
If you want to write one yourself, have a look at the mysql-function LIKE
0
 

Author Comment

by:Igiwwa
ID: 21751187
no i don't want to do that, plus LIKE has limitations, the search query has to be a part of a word
0
 
LVL 10

Accepted Solution

by:
bluefezteam earned 500 total points
ID: 21751252
http://sourceforge.net/projects/sphpell/

A FREE PHP spell checker that takes the text in a text field via javascript and spell checks it in its own window. The user can perform the usual spell checking operations (ignore, ignore all, change, change all, etc). Simple to include in any PHP page.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question