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 AEB6D1884F for ; Mon, 11 Jan 2016 22:00:03 +0000 (UTC) Received: (qmail 58800 invoked by uid 500); 11 Jan 2016 21:59:58 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 58652 invoked by uid 500); 11 Jan 2016 21:59:57 -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 Delivered-To: moderator for user@uima.apache.org Received: (qmail 88246 invoked by uid 99); 8 Jan 2016 16:22:44 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.999 X-Spam-Level: *** X-Spam-Status: No, score=3.999 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled To: user@uima.apache.org From: Wahed Hemati Subject: Uima-AS Cas merger with cas multiplier Message-ID: <568FE243.4050508@em.uni-frankfurt.de> Date: Fri, 8 Jan 2016 17:22:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------060307040307030003050201" --------------060307040307030003050201 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, I am seeking for a solution for my little problem. I have a Uima-AS AAE with a cas multiplier. My input is a simple text document. The Cas multiplier splits the document into two parts for which the cas multiplier generates new cases. The cases are routed through the flow and at some point of my AAE i want to merge these cases back together into one cas and continue routing the merged cas through other AEs. My AAE looks like this: inputText-> AE_1-> CasMultiplier -> AE_2-> AE_3 -> CasMerger -> AE_4 -> AE_5-> CasConsumer My CasMultiplier is similar to org.apache.uima.examples.casMultiplier.SimpleTextSegmenter and my Merger is similar to org.apache.uima.examples.casMultiplier.SimpleTextMerger. I got the following problem: My AAE generates two insteances of CasMerger, because the CasMultiplier generates two cases. How do i tell my AAE to instantiate only one CasMerger and route all cases generated by the CasMultiplier and processed by AE_2 and AE_3 to that CasMerger? Kindly help. Thanks in advanced. Hemati -- A. Wahed Hemati Text-Technology Lab Fakultät für Informatik und Mathematik Johann Wolfgang Goethe-Universität Frankfurt am Main Senckenberganlage 31 60325 Frankfurt am Main Tel: +49 69-798-28925 Email: hemati@em.uni-frankfurt.de Web: http://www.hucompute.org/ --------------060307040307030003050201--