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

Handling of the "uima.noNamespace" prefix #170

Closed reckart closed 2 years ago

reckart commented 2 years ago

Is your feature request related to a problem? Please describe. In XMI files, an artificial "uima.noNamespace" prefix is introduced for types that are not in any package. However, cassis does not only handle this situation in the XMI (de)serializer code but leaks this prefix into the actual type system. The Apache UIMA Java SDK only uses this prefix in the XMI serialization code (also in the legacy JSON serialization code) but not in the actual type system.

Describe the solution you'd like The XMI deserializer should strip this prefix. The XMI serializer should add it again. The TypeSystem (de)serializer should not have to worry about it at all.