You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Mario Gazzo <ma...@gmail.com> on 2015/04/23 23:36:55 UTC

How to define flow constraints with UIMAfit?

I am implementing a custom flow controller. I was wondering how flow constraints are defined for an aggregate AE with UIMAfit?

Re: How to define flow constraints with UIMAfit?

Posted by Mario Gazzo <ma...@gmail.com>.
Thanks :)

> On 24 Apr 2015, at 00:55 , Richard Eckart de Castilho <re...@apache.org> wrote:
> 
> On 23.04.2015, at 23:36, Mario Gazzo <ma...@gmail.com> wrote:
> 
>> I am implementing a custom flow controller. I was wondering how flow constraints are defined for an aggregate AE with UIMAfit?
> 
> After you have build an AnalysisEngineDescription for an aggregate using the know uimaFIT methods, you use the regular UIMA API:
> 
> AnalysisEngineDescription aae = createEngineDescription(ae1, ae2, ...);
> aae.getAnalysisEngineMetaData().setFlowConstraints(...);
> 
> Cheers,
> 
> -- Richard


Re: How to define flow constraints with UIMAfit?

Posted by Richard Eckart de Castilho <re...@apache.org>.
On 23.04.2015, at 23:36, Mario Gazzo <ma...@gmail.com> wrote:

> I am implementing a custom flow controller. I was wondering how flow constraints are defined for an aggregate AE with UIMAfit?

After you have build an AnalysisEngineDescription for an aggregate using the know uimaFIT methods, you use the regular UIMA API:

AnalysisEngineDescription aae = createEngineDescription(ae1, ae2, ...);
aae.getAnalysisEngineMetaData().setFlowConstraints(...);

Cheers,

-- Richard