On 2/13/2014 8:13 AM, Peter Klügl wrote:
> maybe something like
>
> cas.getTypeSystem().getType("my.package.AnnotationName")

+1.  See the Javadocs for TypeSystem:

http://uima.apache.org/d/uimaj-2.5.0/apidocs/org/apache/uima/cas/TypeSystem.html

-Marshall
>
> Best,
>
> Peter
>
> Am 13.02.2014 14:03, schrieb hannes schantl:
>> Hi,
>>
>> Is there a way to get an annotation Type from the cas(or Jcas) from a
>> string.
>> For example, i am looking for something like that:
>> jcas.getCasType("AnnotationName")
>>
>> greetings Hannes
>>
>

Reply via email to