If I remember correctly, I think those attributes were set in
IdentifiedAnnotation via:
ctakes-template-filler/desc/analysis_engine/TemplateFillerAnnotator.xml
One can look at the logic in:
org.apache.ctakes.template.filler.ae.TemplateFillerAnnotator [1]
Have you tried added that to the
Hi,
I am running the DrugAggregatePlainTextUMLSProcessor and noticing that cTAKES
is not handling fractions for medication dosage correctly. For example,
Benadryl 1/2 tsp 3 times daily
produces a MedicationMention with a dosage of 2. Having tried different
fractions (1/2, 1/3, 2/4, etc.),
Thanks,
I tried using the AggregateTemplateFiller.xml from the template-filler
module, and I specified the relation extractor pipeline that I was using
before from the relation-extractor project (there is also a different one
in the template-filler project called
Chase,
I am not sure why or the reasoning behind this, but it might explain why
Severity is null for your DiseaseDisorderMention example:
Line 319 in TemplateFillerAnnotator.java:
If I'm reading this logic correctly, it will only populate severity for
SignSymptomMention Can't think of why
Offhand, I don't recall why it ended up the way it did.
I see a comment at line 303 indicating that at one point at least severity was
expected for DiseaseDisorder
// degree_of is aka severity, which applies to
SignSymptomMention/SignSymptom and DiseaseDisorder
Not sure