You have 3 errors in that name, so it won't work for a spellchecker that has
a limit of 2 errors. So, try some of the other spellchecker algorithms.
-- Jack Krupansky
-----Original Message-----
From: algebra
Sent: Tuesday, January 08, 2013 8:52 PM
To: dev@lucene.apache.org
Subject: DirectSpellChecker.suggestSimilar
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.getSuggest("Anderson_Fereira_Souza",reader);
I want get "Andersom_Ferreira_Sousa" like suggestion. But in my current
configuration, it's not is possible.
--
View this message in context:
http://lucene.472066.n3.nabble.com/DirectSpellChecker-suggestSimilar-tp4031740.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org