ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RANGA CHANDRA GUDIVADA <chandhragupta...@hotmail.com>
Subject Error while running DrugMentionAnnotator.xml
Date Sat, 08 Aug 2015 16:12:21 GMT
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







 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message