ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Baechle <cbaec...@my.fau.edu>
Subject Re: Creating a new annotator
Date Sat, 19 Sep 2015 16:06:56 GMT
That was it! Thanks.

On Sat, Sep 19, 2015 at 8:00 AM, britt fitch <
britt.fitch@wiredinformatics.com> wrote:

> 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.Fitch@wiredinformatics.com
>
> 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?
>
>
>

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