After experimenting with cTAKES RelationExtraction, I managed to get it
working. It turns out I need to specify the model file:
builder.add(
AnalysisEngineFactory.createEngineDescription(LocationOfRelationExtractorAnnotator.class,
"classifierJarPath",
"/org/apache/ctakes/relationextractor/models/location_of/model.jar")
);
With that, I manged to extract "bodyLocation" for each Identified
Annotation.
How about "associatedSignSymptom"? I couldn't find any AnalysisEngine that
would outputs this attribute.
Thanks.
On Mon, Aug 14, 2017 at 11:28 AM, Liam Bui <[email protected]> wrote:
> Hi,
>
> I want to extract relation among entities using cTAKES, eg. procedure is
> carried on which anatomicalSite, SignSymptom occurs on which anatomicalSite
> and is part of which DiseaseDisorder.
>
> Based on cTAKES sourcecode, it seems these classes (DiseaseDisroder,
> Procedure, etc do support such relation through several attributes
> bodySite, associatedSignSymptom, etc). However, I do not know which cTAKES
> component or analysis engine that I should use to get these info.
>
> I also notice there is cTAKES Relation Extraction component, but I have no
> idea how to get it running.
>
> Does anyone happen to have insight on these topics? Thank you!
>
> --
> Regards,
> Liam Bui
> ☎ (604) 352-1568 | ✉ [email protected]
>