[greenstone-devel] Binary classifier

From Doug Carter
DateFri, 28 May 2004 13:03:26 -0700
Subject [greenstone-devel] Binary classifier
Hi all,

I'm trying to implement a binary classifier. For example:

I want a button on the nav bar called "new" that users can click on to
get a list of all of the new documents.

So I created a metadata element called "New", in the metadata.xml file
and added this line to my collect.cfg file:

classify AZList -metadata New

For files that are new, I set the metadata element to "Yes" in the
metadata.xml file. If it's not new, I leave it blank. (The AZList is
the closest classifier that I thought would work for this.)

After building the collection, it works perfectly, except that there
is a letter "Y" at the top of list. I'm assuming this is because
it's referring to the first letter in the word "Yes".


How do I get rid of the "Y"?

Is there a better way to implement a binary classifier?


Doug Carter
Mercy Corps