On 16.04.2015, at 02:07, Nick Hill <[email protected]> wrote: > I envisage a generic flow controller which would be configured with some > dependency information rather than a fixed flow (for example annotator C > depends on annotators A and B, D depends on C, E depends on A, etc). It would > then optimally "compress" their execution using a prescribed # threads. I.e. > any given annotator would get processed as soon as it's dependency annotators > had completed.
Just as a side note: unfortunately, generic is relative. Somewhere in the UIMA core, afaik there is a flow controller already that takes into account capabilities. Unfortunately, capabilities are static information. If a component dynamically loads some model and depending on the model loaded produces different information (e.g. a pos tagger dynamically loading a suitable model for the language in the CAS), it is currently not possible to express this via capabilities. Other dependency information is currently not available in UIMA as far as I know. -- Richard
