Did you declare the new Age type in TypeSystem.xml?
You may want to extend one of the existing types like EntityMention or 
IdentifiedAnnotation.

Cheers,

Britt


Britt Fitch
Wired Informatics
265 Franklin St Ste 1702
Boston, MA 02110
http://wiredinformatics.com
britt.fi...@wiredinformatics.com

> On Sep 18, 2015, at 11:46 PM, Christopher Baechle <cbaec...@my.fau.edu> wrote:
> 
> I created a new annotator for finding socio-demographic information
> from a clinical note. It works within eclipse, but fails when I run it
> from the packaged distribution created from mvn install.
> 
> Caused by: org.apache.uima.cas.CASRuntimeException: JCas type
> "org.apache.ctakes.sociodemo.Age" used in Java code,  but was not
> declared in the XML type descriptor.
> 
> Age is an Annotation. I didn't follow the normal convention of adding
> it to org.apache.ctakes.typesystem and put it in my package
> org.apache.ctakes.sociodemo.
> 
> I added my descriptor xml file to
> AggregatePlaintextFastUMLSProcessor.xml. I think it might be a
> classpath issue (the jvm unable to find my descriptor file). I added
> the full absolute path to runctakesCVD.sh but it still persists.
> 
> Any suggestions?

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to