You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by Neil Ghosh <ne...@gmail.com> on 2011/04/17 15:26:34 UTC

Re: Unable to download Snowball !

I added the library in contrib directory
(lucene-3.1.0/contrib/analyzers/common/lucene-analyzers-3.1.0.jar)

But getting the following runtime exception

Exception in thread "main" java.lang.RuntimeException:
java.lang.ClassNotFoundException: org.tartarus.snowball.ext.sbStemmer

On Sun, Apr 17, 2011 at 6:43 PM, Neil Ghosh <ne...@gmail.com> wrote:

> Rahul,  What is this link about ?
>
>
> On Sun, Apr 17, 2011 at 6:42 PM, Rahul Akolkar <ra...@gmail.com>wrote:
>
>> On Sun, Apr 17, 2011 at 8:49 AM, Neil Ghosh <ne...@gmail.com> wrote:
>> > I have already downloaded lucene but where is the snowball analyzer in
>> that
>> > ?
>> > The one in contrib directory is throwing runtime exception
>> >
>> <snip/>
>>
>> http://lucene.apache.org/mail.html
>>
>> -Rahul
>>
>>
>> > On Sun, Apr 17, 2011 at 6:16 PM, Rahul Akolkar <rahul.akolkar@gmail.com
>> >
>> > wrote:
>> >>
>> >> On Sun, Apr 17, 2011 at 8:34 AM, Neil Ghosh <ne...@gmail.com>
>> wrote:
>> >> > Hi,
>> >> >
>> >> > Unable to download snowball analyzer
>> >> > I am trying to use snowball analyzer for my search engine but unable
>> to
>> >> > download the library.
>> >> >
>> >> <snip/>
>> >>
>> >> http://lucene.apache.org/
>> >>
>> >> -Rahul
>> >>
>> >>
>> >> > Please help
>> >> >
>> >> > --
>> >> > Thanks and Regards
>> >> > Neil
>> >> > http://neilghosh.com
>> >> >
>> >
>> >
>> >
>> > --
>> > Thanks and Regards
>> > Neil
>> > http://neilghosh.com
>> >
>> >
>> >
>> >
>>
>
>
>
> --
> Thanks and Regards
> Neil
> http://neilghosh.com
>
>
>
>


-- 
Thanks and Regards
Neil
http://neilghosh.com

Re: Unable to download Snowball !

Posted by Neil Ghosh <ne...@gmail.com>.
Hi Uwe,

I just added the library in contrib directory
(lucene-3.1.0/contrib/analyzers/common/lucene-analyzers-3.1.0.jar) and used
the following code to instantiate

new SnowballAnalyzer(Version.LUCENE_CURRENT,"sb")

Where should I make the configuration that it will use one of the existing
stemmer ?

On Sun, Apr 17, 2011 at 8:44 PM, Uwe Schindler <uw...@thetaphi.de> wrote:

> Hi,
>
> Lucene does not contain a class sbStemmer. You have to choose one of the
> following:
>
> http://lucene.apache.org/java/3_1_0/api/contrib-analyzers/org/tartarus/snowb
> all/ext/package-summary.html<http://lucene.apache.org/java/3_1_0/api/contrib-analyzers/org/tartarus/snowb%0Aall/ext/package-summary.html>
>
> Your configuration of Snowball seems to be wrong, so it tries to load a
> class that does not exist (sbStemmer).
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
> > -----Original Message-----
> > From: Neil Ghosh [mailto:neil.ghosh@gmail.com]
> > Sent: Sunday, April 17, 2011 3:27 PM
> > To: general@lucene.apache.org; Jakarta General List
> > Subject: Re: Unable to download Snowball !
> >
> > I added the library in contrib directory
> > (lucene-3.1.0/contrib/analyzers/common/lucene-analyzers-3.1.0.jar)
> >
> > But getting the following runtime exception
> >
> > Exception in thread "main" java.lang.RuntimeException:
> > java.lang.ClassNotFoundException: org.tartarus.snowball.ext.sbStemmer
> >
> > On Sun, Apr 17, 2011 at 6:43 PM, Neil Ghosh <ne...@gmail.com>
> wrote:
> >
> > > Rahul,  What is this link about ?
> > >
> > >
> > > On Sun, Apr 17, 2011 at 6:42 PM, Rahul Akolkar
> > <ra...@gmail.com>wrote:
> > >
> > >> On Sun, Apr 17, 2011 at 8:49 AM, Neil Ghosh <ne...@gmail.com>
> > wrote:
> > >> > I have already downloaded lucene but where is the snowball analyzer
> > >> > in
> > >> that
> > >> > ?
> > >> > The one in contrib directory is throwing runtime exception
> > >> >
> > >> <snip/>
> > >>
> > >> http://lucene.apache.org/mail.html
> > >>
> > >> -Rahul
> > >>
> > >>
> > >> > On Sun, Apr 17, 2011 at 6:16 PM, Rahul Akolkar
> > >> > <rahul.akolkar@gmail.com
> > >> >
> > >> > wrote:
> > >> >>
> > >> >> On Sun, Apr 17, 2011 at 8:34 AM, Neil Ghosh <ne...@gmail.com>
> > >> wrote:
> > >> >> > Hi,
> > >> >> >
> > >> >> > Unable to download snowball analyzer I am trying to use snowball
> > >> >> > analyzer for my search engine but unable
> > >> to
> > >> >> > download the library.
> > >> >> >
> > >> >> <snip/>
> > >> >>
> > >> >> http://lucene.apache.org/
> > >> >>
> > >> >> -Rahul
> > >> >>
> > >> >>
> > >> >> > Please help
> > >> >> >
> > >> >> > --
> > >> >> > Thanks and Regards
> > >> >> > Neil
> > >> >> > http://neilghosh.com
> > >> >> >
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > Thanks and Regards
> > >> > Neil
> > >> > http://neilghosh.com
> > >> >
> > >> >
> > >> >
> > >> >
> > >>
> > >
> > >
> > >
> > > --
> > > Thanks and Regards
> > > Neil
> > > http://neilghosh.com
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Thanks and Regards
> > Neil
> > http://neilghosh.com
>
>


-- 
Thanks and Regards
Neil
http://neilghosh.com

RE: Unable to download Snowball !

Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi,

Lucene does not contain a class sbStemmer. You have to choose one of the
following:
http://lucene.apache.org/java/3_1_0/api/contrib-analyzers/org/tartarus/snowb
all/ext/package-summary.html

Your configuration of Snowball seems to be wrong, so it tries to load a
class that does not exist (sbStemmer).

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Neil Ghosh [mailto:neil.ghosh@gmail.com]
> Sent: Sunday, April 17, 2011 3:27 PM
> To: general@lucene.apache.org; Jakarta General List
> Subject: Re: Unable to download Snowball !
> 
> I added the library in contrib directory
> (lucene-3.1.0/contrib/analyzers/common/lucene-analyzers-3.1.0.jar)
> 
> But getting the following runtime exception
> 
> Exception in thread "main" java.lang.RuntimeException:
> java.lang.ClassNotFoundException: org.tartarus.snowball.ext.sbStemmer
> 
> On Sun, Apr 17, 2011 at 6:43 PM, Neil Ghosh <ne...@gmail.com> wrote:
> 
> > Rahul,  What is this link about ?
> >
> >
> > On Sun, Apr 17, 2011 at 6:42 PM, Rahul Akolkar
> <ra...@gmail.com>wrote:
> >
> >> On Sun, Apr 17, 2011 at 8:49 AM, Neil Ghosh <ne...@gmail.com>
> wrote:
> >> > I have already downloaded lucene but where is the snowball analyzer
> >> > in
> >> that
> >> > ?
> >> > The one in contrib directory is throwing runtime exception
> >> >
> >> <snip/>
> >>
> >> http://lucene.apache.org/mail.html
> >>
> >> -Rahul
> >>
> >>
> >> > On Sun, Apr 17, 2011 at 6:16 PM, Rahul Akolkar
> >> > <rahul.akolkar@gmail.com
> >> >
> >> > wrote:
> >> >>
> >> >> On Sun, Apr 17, 2011 at 8:34 AM, Neil Ghosh <ne...@gmail.com>
> >> wrote:
> >> >> > Hi,
> >> >> >
> >> >> > Unable to download snowball analyzer I am trying to use snowball
> >> >> > analyzer for my search engine but unable
> >> to
> >> >> > download the library.
> >> >> >
> >> >> <snip/>
> >> >>
> >> >> http://lucene.apache.org/
> >> >>
> >> >> -Rahul
> >> >>
> >> >>
> >> >> > Please help
> >> >> >
> >> >> > --
> >> >> > Thanks and Regards
> >> >> > Neil
> >> >> > http://neilghosh.com
> >> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Thanks and Regards
> >> > Neil
> >> > http://neilghosh.com
> >> >
> >> >
> >> >
> >> >
> >>
> >
> >
> >
> > --
> > Thanks and Regards
> > Neil
> > http://neilghosh.com
> >
> >
> >
> >
> 
> 
> --
> Thanks and Regards
> Neil
> http://neilghosh.com