...
The model files for Contextual Modality can be found at target/eval/event-properties/train_and_test/
contextualModality
Creating Temporal Output in Anafora XML Format
Within-sentence event-event and event-time temporal relations can be output in XML format that is used by Anafora using org.apache.ctakes.temporal.eval.EvaluationOfBothEEAndETRelations.java
That program uses the following two annotators:
org.apache.ctakes.temporal.ae.EventTimeSelfRelationAnnotator
org.apache.ctakes.temporal.ae.EventEventRelationAnnotator
Required parameters for EvaluationOfBothEEAndETRelations
--text <path to the folder contains the THYME raw notes>
--format Anafora
--xml <path to the folder contains the THYME gold annotation files in xml format >
--xmi <path to the target folder of xmi file output>
--kernelParams "c 0.001953125 t 0.03125 d 3 g 1.0 S 1 C + L 0.5 T 0.1 N 3"
--patients 1-218
--useGoldAttributes
--test
--skipTrain
skipTrain is now a required parameter. The system will use pretrained models in the target/eval/thyme/train_and_test/
folder, and directly predict on the test split.
--anaforaOutput <path to the target folder of xml file output>
Potentially Improving Temporal Pipeline Results
...