dkpro / dkpro-cassis

UIMA CAS processing library written in Python
https://pypi.org/project/dkpro-cassis/
Apache License 2.0
85 stars 22 forks source link

Use types in selects #217

Closed reckart closed 1 year ago

reckart commented 3 years ago

Is your feature request related to a problem? Please describe. From the UIMA Java SDK, I am used to obtaining a type from the type system and then being able to use that type in select invocations. However, in cassis, the select methods only accept type names, not actual type objects.

Describe the solution you'd like It would be nice if this would work:

Token = typesystem.getType("my.Token")
cas.select(Token)