org.apache.ctakes.typesystem.type.refsem.DiseaseDisorder annotations are created by the TemplateFillerAnnotator within ctakes-template-filler. Running AggregateTemplateFiller engine, which is under ctakes-template-filler, will generate refsem annotations.
The concept behind having separate textsem and refsem annotations is if you have two textsem annotations, they might refer to a single real-world object. The goal is to (someday) have a single refsem annotation per single real-world object, using coreference resolution to determine which textsem annotations refer to the same thing, and having something to merge and resolve conflicts between attributes of the coreferenced textsem annotations. That piece (merging and dealing with conflicts of attributes) doesn’t exist yet. So for now, the distinction between the refsem and textsem annotation is that refsem annotations use the output of the relation extraction piece to set the bodyLocation and severity attributes. -- James From: Anirban Chakraborti [mailto:[email protected]] Sent: Monday, May 05, 2014 9:02 AM To: [email protected] Subject: Difference between Refsem Class and TextSem class what is the difference between refsem class and textsem class. How do I get an ouput like org.apache.ctakes.typesystem.type.refsem.DiseaseDisorder Anir
