Commit 97953c15 authored by Javi Corvi's avatar Javi Corvi
Browse files

Merge branch 'develop' of

https://gitlab.bsc.es/inb/etransafe/pretox-relation-extraction.git into
develop

Conflicts:
	src/main/java/es/bsc/inb/ades/relation/extraction/main/App.java
parents f5e4f086 faaf2b28
Pipeline #26147 failed with stage
in 46 seconds
......@@ -219,11 +219,14 @@ public class App {
Annotation is_treatment_related = as.get(new Integer(finding.getFeatures().get("IS_TREATMENT_RELATED").toString()));
is_treatment_related.getFeatures().put("ANNOTATION_TYPE", "IS_TREATMENT_RELATED");
doc.getAnnotations(annotationSetRelationExtraction).add(is_treatment_related.getStartNode(), is_treatment_related.getEndNode(), "FINDING_"+finding_id, is_treatment_related.getFeatures());
<<<<<<< HEAD
}else {
FeatureMap features_t = Factory.newFeatureMap();
features_t.put(template_value_name, "Y");
features_t.put("ANNOTATION_TYPE", "IS_TREATMENT_RELATED");
doc.getAnnotations(annotationSetRelationExtraction).add(finding.getStartNode(), finding.getEndNode(), "FINDING_"+finding_id, features_t);
=======
>>>>>>> branch 'develop' of https://gitlab.bsc.es/inb/etransafe/pretox-relation-extraction.git
}
//verify if is treatment related or not
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment