DirectSpellChecker.suggestSimilar

2013-01-08 Thread algebra
How can I decrease the similarity of words returned by DirectSpellChecker.suggestSimilar? for example: addDoc(w, "Andersom_Ferreira_Sousa"); addDoc(w, "Anderson_Luis_Herinque"); addDoc(w, "José_Anderson_da_Silva"); addDoc(w, "Michel_Anderson_Griffin"); w.close(); main.getSugge

Re: Suggestion words in FuzzyQuery

2013-01-08 Thread algebra
Thanks Michael, I would like to get the suggestion of terms and not just words, for example: addDoc(w,"Lucene in Action"); addDoc(w,"Lucene for Dummies"); addDoc(w,"Managing Gigabytes"); addDoc(w,"The Art of Computer Science"); main.printSuggests("lucina in",my_reader); public void printSuggest

Re: Suggestion words in FuzzyQuery

2013-01-07 Thread algebra
Hi Michael, What library and version I need install to use DirectSpellChecker class? =) -- View this message in context: http://lucene.472066.n3.nabble.com/Suggestion-words-in-FuzzyQuery-tp4031354p4031375.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

Re: Suggestion words in FuzzyQuery

2013-01-07 Thread algebra
Thanks Mike McCandless, but I would like know how works DirectSpellChecker, I'd like to see a complete example using DirectSpellchecker. Can somebody help me? -- View this message in context: http://lucene.472066.n3.nabble.com/Suggestion-words-in-FuzzyQuery-tp4031354p4031363.html Sent from

Suggestion words in FuzzyQuery

2013-01-07 Thread algebra
Somebody know how get suggestion words using FuzzyQuery class? -- View this message in context: http://lucene.472066.n3.nabble.com/Suggestion-words-in-FuzzyQuery-tp4031354.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. ---

get a Word in FuzzyQuery

2012-12-31 Thread algebra
Hello guys. I'm working with FuzzyQuery and I a have a doubt: I would like the lucene, return to me the correct word instead of me returning the document, for example: query = Brazil document = "Brazil is a big country" with this code: [code] Analyzer analyzer = new StandardAnalyzer(Version.LUCE