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

Feature._has_reserved_name is never set to True #171

Closed reckart closed 2 years ago

reckart commented 2 years ago

Describe the bug Feature._has_reservedname is initialized with false. There is some code checking its value, but no code ever setting it to true. There is some code which checks for specific feature name such as "self" or "type_" in xmi.py. Maybe incomplete refactoring?

reckart commented 2 years ago

Found it: TypeSystem.add_feature()