} else if (eventMention instanceof SignSymptomMention) { //(eventMention.getTypeID()==CONST.NE_TYPE_ID_FINDING) { SignSymptomMention ssm = (SignSymptomMention) eventMention; ssm.setBodyLocation(locationOfTextRelation); } else { logger.error("Need to implement more cases for handling EventMention " + eventMention + " within relation: " + relation);
SignSymptomMention s = (SignSymptomMention)arg1; if(s.getBodyLocation() == null){ s.setBodyLocation(locRel); }else{ Annotation a = s.getBodyLocation().getArg2().getArgument(); int newSize = arg2.getEnd() - arg2.getEnd(); if(newSize > oldSize){ s.setBodyLocation(locRel);
SignSymptomMention s = (SignSymptomMention)arg1; if(s.getBodyLocation() == null){ s.setBodyLocation(locRel); }else{ Annotation a = s.getBodyLocation().getArg2().getArgument(); int newSize = arg2.getEnd() - arg2.getEnd(); if(newSize > oldSize){ s.setBodyLocation(locRel);