creating new annotation

2014-05-05 Thread hannes schantl
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

Re: creating new annotation

2014-05-05 Thread hannes schantl
, hannes schantl johannes.scha...@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

Re: uima jcas get annotation type from string

2014-02-14 Thread hannes schantl
Type object. jcas.getRequiredType(mypackage.AnnotationType); (cas|jcas).getTypeSystem.getType(mypackage.AnnotationType); The question is what do you want to do with the Type object once you have it. Thanks, Thomas ginter801-448-7676thomas.gin...@utah.edu On Feb 13, 2014, at 6:03 AM, hannes