Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Stop Word list File processing

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


99harsha.h.n99 at gmail

Jun 30, 2009, 10:23 PM

Post #1 of 2 (302 views)
Permalink
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[at]lucene.apache.org
For additional commands, e-mail: java-user-help[at]lucene.apache.org


shayaksen at gmail

Jun 30, 2009, 11:29 PM

Post #2 of 2 (270 views)
Permalink
Re: Stop Word list File processing [In reply to]

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<99harsha.h.n99[at]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[at]lucene.apache.org
> For additional commands, e-mail: java-user-help[at]lucene.apache.org
>
>

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

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.