I'm actually not sure I understand the question. Afaik backwards compatibillity with the current SwedishStemmer could only be acheived by stemming using both classes and make diffing output synonyms.

I just did a bit of testing and the problems I've identified in 1515 is also available in SwedishStemmer. Not that surprising as 1515 is an augmentation of SwedishStemmer...

Personally I would not mind deprecating SwedishStemmer (renaming it to OldSwedish or something) and later on replace it with 1515, but that might mess with some people that don't read the README and just upgrade the jar while running on the same old index.


31 dec 2009 kl. 21.55 skrev Simon Willnauer:

Is there any chance to get the best of both worlds? Could we merge
both together and preserve bw compat with version?
Introducing another stemmer doing almost the same thing as an already
existing one does is exactly what we try to prevent right now. I don't
doubt that this issue is an improvement just thinking of a way to keep
code duplication as low as possible.

I haven't looked at the code yet so if my question are completely
nonsense let me know.

simon

On Thu, Dec 31, 2009 at 6:05 PM, Karl Wettin <karl.wet...@gmail.com> wrote:

31 dec 2009 kl. 17.43 skrev Simon Willnauer:

what is the essential difference between the existing and LUCENE-1515
stemmer?

1515 handles genitive case suffices better. An example:

klocka (a clock)
klockan (the clock)
klockans (the [insert noun] of the clock)
klockornas (the [insert noun] of the clocks)

Using snowball SwedishStemmer:

klocka -> klock
klockan -> klock
klockans  -> klockans
klockornas -> klockornas


    karl



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to