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

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

Closed reckart closed 2 years ago

reckart commented 2 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].