}
private String suggestWord(String term) {
String bestSuggestion = null;
if (term.length() > 3) {
com.flaptor.org.apache.lucene.util.automaton.Automaton lev = new LevenshteinAutomata(term).toAutomaton(1);
LuceneAutomaton levAutomaton = LuceneAutomaton.adapt(lev);
int max = 0;
for (String suggestion: com.flaptor.indextank.suggest.Automaton.intersectPaths(dictAutomaton, levAutomaton)){
if (term.equals(suggestion)){