Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4CF09200B27 for ; Wed, 22 Jun 2016 15:57:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4B745160A36; Wed, 22 Jun 2016 13:57:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BB5C8160A24 for ; Wed, 22 Jun 2016 15:57:46 +0200 (CEST) Received: (qmail 85630 invoked by uid 500); 22 Jun 2016 13:57:41 -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 85615 invoked by uid 99); 22 Jun 2016 13:57:40 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2016 13:57:40 +0000 Received: from [10.0.1.11] (ip-178-203-23-159.hsi10.unitymediagroup.de [178.203.23.159]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 2ED121A00A8; Wed, 22 Jun 2016 13:57:39 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Non-linear pipelines From: Richard Eckart de Castilho In-Reply-To: Date: Wed, 22 Jun 2016 15:57:36 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <46996FEF-595C-4A19-9FEB-C5C81B24EB8F@apache.org> References: To: user@uima.apache.org X-Mailer: Apple Mail (2.3124) archived-at: Wed, 22 Jun 2016 13:57:47 -0000 You could maybe use capabilities to expose which type of information = your respective components support: = https://uima.apache.org/d/uimaj-current/references.html#ugr.ref.xml.compon= ent_descriptor.aes.capabilities To realize a custom pipeline topology, you would implement a custom flow = controller = https://uima.apache.org/d/uimaj-current/references.html#ugr.ref.xml.compon= ent_descriptor.flow_controller As inspiration, the CapabilityLanguageFlowController may be useful: = https://svn.apache.org/repos/asf/uima/uimaj/trunk/uimaj-core/src/main/java= /org/apache/uima/flow/impl/CapabilityLanguageFlowController.java Cheers, -- Richard > On 22.06.2016, at 15:29, Augusto Ribeiro Silva wrote: >=20 > Hi, >=20 > I couldn=E2=80=99t find any example on the documentation about the = definition of non-linear pipelines (not sure this is the right name to = call it).=20 > What I want to do is something like this: >=20 > Pipeline: A -> (B or C) -> D >=20 > So the step A supports two file formats, then depending on the file = format a normalisation step B or C should be performed. Then D should be = performed for the result of B and C. How would I go about defining such = pipeline or if it is even possible to do it. >=20 > Thanks for the help in advance. >=20 > Best regards, > Augusto