Re: Search correction

2009-12-15 Thread Weiwei Wang
Thanks Simon, i used a similar approach as SpellChecker to do search suggestion. I'll try that in search correction. On Tue, Dec 15, 2009 at 7:30 PM, Simon Willnauer < simon.willna...@googlemail.com> wrote: > Weiwei, > Lucene Contrib offers a Spellchecker package that might help you with > your a

Re: Search correction

2009-12-15 Thread Simon Willnauer
Weiwei, Lucene Contrib offers a Spellchecker package that might help you with your application. The spellchecker takes a dictionary of terms (build from your search index or from some other text resource) and builds a suggestion index from those terms. Internally terms are indexed as ngrams. You ca

Re: Search correction

2009-12-15 Thread Chris Were
I recall reading Google does it based on statistical analysis of what words users type. For example if I search for "googl" and then my next search is for "google" that is stored. Next time someone types "googl", "google" is suggested. Sorry, I don't have a source to link you to on that though. C