Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 40150 invoked from network); 28 Nov 2009 20:19:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Nov 2009 20:19:44 -0000 Received: (qmail 97414 invoked by uid 500); 28 Nov 2009 20:19:43 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 97335 invoked by uid 500); 28 Nov 2009 20:19:43 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 97327 invoked by uid 99); 28 Nov 2009 20:19:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Nov 2009 20:19:43 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Nov 2009 20:19:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B854234C052 for ; Sat, 28 Nov 2009 12:19:20 -0800 (PST) Message-ID: <1418181455.1259439560621.JavaMail.jira@brutus> Date: Sat, 28 Nov 2009 20:19:20 +0000 (UTC) From: "Robert Muir (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2067) Czech Stemmer In-Reply-To: <1510932863.1258194459666.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-2067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783276#action_12783276 ] Robert Muir commented on LUCENE-2067: ------------------------------------- Hi Simon, I think you are referring to the 2007 paper: http://clef-campaign.org/2007/working_notes/DolamicCLEF2007.pdf, which is very similar. The 2009 paper (referenced by the code, but you need ACM account to get it), http://portal.acm.org/citation.cfm?id=1598600 describes this in pseudocode as: {noformat} if (word ends with "e*") then replace by "*" return; {noformat} Sorry for the confusion (pointing you at a slightly different algorithm)... btw here is a description of what this rule does from http://www.seelrc.org/projects/casebooks/appendixcz.pdf Many words in Czech have what we call mobile e. This is an e that appears (usually before the last consonant in the stem) when there is no ending after the stem, but is absent when there is a case ending. Here are some examples: * pes 'dog' Nsg : psi 'dogs' Npl * otec 'father' Nsg : otce 'father' Gsg * deska 'board' Nsg : desek 'boards' Gpl. bq. I also see no reason why the CzechStemFilter should be none final. I will make the stemfilter final, thanks! > 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-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org