uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From candel <can...@titus.u-strasbg.fr>
Subject conditional FlowController
Date Fri, 10 Aug 2007 12:53:29 GMT
I am working on a UIMA FlowController.
I would like to guide a CAS through one or another AE depending on the 
result of a first AE.
I think I have to write something like that:

//running first AE
return SimpleStep(aeKey1);
//testing my condition
If (result==”ok”){ return new SimpleStep(aeKey2)}
Else { return new SimpleStep(aeKey3)}
//closing flow
return FinalStep();

The trouble is that I can’t find out how to get the aeKey of a 
particular AE...Is it simply the key name given in the AAE descriptor 
where we join our own defined flow?

Thank you for your help.


View raw message