Solved

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

Posted on 2008-06-10
3
256 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

Industry Leaders: 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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn how to count occurrences of each item in an array.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

717 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