ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From britt fitch <britt.fi...@wiredinformatics.com>
Subject Re: Creating a new annotator
Date Sat, 19 Sep 2015 12:00:30 GMT
Did you declare the new Age type in TypeSystem.xml?
You may want to extend one of the existing types like EntityMention or IdentifiedAnnotation.



Britt Fitch
Wired Informatics
265 Franklin St Ste 1702
Boston, MA 02110

> On Sep 18, 2015, at 11:46 PM, Christopher Baechle <cbaechle@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?

View raw message