dkpro / dkpro-cassis

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

Types with array range break JSON typesystem parsing #281

Closed jcklie closed 1 year ago

jcklie commented 1 year ago

If a typesystem uses an array for a range, it is encoded in the Json as

"tags" : {
        "%NAME" : "tags",
        "%RANGE" : "de.tudarmstadt.ukp.dkpro.core.api.metadata.type.TagDescription[]"
      },

The [] trips up the finding of types by name.