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 wenlei zhou <we...@gmail.com> on 2011/04/24 13:14:18 UTC

lucene PorterStemmer

Hi, guys
I want to stem some English text.
For example:

String stemTerm(String term){
   ...
}

We can get the stemmed term of the input term.

Does any one knows how to use lucene to achieve this target?

Sincerely,
Zhou Wenlei

Re: lucene PorterStemmer

Posted by software visualization <so...@gmail.com>.
Can you  share the answer you found?

On Sun, Apr 24, 2011 at 8:31 AM, wenlei zhou <we...@gmail.com>wrote:

> Hi, WeiWei
> I have found the answer~~ Thank you very much!
>
> regards,
> Zhou Wenlei
>
> On 24 April 2011 19:29, wenlei zhou <we...@gmail.com> wrote:
>
> > Hi, WeiWei
> >
> > I find that org.tartarus.snowball.ext.PorterStemmer maybe can be used.
> > However, there is no example which can tell me how to use it. Can you
> give
> > me a example?
> >
> > Regards,
> > Zhou Wenlei
> >
> >
> > On 24 April 2011 19:24, Weiwei Wang <ww...@gmail.com> wrote:
> >
> >> search lucene snowball
> >> 在 2011-4-24 下午7:14,"wenlei zhou" <we...@gmail.com>写道:
> >> >
> >> > Hi, guys
> >> > I want to stem some English text.
> >> > For example:
> >> >
> >> > String stemTerm(String term){
> >> >   ...
> >> > }
> >> >
> >> > We can get the stemmed term of the input term.
> >> >
> >> > Does any one knows how to use lucene to achieve this target?
> >> >
> >> > Sincerely,
> >> > Zhou Wenlei
> >>
> >
> >
>

Re: lucene PorterStemmer

Posted by wenlei zhou <we...@gmail.com>.
Hi, WeiWei
I have found the answer~~ Thank you very much!

regards,
Zhou Wenlei

On 24 April 2011 19:29, wenlei zhou <we...@gmail.com> wrote:

> Hi, WeiWei
>
> I find that org.tartarus.snowball.ext.PorterStemmer maybe can be used.
> However, there is no example which can tell me how to use it. Can you give
> me a example?
>
> Regards,
> Zhou Wenlei
>
>
> On 24 April 2011 19:24, Weiwei Wang <ww...@gmail.com> wrote:
>
>> search lucene snowball
>> 在 2011-4-24 下午7:14,"wenlei zhou" <we...@gmail.com>写道:
>> >
>> > Hi, guys
>> > I want to stem some English text.
>> > For example:
>> >
>> > String stemTerm(String term){
>> >   ...
>> > }
>> >
>> > We can get the stemmed term of the input term.
>> >
>> > Does any one knows how to use lucene to achieve this target?
>> >
>> > Sincerely,
>> > Zhou Wenlei
>>
>
>

Re: lucene PorterStemmer

Posted by wenlei zhou <we...@gmail.com>.
Hi, WeiWei

I find that org.tartarus.snowball.ext.PorterStemmer maybe can be used.
However, there is no example which can tell me how to use it. Can you give
me a example?

Regards,
Zhou Wenlei

On 24 April 2011 19:24, Weiwei Wang <ww...@gmail.com> wrote:

> search lucene snowball
> 在 2011-4-24 下午7:14,"wenlei zhou" <we...@gmail.com>写道:
> >
> > Hi, guys
> > I want to stem some English text.
> > For example:
> >
> > String stemTerm(String term){
> >   ...
> > }
> >
> > We can get the stemmed term of the input term.
> >
> > Does any one knows how to use lucene to achieve this target?
> >
> > Sincerely,
> > Zhou Wenlei
>

Re: lucene PorterStemmer

Posted by Weiwei Wang <ww...@gmail.com>.
search lucene snowball
在 2011-4-24 下午7:14,"wenlei zhou" <we...@gmail.com>写道:
>
> Hi, guys
> I want to stem some English text.
> For example:
>
> String stemTerm(String term){
>   ...
> }
>
> We can get the stemmed term of the input term.
>
> Does any one knows how to use lucene to achieve this target?
>
> Sincerely,
> Zhou Wenlei