Re: Reordering Analysis Engines

2017-02-27 Thread Richard Eckart de Castilho
On 27.02.2017, at 17:50, james.d.ba...@gmail.com wrote: > > Thanks Richard, > > I don’t think we’re using any multi-threading bits at the moment, so it > sounds like the SimplePipeline might be ok for the time being. If we do > decide to move to a multi-threaded system in the future,

Re: Reordering Analysis Engines

2017-02-27 Thread Jaroslaw Cwiklik
Take a look at UIMA-AS: "UIMA Asynchronous Scaleout (AS) is a set of capabilities supported in the UIMA Framework for achieving scaleout that is more general than the approaches provided for in the Collection Processing Manager (CPM). AS is a second generation design, replacing the CPM and Vinci

Reordering Analysis Engines

2017-02-27 Thread James Baker
Is it possible to reorder the analysis engines in a CPE once it is created? I have a CPE consisting of a large number of analysis engines, and I'd like to automatically optimise the order. However, some of the parameters needed to perform the optimisation are only calculated once the analysis

Re: Reordering Analysis Engines

2017-02-27 Thread james . d . baker
Thanks Richard, I don’t think we’re using any multi-threading bits at the moment, so it sounds like the SimplePipeline might be ok for the time being. If we do decide to move to a multi-threaded system in the future, presumably implementing our own is the best way forwards, or is there an

Re: Reordering Analysis Engines

2017-02-27 Thread Andrew Defries PhD
UNSUBSCRIBE

Re: Reordering Analysis Engines

2017-02-27 Thread Richard Eckart de Castilho
On 27.02.2017, at 16:39, James Baker wrote: > > Thanks Richard, switching over to SimplePipeline did the trick. I'll update > the GitHub repository with a working solution for reference. > > Is there any information available on the advantages/disadvantages of >

Re: Reordering Analysis Engines

2017-02-27 Thread James Baker
Thanks Richard, switching over to SimplePipeline did the trick. I'll update the GitHub repository with a working solution for reference. Is there any information available on the advantages/disadvantages of SimplePipeline over using the CPE? The application I'm using already uses CPE, so I'd like

Re: Reordering Analysis Engines

2017-02-27 Thread Richard Eckart de Castilho
I don't think that CPE supports flow controllers. I would recommend you first try this with SimplePipeline. The CpeBuilder / CpePipeline takes an aggregate and disassembles it into its components and then passes each component separately to the CPE. At this point, the FlowController is lost.

Re: Reordering Analysis Engines

2017-02-27 Thread james . d . baker
I realised after sending this that actually I could do what I want with a FlowController. However, I’ve been struggling to get a FlowController up and running as part of my pipeline. I’ve created a simple project which should run the annotators in reverse order… but it’s still running them in

Reordering Analysis Engines

2017-02-27 Thread james . d . baker
Is it possible to reorder the analysis engines in a CPE once it is created? I have a CPE consisting of a large number of analysis engines, and I'd like to automatically optimise the order. However, some of the parameters needed to perform the optimisation are only calculated once the analysis