Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 44022 invoked from network); 3 Feb 2010 14:25:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 14:25:57 -0000 Received: (qmail 44844 invoked by uid 500); 3 Feb 2010 14:25:56 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 44766 invoked by uid 500); 3 Feb 2010 14:25:56 -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 44758 invoked by uid 99); 3 Feb 2010 14:25:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 14:25:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Wed, 03 Feb 2010 14:25:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 01938234C1F0 for ; Wed, 3 Feb 2010 06:25:28 -0800 (PST) Message-ID: <1855588793.2911265207127999.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Feb 2010 14:25:27 +0000 (UTC) From: "Robert Muir (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-2055) Fix buggy stemmers and Remove duplicate analysis functionality In-Reply-To: <1644876055.1257954219644.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-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2055: -------------------------------- Attachment: LUCENE-2055.patch updated patch: * implement StemmerOverrideFilter with CharArrayMap * fix casing problems in french and dutch: they did not call lowercasefilter, instead relying upon the stemmer to lowercase things. this causes inconsistencies with stopwords, dictionary-based stemming, exclusion sets, you name it. the old broken behavior is preserved depending on Version * add missing standardfilter to greek (depending on Version). > Fix buggy stemmers and Remove duplicate analysis functionality > -------------------------------------------------------------- > > Key: LUCENE-2055 > URL: https://issues.apache.org/jira/browse/LUCENE-2055 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/analyzers > Reporter: Robert Muir > Fix For: 3.1 > > Attachments: LUCENE-2055.patch, LUCENE-2055.patch, LUCENE-2055.patch > > > would like to remove stemmers in the following packages, and instead in their analyzers use a SnowballStemFilter instead. > * analyzers/fr > * analyzers/nl > * analyzers/ru > below are excerpts from this code where they proudly proclaim they use the snowball algorithm. > I think we should delete all of this custom stemming code in favor of the actual snowball package. > {noformat} > /** > * A stemmer for French words. > *

> * The algorithm is based on the work of > * Dr Martin Porter on his snowball project
> * refer to http://snowball.sourceforge.net/french/stemmer.html
> * (French stemming algorithm) for details > *

> */ > public class FrenchStemmer { > /** > * A stemmer for Dutch words. > *

> * The algorithm is an implementation of > * the dutch stemming > * algorithm in Martin Porter's snowball project. > *

> */ > public class DutchStemmer { > /** > * Russian stemming algorithm implementation (see http://snowball.sourceforge.net for detailed description). > */ > class RussianStemmer > {noformat} -- 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