Return-Path: Delivered-To: apmail-incubator-uima-user-archive@minotaur.apache.org Received: (qmail 31167 invoked from network); 3 Dec 2009 15:02:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Dec 2009 15:02:15 -0000 Received: (qmail 54642 invoked by uid 500); 3 Dec 2009 15:02:15 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 54576 invoked by uid 500); 3 Dec 2009 15:02:15 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 54566 invoked by uid 99); 3 Dec 2009 15:02:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 15:02:15 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of william.colen@gmail.com designates 209.85.219.221 as permitted sender) Received: from [209.85.219.221] (HELO mail-ew0-f221.google.com) (209.85.219.221) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 15:02:06 +0000 Received: by ewy21 with SMTP id 21so36372ewy.27 for ; Thu, 03 Dec 2009 07:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=96Tgbvb7gG2/4ls9hEyrpiLzWlzw3SaKag2d7D4GaAc=; b=M48SRvSrJRdqG+NJd9FDIx7nft1q2BxTAp/IUXv8rBOIvtmnCSe30FkRNa1bp4wjHC 7HskCuOr/xua+viJWidRp99C9QUCCIkb6LqawUG+aP5Njk2uM8tolh6tz01QNX7jiUnU o5CQxIvz6c2K8LrptHOggH7q6UuOveXfG0cI0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wOy1ylG8ZVc4VclzndtJkdRuKcfN+LfqmW27J/m8LGZ+GXNErdx0XOYpu8xL077zFA XkK1HEQ1yWQBilmoYM1o/uAk7DGtmQmoPJR/ndmNwJtum9S3/GAVqJSn8fTaQEK4ChdT tF+j+qshl44L7xEioC2PcEDK2qawdv2IPbOOI= MIME-Version: 1.0 Received: by 10.213.15.18 with SMTP id i18mr6409479eba.59.1259852506735; Thu, 03 Dec 2009 07:01:46 -0800 (PST) Date: Thu, 3 Dec 2009 13:01:46 -0200 Message-ID: <7444f22f0912030701m766fe30cx36859ac253eb2c06@mail.gmail.com> Subject: Tips for a beginner From: William Colen To: uima-user@incubator.apache.org Content-Type: multipart/alternative; boundary=0015174c123a22271a0479d44539 X-Virus-Checked: Checked by ClamAV on apache.org --0015174c123a22271a0479d44539 Content-Type: text/plain; charset=ISO-8859-1 Hello, We are moving our Brazilian Portuguese annotators (sentence detector, tokenizer, tagger, parser) to UIMA. We have different implementations of some annotators: some were created using OpenNLP, others where written from scratch. We would like to have .PEARs for each annotator, so in the applications we would change the annotators easily. Also we don't want to have duplicated resources (mostly dictionaries, and the UIMA typesystem descriptor), so we need a way to share. The first thing we did was to create the UIMA wrappers and descriptors. They are ready and we were able to create a UIMA application that uses the annotators (but we had to put all the code and descriptors in only one Eclipse project. No .pear yet). Now we are splitting the projects in smaller ones. For instance, we create only one TypeSystem.xml and would like every project to use it. So I created a simple .pear with the TypeSystem.xml. After that I created another pear for the sentence detector, but I couldn't import the TypeSystem.xml of the first pear. The only way to do that was using the relative path or if I put the TypeSystem.xml inside the JAR file of the first pear, and import it using classpath. Do you know a better way to do that? Latter I'll have to do the same with the dictionaries. I'm not sure if the best approach is to create a .pear only for it. Will it work? Thanks William --0015174c123a22271a0479d44539--