On Apr 23, 2004, at 5:29 AM, [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to