Re: [greenstone-devel] how to add new stemmer

From John R. McPherson
DateFri, 19 Mar 2004 09:52:54 +1300
Subject Re: [greenstone-devel] how to add new stemmer
In-Reply-To (20040318201732Z2275104-7598+6345-mail4-centrum-cz)
On Thu, Mar 18, 2004 at 09:17:25PM +0100, Jakub =?ISO-8859-2?Q?=D8ehan ?= wrote:
> Hi,
> is there some document describing how to add new stemmer? I don't have any ideas how to even start ... This would be much harder task than to create new plugin, I guess. To be honest, I don't have a year to experiment with it.

The 2 backends, mg and mgpp, use independent code (even though I think both
sets of code are identical for the stemmer).

For example, look in
gsdl/src/mgpp/lib/simplefrenchstem.cpp
gsdl/src/mgpp/lib/lovinstem.cpp
for the stemmers,
gsdl/src/mgpp/text/stemmer.cpp
for the code that decides which stemmer to pass words to.

John McPherson