On 29. Dec 2022, at 13:38, Richard Eckart de Castilho <r...@apache.org> wrote: > > == Component concept > > The Python annotation with component metadata on the analysis engine class > looks interesting. I wonder if you need the indexes though. Can you not work > simply with the built-in annotation index?
If pipelines in Python be a thing, my intuition is that it would be sensible to implement this as a dedicated module covering a component lifecycle API. In particular, I think this module should be separate from another module implementing the CAS data structure. Consider for example using the same component lifecycle API but with different implementations of CAS (e.g. UIMA-CPP CAS or Cassis) - of course that would suggest that UIMA-CPP and Cassis should share at least a common subset of their API. Does that make sense? Cheers, -- Richard