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 1E3271855B for ; Tue, 19 Jan 2016 08:57:28 +0000 (UTC) Received: (qmail 83899 invoked by uid 500); 19 Jan 2016 08:57:27 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 83847 invoked by uid 500); 19 Jan 2016 08:57:27 -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 83836 invoked by uid 99); 19 Jan 2016 08:57:27 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2016 08:57:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 376261A0663 for ; Tue, 19 Jan 2016 08:57:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.001 X-Spam-Level: * X-Spam-Status: No, score=1.001 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id IVqhH6gLOPYd for ; Tue, 19 Jan 2016 08:57:20 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 7676220CB8 for ; Tue, 19 Jan 2016 08:57:19 +0000 (UTC) Received: from [192.168.11.110] ([132.230.176.14]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0M9cAV-1aRBeS00D9-00D2wt for ; Tue, 19 Jan 2016 09:57:19 +0100 Subject: Re: examples of using maven with uima, uimaFit, ruta, etc? To: user@uima.apache.org References: <569C08EB.6010401@averbis.com> <569C0AB9.10507@averbis.com> <569D013B.5060001@averbis.com> From: =?UTF-8?Q?Peter_Kl=c3=bcgl?= Message-ID: <569DFA84.4090605@averbis.com> Date: Tue, 19 Jan 2016 09:57:40 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:Vkn2dlCzkl3D+sk/8GBZTGfNwwGqGnGBlgN0vML652nqbmGfL7z 4FWGvxp3AJkfxKz/FMX+brmiyZFvvfBqUn8JYE1tSiE9+13AoGZgOkeYxYe7I91LC5f+Zad iFEfX1P/6oEOX7ZuzPaqTFTBvudZ9/b3ilOfF93qP5WeCfMx00INjIiUF9GuUU+emnRJJwH lrlKSoHXdEWiNs6+zxKRA== X-UI-Out-Filterresults: notjunk:1;V01:K0:2l8k/sHt6gw=:rDtxbrkuuP5ZssaQCnTrOS 3j012kxma3bA5uPUnCFViwfmNgwoR8QDaj6QVWUi93u0spvdmCZMr8CvFfph/LTO2VDu2E4SB 7qR/eJD29zluhXAkooYPZ6XBRs+fi0vgmZ/QnzhczCuA6yzekYUvUPR/He1YXkyKE4wbzxHIT WQ6eszXBeYsRDxzxe8nrwsXoyqsZzIXZFxNra06WvBGMPkYmbY5y/bMoa5qe7szoQ4bAdY4cA JOi/UMJqve+hOjKjFeXnaeTOoNi9KTrmxkdP3n8Km4IqTPQyk/chSkxwMmmrw60ixhynAnbEe BmpkXXKU7dMym0n4f6JMZRspK2hsbgB9yjHSMqhRlk7hWqaAfP0B/oiZ70LPmnu7hqPImcvvK TkZHc2pem09DbP+JSSn9Puc71v+hSQuXN8Ek8bXaODQUfAolsemWvfKiCAG3qqz6qEAv8LCYq 4R4TfkM2oRizKBEaoHQgmHEEUcmTMbJmzezwgwyB70dWuWUWwB31IrNYPuwS1G37zApy7Q9KV dIqahp93aDaFsAwatYiIDK8O5eLANdqvXyLNoJbaBln2aE8DOaIM9U6VqBMd6N7SKjU4ytuGc KZ3U5Fs1tpvzeNfLRcLUkCiA3cYKGYGyWKDaFcoyiZW1yEEm/FsGIFtz6IYFIfJew1S6Mt/B5 VTrj/h+KeQDEcYzHdHfKSaCpr4ucZlUN6Nj6tjZahI1TIyi0SwPoxUEdpsS9b7urBr/XY9Ht3 e3Wx77qJwUXVZxnc Yes, exactly. addRutaNature needs to be set to true and the buildpath needs to point ot the correct folder. Then all should work just fine. Best, Peter Am 18.01.2016 um 22:49 schrieb Bonnie MacKellar: > Thanks! I am also working with medical text but am bypassing ctakes for > now. I think Metamap gives us what we need. > > In the cTAKES based project, I see this in the POM file > > > > true > > > > > script:src/main/ruta/ > > > > > > This looks useful. What is the effect of adding RutaNature in the POM file? > If I add this snippet, will I be able to run Workbench with a script in a > nonstandard location? > > thanks! > Bonnie MacKellar > > On Mon, Jan 18, 2016 at 10:14 AM, Peter Klügl > wrote: > >> I missed the default example project: >> >> >> https://svn.apache.org/repos/asf/uima/ruta/trunk/example-projects/ruta-maven-example >> >> There is currently some effort to provide a ruta-based deidentification >> of clinical notes in cTAKES. It's work in progress and not up-to-date >> right now, but maybe also an example you can look at: >> >> https://svn.apache.org/repos/asf/ctakes/sandbox/ctakes-clinical-deid >> >> Let me know if these examples do help or if you need something else. >> >> Best, >> >> Peter >> >> Am 17.01.2016 um 22:42 schrieb Peter Klügl: >>> and sorry for all the typos... >>> >>> Am 17.01.2016 um 22:34 schrieb Peter Klügl: >>>> Hi, >>>> >>>> first of all, sorry that I did not answer your last mail on Friday as >>>> I said. >>>> >>>> There are some example/test projects for UIMA Ruta based on maven: >>>> >>>> http://home.apache.org/~pkluegl/examples/date-example.zip >>>> >> https://svn.apache.org/repos/asf/uima/ruta/trunk/ruta-maven-plugin/src/it/conflictingShortName >>>> >> https://svn.apache.org/repos/asf/uima/ruta/trunk/ruta-maven-plugin/src/it/importByName >>>> >> https://svn.apache.org/repos/asf/uima/ruta/trunk/ruta-maven-plugin/src/it/multimodule >>>> >> https://svn.apache.org/repos/asf/uima/ruta/trunk/ruta-maven-plugin/src/it/wordlists >>>> >>>> In the last four projects, the version needs to be set since they are >>>> integration tests. To test the projects, siply download/ extract or >>>> checkout the projects and import them as mexisting maven projects in >>>> Eclipse. >>>> >>>> The documentation of the maven plugin for ruta can be found here: >>>> >>>> >> https://uima.apache.org/d/ruta-current/tools.ruta.book.html#ugr.tools.ruta.maven >>>> >>>> >>>> I will try to provide a more information (also for your last mail) >>>> tomorrow. >>>> >>>> Best, >>>> >>>> Peter >>>> >>>> >>>> Am 17.01.2016 um 20:34 schrieb Bonnie MacKellar: >>>>> Hi, >>>>> >>>>> I had posted earlier asking about best practices for building a project >>>>> that uses uimaFit, Ruta, and the Metamap annotator. My current project, >>>>> while it works, is inordinately complex and I can't seem to figure >>>>> out the >>>>> right way to structure it. I did get the advice to use Maven. I don't >>>>> normally use Maven, but I would if it gave some way to simplify this >>>>> mess. >>>>> However, I can't find any mention of using Maven in the Uima >>>>> tutorial, so I >>>>> am at a loss as to how to start. Are there instructions on the web >>>>> that I >>>>> am just not finding? An example project? >>>>> >>>>> thanks, >>>>> Bonnie MacKellar >>>>> >>