neAnnot = new LabMention( jcas ); } else if ( conceptKey == CONST.NE_TYPE_ID_PROCEDURE ) { neAnnot = new ProcedureMention( jcas ); } else { neAnnot = new EntityMention( jcas );
neAnnot = new LabMention( jcas ); } else if ( conceptKey == CONST.NE_TYPE_ID_PROCEDURE ) { neAnnot = new ProcedureMention( jcas ); } else { neAnnot = new EntityMention( jcas );
neAnnot = new LabMention( jcas ); } else if ( typeId == CONST.NE_TYPE_ID_PROCEDURE ) { neAnnot = new ProcedureMention( jcas ); } else { neAnnot = new EntityMention( jcas );
static private IdentifiedAnnotation createSemanticAnnotation( final JCas jcas, final int cTakesSemantic ) { switch ( cTakesSemantic ) { case NE_TYPE_ID_DRUG: { return new MedicationMention( jcas ); } case NE_TYPE_ID_ANATOMICAL_SITE: { return new AnatomicalSiteMention( jcas ); } case NE_TYPE_ID_DISORDER: { return new DiseaseDisorderMention( jcas ); } case NE_TYPE_ID_FINDING: { return new SignSymptomMention( jcas ); } case NE_TYPE_ID_LAB: { return new LabMention( jcas ); } case NE_TYPE_ID_PROCEDURE: { return new ProcedureMention( jcas ); } } return new EntityMention( jcas ); }
static private IdentifiedAnnotation createSemanticAnnotation( final JCas jcas, final int cTakesSemantic ) { switch ( cTakesSemantic ) { case NE_TYPE_ID_DRUG: { return new MedicationMention( jcas ); } case NE_TYPE_ID_ANATOMICAL_SITE: { return new AnatomicalSiteMention( jcas ); } case NE_TYPE_ID_DISORDER: { return new DiseaseDisorderMention( jcas ); } case NE_TYPE_ID_FINDING: { return new SignSymptomMention( jcas ); } case NE_TYPE_ID_LAB: { return new LabMention( jcas ); } case NE_TYPE_ID_PROCEDURE: { return new ProcedureMention( jcas ); } } return new EntityMention( jcas ); }
neAnnot = new LabMention( jcas ); } else if ( typeId == CONST.NE_TYPE_ID_PROCEDURE ) { neAnnot = new ProcedureMention( jcas ); } else { neAnnot = new EntityMention( jcas );
ProcedureMention mention = new ProcedureMention(jCas, coveringSpan.begin, coveringSpan.end); addIdentifiedAnnotationFeatures( annotation,
ProcedureMention mention = new ProcedureMention(jCas, coveringSpan.begin, coveringSpan.end); addIdentifiedAnnotationFeatures( annotation,
ProcedureMention mention = new ProcedureMention(jCas, coveringSpan.begin, coveringSpan.end); addIdentifiedAnnotationFeatures( annotation,
ProcedureMention mention = new ProcedureMention(jCas, coveringSpan.begin, coveringSpan.end); addIdentifiedAnnotationFeatures( annotation,