Re: FuzzySuggester EXACT_FIRST criteria

2013-11-20 Thread Christian Reuschling
I created a test class for rapid testing that should be runnable out of the box, with LUCENE-SUGGEST-5.0-SNAPSHOT (maven) dependency. (see attachment) Because I can't subclass from the final FuzzySuggester I subclassed AnalyzingSuggester, delegating all 3 method calls 'convertAutomaton, getFullP

Re: FuzzySuggester EXACT_FIRST criteria

2013-11-15 Thread Michael McCandless
Hmm, I'm not sure offhand why that change gives you no results. The fullPrefixPaths should have been a super-set of the original prefix paths, since the LevA just adds further paths. Mike McCandless http://blog.mikemccandless.com On Thu, Nov 14, 2013 at 2:43 PM, Christian Reuschling wrote: >

Re: FuzzySuggester EXACT_FIRST criteria

2013-11-14 Thread Christian Reuschling
I tried it by changing the first prefixPath initialization to List>> prefixPaths = FSTUtil.intersectPrefixPaths(convertAutomaton(lookupAutomaton), fst); prefixPaths = getFullPrefixPaths(prefixPaths, lookupAutomaton, fst); inside AnalyzingSuggester.lookup(..). (simply copied the line from belo

Re: FuzzySuggester EXACT_FIRST criteria

2013-11-14 Thread Michael McCandless
On Wed, Nov 13, 2013 at 12:04 PM, Christian Reuschling wrote: > We started to implement a named entity recognition on the base of > AnalyzingSuggester, which offers > the great support for Synonyms, Stopwords, etc. > For this, we slightly modified AnalyzingSuggester.lookup() to only return the >