uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hannes schantl <johannes.scha...@gmail.com>
Subject Re: creating new annotation
Date Mon, 05 May 2014 10:25:32 GMT
thank u, that solved it.

greetings


2014-05-05 11:41 GMT+02:00 Richard Eckart de Castilho <rec@apache.org>:

> Like this:
>
> Type type = cas.getTypeSystem().getType("com.test.AnnotationType1)";
> AnnotationFS annotation = cas.createAnnotation(type, begin, end);
>
> -- Richard
>
> On 05.05.2014, at 11:25, hannes schantl <johannes.schantl@gmail.com>
> wrote:
>
> > Hello,
> >
> > I have following problem: I dont know how to add a new annotation to the
> > CAS when the type of the annotation is only available as a string, e.g.
> > com.test.AnnotationType1.
> >
> > Does anyone know how to solve this issue?
> >
> > Thanks a lot,
> > Greetings Hannes
>
>

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