Hello All,
I am getting the below error while trying to run the analysis engine
"DrugMentionAnnotator.xml" from user install CVD. Please let me know if anyone
has similar issues and were able to successfully fix it.
Ctakes Version used : apache-ctakes-3.2.2
Ctakes Resources : ctakes-resources-3.2.1.1-bin
Caused by: org.apache.uima.cas.CASRuntimeException: JCas type
"org.apache.ctakes.drugner.type.FrequencyAnnotation" used in Java code, but
was not declared in the XML type descriptor.
at org.apache.uima.jcas.impl.JCasImpl.getType(JCasImpl.java:412)
at org.apache.uima.jcas.impl.JCasImpl.getCasType(JCasImpl.java:436)
at
org.apache.uima.jcas.impl.JFSIndexRepositoryImpl.getAnnotationIndex(JFSIndexRepositoryImpl.java:80)
at
org.apache.ctakes.drugner.ae.DrugMentionAnnotator.removeAnnotations(DrugMentionAnnotator.java:306)
at
org.apache.ctakes.drugner.ae.DrugMentionAnnotator.removeDrugNerTypes(DrugMentionAnnotator.java:299)
at
org.apache.ctakes.drugner.ae.DrugMentionAnnotator.process(DrugMentionAnnotator.java:260)
... 45 more
Thanks
Chandra