ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Pei" <Pei.C...@childrens.harvard.edu>
Subject NamedEntityLookupConsumerImpl
Date Mon, 22 Apr 2013 20:19:53 GMT
Should we be defaulting UNKNOWN type NE's to MedicationEventMention?
Wouldn't it make more sense if CONST.NE_TYPE_ID_UNKNOWN to create an EventMention rather than
Medication?

<snip>
         IdentifiedAnnotation neAnnot;
         if ( typeId == CONST.NE_TYPE_ID_DRUG || typeId == CONST.NE_TYPE_ID_UNKNOWN ) {
            neAnnot = new MedicationEventMention( jcas );
         } else {
            neAnnot = new EntityMention( jcas );
         }
</snip>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message