ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masanz, James J." <Masanz.Ja...@mayo.edu>
Subject RE: NamedEntityLookupConsumerImpl
Date Tue, 23 Apr 2013 15:37:21 GMT
That looks suspicious. Did you look at the history?
Offhand I think we would want to skip those with NE_TYPE_ID_UNKNOWN all together, and maybe
log a message.

-- James


> -----Original Message-----
> From: dev-return-1541-Masanz.James=mayo.edu@ctakes.apache.org [mailto:dev-
> return-1541-Masanz.James=mayo.edu@ctakes.apache.org] On Behalf Of Chen,
> Pei
> Sent: Monday, April 22, 2013 3:20 PM
> To: dev@ctakes.apache.org
> Subject: NamedEntityLookupConsumerImpl
> 
> 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
View raw message