Thanks, for the answer. I was searching for a solution not based on a dictionary, but on the list of terms (with relative frequency) contained in the Lucene index.
In this way (I think) I can obtain more significant results, I can use this method on multiple languages (without relative dictionary and without know which laguage is used in the query string) and especially on out-of-dictionary terms (i.e.: in a e-commerce site you can find "Nikon coolpix" that are not in a dictionary). I was searching for some algorithm that can calculate the similarity coefficient between two terms and multiplying it to the frequency in the indexed documents can obtain a score. Do you think that this is a wrong way? Regards, Dario ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Friday, May 30, 2003 3:51 PM Subject: Re: Search for similar terms > > Perform the lucene search. If you get no or few hits, send the query term > to a spell checker, like ispell. Echo the alternative spelling(s) to the > user. > > DaveB > > > > > > "Dario Dentale" > <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]> > rtalis.it> cc: > Subject: Search for similar terms > 05/30/03 05:15 AM > Please respond to > "Lucene Users > List" > > > > > > > Hi, > anybody knows which is the best way to implements in Lucene a fuctionality > (that Google has) like this: > > Search text-> notebok > > Answer-> Did you mean: notebook ? > > Thanks, > Dario > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
