Hi Christoph,

On Dec 18, 2007 10:19 AM, Christoph Büscher
<[EMAIL PROTECTED]> wrote:
> for a processing engine we need something like a document filter, a component
> that takes documents as inputs and forwards them to the output only if they 
> meet
> some defined criteria and otherwise to drop the document completely.
>
> In your opinion, what is the best way of archiving this? As far as I 
> understand
> the UIMA concept, a regular AE doesn't seem to be the ideal place for this,
> since it should output every CAS passed into the process() method. The next 
> idea
> I had was using something like a CAS Multiplier, but instead of outputing
> multiple CASes for each incoming one, I would only output the incoming CAS 
> when
> the filter criteria are met and otherwise drop it.
>
> Is there any other component in the UIMA framework that would be a natural 
> place
> for such a filter component in a processing engine?
>

You can implement this with a FlowController.  That's the type of
component that controls how CASes flow through an aggregate AE.  If
your FlowController decides that there should be no further processing
on a CAS, it can signal that the flow for that CAS is complete, so
that it will not undergo any further processing.

-Adam

Reply via email to