lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: more rigid stopword list ?
Date Sat, 24 Apr 2004 03:05:12 GMT
On Apr 23, 2004, at 5:29 AM, hgadm@cswebmail.com wrote:
> Many thanks to Tate, Otis, Eric [again :-)] and David.
>
> I am using the Snowball stemmer - so with the
> overloaded constructor for Snowball I guess a call
> would be:
>
> new SnowballAnalyser("English,
> StopAnalyzer.MY_ENGLISH_STOP_WORDS);
>
> where MY_ENGLISH_STOP_WORDS is a java.lang.String[] of
> the stopwords I would like to use.
>
> Is that the correct syntax for SnowballAnalyser ?

Correct syntax except for the spelling of Analyzer :)   The signature 
is this:

   public SnowballAnalyzer(String name, String[] stopWords)



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message