[ 
https://issues.apache.org/jira/browse/LUCENE-2067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783271#action_12783271
 ] 

Simon Willnauer commented on LUCENE-2067:
-----------------------------------------

Robert, I really like the readability in combination with the pseudo code in 
the paper! The tests looking very good. The only thing I do not see in the 
paper is 
{code}
 if (len > 1 && s[len - 2] == 'e') {
      s[len - 2] = s[len - 1]; // e* > *
      return len - 1;
 }
{code}
 
durin the normalize stage. Maybe I miss something in the paper or this is some 
kind of optimisation. If so would you add a comment? - would make it easier!
I also see no reason why the CzechStemFilter should be none final.



> Czech Stemmer
> -------------
>
>                 Key: LUCENE-2067
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2067
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/analyzers
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2067.patch, LUCENE-2067.patch, LUCENE-2067.patch
>
>
> Currently, the CzechAnalyzer is merely stopwords, and there isn't a czech 
> stemmer in snowball.
> This patch implements the light stemming algorithm described in: 
> http://portal.acm.org/citation.cfm?id=1598600
> In their measurements, it improves MAP 42%
> The analyzer does not use this stemmer if LUCENE_VERSION <= 3.0, for back 
> compat.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
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