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

Allow loading/saving XMI/typesystems from/to Path #212

Closed reckart closed 3 years ago

reckart commented 3 years ago

Is your feature request related to a problem? Please describe. Methods like load_typesystem or load_cas_from_xmi can currently work with an IO object or parse the context of a string, but they cannot load from disk if the user provides a Path object.

Describe the solution you'd like I/O methods should support Union[IO, Path, str].