Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1B8E11F67 for ; Wed, 16 Apr 2014 09:20:37 +0000 (UTC) Received: (qmail 46100 invoked by uid 500); 16 Apr 2014 09:20:37 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 46067 invoked by uid 500); 16 Apr 2014 09:20:36 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 46055 invoked by uid 99); 16 Apr 2014 09:20:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2014 09:20:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.154.127.112] (HELO becca.crydee.eu) (195.154.127.112) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2014 09:20:29 +0000 Received: by becca.crydee.eu (Postfix, from userid 33) id BFE5758045D; Wed, 16 Apr 2014 11:20:06 +0200 (CEST) To: Subject: Re: CAS Multiplier usage in UIMAfit X-PHP-Originating-Script: 0:main.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 16 Apr 2014 18:20:06 +0900 From: Hugo Mougard In-Reply-To: <0415d209e8661a1e057a0632512d917f@crydee.eu> References: <0415d209e8661a1e057a0632512d917f@crydee.eu> Message-ID: X-Sender: mog@crydee.eu User-Agent: Roundcube Webmail/0.7.2 X-Virus-Checked: Checked by ClamAV on apache.org I solved my issue by specifying a flow controller with a "drop" option on cas multipliers as follows (as was mentioned in one of the Jira's tickets): AnalysisEngineDescription aae = createEngineDescription( FlowControllerFactory.createFlowControllerDescription( FixedFlowController.class, FixedFlowController.PARAM_ACTION_AFTER_CAS_MULTIPLIER, "drop"), ...someAes... theCasMultiplier, ...someAes); Sorry for the noise :) Best, Hugo Le 2014-04-16 15:26, Hugo Mougard a écrit : > Dear all, > > I'm trying to use a multiplier to discard some CASes based on some > annotation. It currently doesn't work (the CASes are not discarded). > I > also noticed several tickets opened on the suject of multipliers and > am therefore not sure if it's currently possible to use them in > UIMAfit. > > If it possible, what are the necessary steps so that only CASes > returned by next() are considered? > > Any pointer welcome. > > Best, > Hugo