On Wed, May 14, 2014 at 10:59:04AM +0200, Richard Eckart de Castilho wrote:
> I have occasionally noticed Marshall writing something about
> parallel steps - maybe you can find something in the mailing
> list archives of the developers or commits lists... e.g.
> 
> http://uima.markmail.org/thread/y3go5sswfvb7qkmz
> http://uima.markmail.org/thread/qbrwrahcs4uwhmj5
> 
> -- Richard
> 
> [1] http://uima.apache.org/mail-lists.html (try Markmail)

  Thanks! I didn't find anything directly usable, but a second look
at UIMAj distribution prompted by this unearthed two alternative flow
controllers in its test suite that gave me a big boost in implementation
of what I needed.

  I implemented a "single-step" flow controller that simply creates
a single ParallelStep with all routable AEs; the minutae of CAS routing
are then just handled nicely by the default UIMA mechanisms, turns out,
that's so awesome!

  If anyone would ever find this useful, this FixedParallelFlowController
is available at

        
https://github.com/brmson/yodaqa/blob/master/src/main/java/cz/brmlab/yodaqa/flow/FixedParallelFlowController.java

(the code could be even further simplified, it turned out that I copied
even some bits I didn't have to copy).

                                Petr "Pasky" Baudis

Reply via email to