Johnsd11 opened a new issue, #27:
URL: https://github.com/apache/ctakes/issues/27

   ### What’s your question?
   
   Has anyone has tried using the Drugner in 5.1.0 have they run into this
   error when its process() method is run.
   
   message: JCas type
   "org.apache.ctakes.drugner.type.FractionStrengthAnnotation" used in
   Java code, but was not declared in the XML type descriptor
   
   The thing is that this attribute is declared in the annotator's Xml
   Type Description, and because FractionStrengthAnnotation is also the
   first one that the code attempts to access, I'm assuming that none of
   the other attributes are found either.
   attribute defs will actually be found
   
   org.apache.ctakes.drugner.type.FractionStrengthAnnotation
   
   The fraction portion of dosages strength determination for the
   Drug NER profile.
   
   uima.tcas.Annotation
   
   etc
   
   I've looked for a rogue
   org.apache.ctakes.drugner.types.TypeSystem.xml elswhere in my
   classpath and there isn't one. But there is an issue that some bits
   of the configuration & src of this annotator refer to the package as
   org.apache.ctakes.drugner. and others as
   org.apache.ctakes.drug.ner. The use of both "stringifyied package
   names" and actual packages in the FIT architecture always confuses me.
   This discrepancy is something that crept into certain annotators whose
   packages changed in 5.0.x. At that time I fixed all of these so they
   would compile, but it seems there are still issues.
   
   ### Context
   
   _No response_
   
   ### What category does this question fall under?
   
   None
   
   ### Contact Details
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ctakes.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to