uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Eckart de Castilho <...@apache.org>
Subject Re: How to define flow constraints with UIMAfit?
Date Thu, 23 Apr 2015 22:55:53 GMT
On 23.04.2015, at 23:36, Mario Gazzo <mario.gazzo@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
Mime
View raw message