neAnnot = new DiseaseDisorderMention( jcas ); } else if ( conceptKey == CONST.NE_TYPE_ID_FINDING ) { neAnnot = new SignSymptomMention( jcas ); } else if ( conceptKey == CONST.NE_TYPE_ID_LAB ) { neAnnot = new LabMention( jcas );
neAnnot = new DiseaseDisorderMention( jcas ); } else if ( conceptKey == CONST.NE_TYPE_ID_FINDING ) { neAnnot = new SignSymptomMention( jcas ); } else if ( conceptKey == CONST.NE_TYPE_ID_LAB ) { neAnnot = new LabMention( jcas );
neAnnot = new DiseaseDisorderMention( jcas ); } else if ( typeId == CONST.NE_TYPE_ID_FINDING ) { neAnnot = new SignSymptomMention( jcas ); } else if ( typeId == CONST.NE_TYPE_ID_LAB ) { neAnnot = new LabMention( 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 DiseaseDisorderMention( jcas ); } else if ( typeId == CONST.NE_TYPE_ID_FINDING ) { neAnnot = new SignSymptomMention( jcas ); } else if ( typeId == CONST.NE_TYPE_ID_LAB ) { neAnnot = new LabMention( jcas );
SignSymptomMention mention = new SignSymptomMention(jCas, coveringSpan.begin, coveringSpan.end); addIdentifiedAnnotationFeatures( annotation,
SignSymptomMention mention = new SignSymptomMention(jCas, coveringSpan.begin, coveringSpan.end); addIdentifiedAnnotationFeatures( annotation,
SignSymptomMention mention = new SignSymptomMention(jCas, coveringSpan.begin, coveringSpan.end); addIdentifiedAnnotationFeatures( annotation,
SignSymptomMention mention = new SignSymptomMention(jCas, coveringSpan.begin, coveringSpan.end); addIdentifiedAnnotationFeatures( annotation,