Pair (org.apache.ctakes.typesystem.type.util.Pair) is intended for such document-level properties. Would that suit your need?
-- James > -----Original Message----- > From: [email protected] > [mailto:ctakes-dev-return-854- > [email protected]] On Behalf Of Dmitriy Dligach > Sent: Thursday, November 15, 2012 9:16 AM > To: cTAKES Dev list @ ASF > Subject: new type: document label? > > We've recently been using cTAKES more and more for document-level > classification (e.g. phenotyping). Would it make sense to add a new type > (that would derive from TOP) to store the label for a document? I know > we currently have a doc id for each document, but having the label type > would simplify a lot of things (e.g. debugging). > > Thanks, > > Dima
