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 C780B10FA7 for ; Thu, 23 Jan 2014 16:45:56 +0000 (UTC) Received: (qmail 90142 invoked by uid 500); 23 Jan 2014 16:45:55 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 89956 invoked by uid 500); 23 Jan 2014 16:45:55 -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 89943 invoked by uid 99); 23 Jan 2014 16:45:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2014 16:45:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lfoppiano@gmail.com designates 209.85.192.175 as permitted sender) Received: from [209.85.192.175] (HELO mail-pd0-f175.google.com) (209.85.192.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2014 16:45:50 +0000 Received: by mail-pd0-f175.google.com with SMTP id w10so1970063pde.6 for ; Thu, 23 Jan 2014 08:45:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=pCpw7plc42TpuJM6o9X8X1dWu34vabrPZl9b+jwgMkA=; b=oGa3Et5ouLfakBGmTZwUckSovh3XL+mrZfT03fpnzl1UbP/0d5MSmyjF4cxDhdKWr2 8pRc0nDcv9QusVG9jNvSRUEKyh9hMMKATMVXebI/H1Xc96LHkrFmq+w83PAUxT1wpKjk onXdeTFgQEF4532lvS9UvwM7lzh9QsjoDKRrt/XerpZso0xyvpykimho/4Wx6SzJnzPB 9aZLuT+ZVfjqvQZQ7Olfp2hCrxP6qDS6RAF+vZvm3U5lgmdHotwB4yPFFA1Wrk7u2GOm egdUqwtBP8Pw9xZuvHoulyyo3U8TBGxKed2T6ErPShebCg71u9hJrVx2aFsUufIkQBU1 tBTQ== MIME-Version: 1.0 X-Received: by 10.66.155.7 with SMTP id vs7mr9216980pab.42.1390495530296; Thu, 23 Jan 2014 08:45:30 -0800 (PST) Sender: lfoppiano@gmail.com Received: by 10.68.0.198 with HTTP; Thu, 23 Jan 2014 08:45:30 -0800 (PST) In-Reply-To: References: Date: Thu, 23 Jan 2014 17:45:30 +0100 X-Google-Sender-Auth: LLaTIb0lpQDV68TOybTndH8g3Xc Message-ID: Subject: Re: uima-fit and uima annotators (in my case Whitespace annotator) From: Luca Foppiano To: user@uima.apache.org Content-Type: multipart/alternative; boundary=047d7bacb8c2253a9a04f0a5f84e X-Virus-Checked: Checked by ClamAV on apache.org --047d7bacb8c2253a9a04f0a5f84e Content-Type: text/plain; charset=UTF-8 On Thu, Jan 23, 2014 at 3:13 PM, Richard Eckart de Castilho wrote: > Hi, > > Hi Richard, > can you provide the full code for your sample pipeline? I think that would > make it easier to help. > Sure, is located here: https://github.com/lfoppiano/uima-fit-sample-pipeline > With the present information, I can only give some general advice. > > [...] > > I would recommend using the CAS/CasUtil only if you want to implement a > generic component that can be configured to work with different types. If > your component is fixed to a certain type system, then using the > JCas/JCasUtil is much more convenient. > Thanks a lot for your input, in fact it shed some light around type systems. Regards -- Luca Foppiano Software Engineer +31615253280 luca@foppiano.org www.foppiano.org --047d7bacb8c2253a9a04f0a5f84e--