Considering intermediary solution before Lucene question

2004-11-17 Thread jeichels
Is there a way to use Lucene stemming and stop word removal without using the rest of the tool? I am downloading the code now, but I imagine the answer might be deeply burried. I would like to be able to send in a phrase and get back a collection of keywords if possible. I am thinking of

Re: Considering intermediary solution before Lucene question

2004-11-17 Thread Otis Gospodnetic
Yes, you can use just the Analysis part. For instance, I use this for http://www.simpy.com and I believe we also have this in the Lucene book as part of the source code package: /** * Gets Tokens extracted from the given text, using the specified Analyzer. * * @param analyzer

Re: Considering intermediary solution before Lucene question

2004-11-17 Thread jeichels
: Otis Gospodnetic [EMAIL PROTECTED] Date: Wednesday, November 17, 2004 7:17 pm Subject: Re: Considering intermediary solution before Lucene question Yes, you can use just the Analysis part. For instance, I use this for http://www.simpy.com and I believe we also have this in the Lucene bookas

Re: Considering intermediary solution before Lucene question

2004-11-17 Thread Chris Lamprecht
John, It actually should be pretty easy to use just the parts of Lucene you want (the analyzers, etc) without using the rest. See the example of the PorterStemmer from this article: http://www.onjava.com/pub/a/onjava/2003/01/15/lucene.html?page=2 You could feed a Reader to the tokenStream()

Re: Considering intermediary solution before Lucene question

2004-11-17 Thread jeichels
:08 pm Subject: Re: Considering intermediary solution before Lucene question John, It actually should be pretty easy to use just the parts of Lucene you want (the analyzers, etc) without using the rest. See the example of the PorterStemmer from this article: http://www.onjava.com/pub