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)
In-Reply-To (BBEEJNNNCBOOLPHKJHMCEEOOCIAA-aj0151-wayne-edu)
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) classinfo.pl AZList

Hope this helps,
regards,
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
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users