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

Make creating type classes lazy #84

Closed jcklie closed 4 years ago

jcklie commented 4 years ago

Is your feature request related to a problem? Please describe. Right now, when loading a typesystem, all Python classes representing types in the type system are created, whether they will be used later or not. This is slow for large type systems.

Describe the solution you'd like Make it possible to create a type class when creating an annotation of that type for the first time.

reckart commented 4 years ago

Is this a performance optimization?

jcklie commented 4 years ago

Yes

jcklie commented 4 years ago

Should be ok done.