You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Harsha1 <99...@gmail.com> on 2009/07/01 07:23:56 UTC

Stop Word list File processing

Hi,
I have a string through i need to filter off some of words (say stop words).
But I want to use WhiteSpaceAnalyser. So I have created a custom analyser
with capability of whitespaceAnalyser and filtering unwanted words.
Since the String array of Stop words is increasing, i would like put this
into a file and process this file.

How to go about this?
-- 
View this message in context: http://www.nabble.com/Stop-Word-list-File-processing-tp24284338p24284338.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


Re: Stop Word list File processing

Posted by Shayak Sen <sh...@gmail.com>.
Hi,
When you make the custom filter for removing stopwords, use the
constructor to load the stopwords list then use it as you were
earlier.


On Wed, Jul 1, 2009 at 1:23 PM, Harsha1<99...@gmail.com> wrote:
>
> Hi,
> I have a string through i need to filter off some of words (say stop words).
> But I want to use WhiteSpaceAnalyser. So I have created a custom analyser
> with capability of whitespaceAnalyser and filtering unwanted words.
> Since the String array of Stop words is increasing, i would like put this
> into a file and process this file.
>
> How to go about this?
> --
> View this message in context: http://www.nabble.com/Stop-Word-list-File-processing-tp24284338p24284338.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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