lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sandeep chawla" <sand.cha...@gmail.com>
Subject Re: PorterStemFilter
Date Tue, 27 Mar 2007 12:16:34 GMT
Well in any case..

is there a implemention of Porter2 Stemming algorithim in java..

I dont want to make a snowballfilter based on snowball  English Stemmer.

On 27/03/07, thomas arni <art@zhwin.ch> wrote:
>
> Write your own analyzer, which calls the appropriate Filter in the
> method "tokenStream".
> In the method "tokenStream" you can define, how the input should be
> analyzed and parsed.
>
> Your analyzer must extend the abstract class Analyzer. The easiest way
> is to create a new class (Analyzer), which is a simple copy of the
> StandardAnalyzer, and expand it with the appropriate Filter in the
> method "tokenStream".
>
> Hope this helps...
>
> Thomas
>
>
>
>
> sandeep.chawla@accenture.com wrote:
> > Hi,
> >
> >
> >
> > Lucene provides a PorterStemFilter which uses PorterStemmer.
> >
> >
> >
> > Is there any way I can use a PorterStemFilter ( by extending it or
> > something) which uses porter2 stemming algorithm not the original porter
> > algorithm.
> >
> >
> >
> > I know , this is possible using snowball filter but for some reason I
> > don't want to use it.
> >
> >
> >
> > Thanks
> >
> > Sandeep
> >
> >
> >
> > This message is for the designated recipient only and may contain privileged, proprietary,
or otherwise private information.  If you have received it in error, please notify the sender
immediately and delete the original.  Any other use of the email by you is prohibited.
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>


-- 
SANDEEP CHAWLA
House no. 71
2nd main road
Koramangala 1st Block
Bangalore
Mobile - 91-9986150603

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


Mime
View raw message