[
https://issues.apache.org/jira/browse/CTAKES-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13685783#comment-13685783
]
douglas song commented on CTAKES-48:
------------------------------------
Hi Pei,
Thanks for the temp work around. It does work.
I got the error while using both DrugMentionAnnotator.xml and
DrugCNP2LookupWindow.xml in cTakes 3.0 Drug ner Desc.
Thanks.
> negation annotator - Sentence type used in code not in descr
> ------------------------------------------------------------
>
> Key: CTAKES-48
> URL: https://issues.apache.org/jira/browse/CTAKES-48
> Project: cTAKES
> Issue Type: Improvement
> Reporter: Pei Chen
> Priority: Minor
>
> Found at the SHARPn summit/f2f:
> tried to run the negation annotator by itself and this error was thrown:
> Caused by: org.apache.uima.cas.CASRuntimeException: JCas type
> "edu.mayo.bmi.uima.core.type.textspan.Sentence" 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.JCasImpl.getAnnotationIndex(JCasImpl.java:1531)
> at edu.mayo.bmi.uima.context.ContextAnnotator.process(ContextAnnotator.java:2
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira