lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <>
Subject Re: Search correction
Date Tue, 15 Dec 2009 11:30:22 GMT
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 can pass in a possibly missspelled term and a distance
measurement function to build up a suggestion array from the
suggestion index.
I have no comparison how good it works with chinese text though.

On Tue, Dec 15, 2009 at 8:08 AM, Weiwei Wang <> wrote:
> Hi, all,
>     Most of us should have some experience about inputing an incorrection
> keyword in google or some other search engine. When this happens, google can
> celverly suggest you another query keyword(not google suggestion).
>    e.g. you intend to search for redhat, instead you type rdehat, the
> google will tell you  Did you mean:
> *redhat*<>
> How can i implement this feature in my own system?
> --
> Weiwei Wang
> Alex Wang
> 王巍巍
> Room 403, Mengmin Wei Building
> Computer Science Department
> Gulou Campus of Nanjing University
> Nanjing, P.R.China, 210093
> Homepage:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message