newEntityOnAcronym.setEnd(abbrev.getEnd()); newEntityOnAcronym.setTextualRepresentation(newEntityOnAcronym.getCoveredText()); newEntityOnAcronym.setSpecificType(emFullform.getSpecificType()); newEntityOnAcronym.setComponentId(COMPONENT_ID + "+acronym"); newEntityOnAcronym.setConfidence(emFullform.getConfidence() + "");
newEntity.setSpecificType(chunk.type()); newEntity.setComponentId(COMPONENT_ID); newEntity.setConfidence(chunk.score() + "");