Re: [greenstone-devel] Something special about the word "statement"?

From Doug Carter
DateThu, 26 May 2005 08:27:58 -0700
Subject Re: [greenstone-devel] Something special about the word "statement"?
In-Reply-To (429398B1-6030601-cs-waikato-ac-nz)
Katherine,

I've had a look at the code, but I don't completely understand it yet.
After some additional testing, I've discovered that there are other bad
lookups. For example there are several other words that end in "ent, like
"accident" that have the same problem. Is the Lovin code imported from
somewhere? Could there be a updated version that addresses this problem?

Thanks,

Doug

On Wed, May 25, 2005 at 09:12:17AM +1200, Katherine Don wrote:
> Hi Doug
>
> I guess statement and statements don't stem to the same root.
> If you want to look at the stemmer, its in
> gsdl/packages/mg/lib/lovinstem.c or gsdl/src/mgpp/lib/lovinstem.cpp
> depending on whether you are using mg or mgpp.
>
> Regards,
> Katherine Don
>
> Doug Carter wrote:
> > Hi all,
> >
> > I ran into a very strange problem with stemming, regarding the word
> > "statement". With stemming turned on, the word "statement" in a metadata
> > field will not be found when searching "statements". Similarly, if I
> > included the word "statements" in the metadata, searching for the word
> > "statement" will fail. However, countless other words I've tested works
> > OK. Is there something special about the word "statement"?
> >
> > If someone can point me to the source code of where this problem may be,
> > I'll take a look into it.
> >
> > BTW, I'm running Greenstone 2.52 on Redhat Linux 9.0.
> >
> > TIA,
> >
> > Doug
> >
> >
> > _______________________________________________
> > greenstone-devel mailing list
> > greenstone-devel@list.scms.waikato.ac.nz
> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
> >