?
Solved

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

Posted on 2008-06-10
3
Medium Priority
?
257 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 1500 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
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:
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

770 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