Index: br/BrazilianAnalyzer.java =================================================================== RCS file: /home/cvspublic/jakarta-lucene-sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/br/BrazilianAnalyzer.java,v retrieving revision 1.5 diff -u -r1.5 BrazilianAnalyzer.java --- br/BrazilianAnalyzer.java 12 Mar 2004 15:52:58 -0000 1.5 +++ br/BrazilianAnalyzer.java 9 Jul 2004 21:00:31 -0000 @@ -62,6 +62,7 @@ import org.apache.lucene.analysis.standard.StandardFilter; import org.apache.lucene.analysis.standard.StandardTokenizer; import java.io.File; +import java.io.IOException; import java.io.Reader; import java.util.Hashtable; import java.util.HashSet; @@ -72,7 +73,7 @@ * will not be indexed at all) and an external list of exclusions (word that will * not be stemmed, but indexed). * - * @author Jo�o Kramer + * @author Jo�o Kramer */ public final class BrazilianAnalyzer extends Analyzer { @@ -134,8 +135,8 @@ /** * Builds an analyzer with the given stop words. */ - public BrazilianAnalyzer( File stopwords ) { - stoptable = new HashSet(WordlistLoader.getWordtable( stopwords ).keySet()); + public BrazilianAnalyzer( File stopwords ) throws IOException { + stoptable = WordlistLoader.getWordSet( stopwords ); } /** @@ -153,8 +154,8 @@ /** * Builds an exclusionlist from the words contained in the given file. */ - public void setStemExclusionTable( File exclusionlist ) { - excltable = new HashSet(WordlistLoader.getWordtable( exclusionlist ).keySet()); + public void setStemExclusionTable( File exclusionlist ) throws IOException { + excltable = WordlistLoader.getWordSet( exclusionlist ); } /** Index: cz/CzechAnalyzer.java =================================================================== RCS file: /home/cvspublic/jakarta-lucene-sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/cz/CzechAnalyzer.java,v retrieving revision 1.4 diff -u -r1.4 CzechAnalyzer.java --- cz/CzechAnalyzer.java 12 Mar 2004 15:52:58 -0000 1.4 +++ cz/CzechAnalyzer.java 9 Jul 2004 21:00:31 -0000 @@ -136,8 +136,8 @@ /** * Builds an analyzer with the given stop words. */ - public CzechAnalyzer( File stopwords ) { - stoptable = new HashSet(WordlistLoader.getWordtable( stopwords ).keySet()); + public CzechAnalyzer( File stopwords ) throws IOException { + stoptable = WordlistLoader.getWordSet( stopwords ); } /**