Re: [greenstone-users] Stop words - for title index (AZList)

From Katherine Don
DateWed, 12 Nov 2003 11:11:45 +1300
Subject Re: [greenstone-users] Stop words - for title index (AZList)
Hi Laura

One of the options to the AZList classifier is -removeprefix, and this prefix
is removed from the metadata value before sorting.

So you could specify classify AZList -removeprefix 'La'.
The string is treated as a perl regular expression, so you can do things like
-removeprefix '(La |The )'

By the way, you can see what options are available for classifiers by running
eg (perl -S) AZList

Hope this helps,
Katherine Don

Laura Sheble wrote:

> Hi all,
> I'd like to add 'La' to the list of words that are not indexed in the browse
> index with AZList. My goal is to list 'La albacete' under 'A' instead of
> 'L' in the title browse. Where can I add to the stop words? Thank you.
> Laura
> _______________________________________________
> greenstone-users mailing list