Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 77486 invoked from network); 19 Jan 2004 21:02:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 19 Jan 2004 21:02:34 -0000 Received: (qmail 94337 invoked by uid 500); 19 Jan 2004 21:02:23 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 94062 invoked by uid 500); 19 Jan 2004 21:02:21 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 94047 invoked by uid 500); 19 Jan 2004 21:02:21 -0000 Received: (qmail 94044 invoked from network); 19 Jan 2004 21:02:21 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 19 Jan 2004 21:02:21 -0000 Received: (qmail 77470 invoked by uid 1419); 19 Jan 2004 21:02:31 -0000 Date: 19 Jan 2004 21:02:31 -0000 Message-ID: <20040119210231.77469.qmail@minotaur.apache.org> From: ehatcher@apache.org To: jakarta-lucene-sandbox-cvs@apache.org Subject: cvs commit: jakarta-lucene-sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/br BrazilianAnalyzer.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ehatcher 2004/01/19 13:02:31 Modified: contributions/analyzers/src/java/org/apache/lucene/analysis/br BrazilianAnalyzer.java Log: Duplicate WordlistLoader removal. It exists in Lucene's core also. There was one code difference and the core implementation looked correct - please let me know if this is not correct Revision Changes Path 1.2 +3 -2 jakarta-lucene-sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/br/BrazilianAnalyzer.java Index: BrazilianAnalyzer.java =================================================================== RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/br/BrazilianAnalyzer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- BrazilianAnalyzer.java 23 Dec 2003 18:46:34 -0000 1.1 +++ BrazilianAnalyzer.java 19 Jan 2004 21:02:31 -0000 1.2 @@ -4,6 +4,7 @@ import org.apache.lucene.analysis.LowerCaseFilter; import org.apache.lucene.analysis.StopFilter; import org.apache.lucene.analysis.TokenStream; +import org.apache.lucene.analysis.de.WordlistLoader; import org.apache.lucene.analysis.standard.StandardFilter; import org.apache.lucene.analysis.standard.StandardTokenizer; import java.io.File; @@ -43,7 +44,7 @@ "seja","sem","sendo","seu","seus","sob","sobre","sua", "suas","tal","tambem","teu","teus","toda","todas","todo", "todos","tua","tuas","tudo","um","uma","umas","uns"}; - + /** * Contains the stopwords used with the StopFilter. @@ -100,7 +101,7 @@ public void setStemExclusionTable( File exclusionlist ) { excltable = WordlistLoader.getWordtable( exclusionlist ); } - + /** * Creates a TokenStream which tokenizes all the text in the provided Reader. * --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org