Return-Path: X-Original-To: apmail-ctakes-user-archive@www.apache.org Delivered-To: apmail-ctakes-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 52ECC183C1 for ; Thu, 25 Jun 2015 14:11:14 +0000 (UTC) Received: (qmail 77721 invoked by uid 500); 25 Jun 2015 14:11:09 -0000 Delivered-To: apmail-ctakes-user-archive@ctakes.apache.org Received: (qmail 77705 invoked by uid 500); 25 Jun 2015 14:11:09 -0000 Mailing-List: contact user-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ctakes.apache.org Delivered-To: mailing list user@ctakes.apache.org Received: (qmail 77694 invoked by uid 99); 25 Jun 2015 14:11:08 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2015 14:11:08 +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 835AD1A60E8 for ; Thu, 25 Jun 2015 14:11:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.011 X-Spam-Level: **** X-Spam-Status: No, score=4.011 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 8czLy33JjmkD for ; Thu, 25 Jun 2015 14:11:00 +0000 (UTC) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 00A0543A5B for ; Thu, 25 Jun 2015 14:10:59 +0000 (UTC) Received: by wgqq4 with SMTP id q4so63804215wgq.1 for ; Thu, 25 Jun 2015 07:10:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=WNt/wC+NbwLjoOZhtHuiKMVWTfqo0k6bUYGy74VUXCA=; b=iEQyBy+ZpfIyswNZavteVbLbGsPjvvRN4dDJE5aDyYVwibx/kJAdg1c5Au/9GtwX40 duoJ/amVFqDUwsfAKli988aHDomYGroeBvg4DEImzrhSqJs+ZmpBev3n8c7DH7ev5c+z wLPzhNKPdPlrmGHQBRzEYCdQ2EKf1dkGAzwLT50a8DGMqlhtqXnUr4aknp3hZLUoFAK2 xpx4mAdjy1Hr3wztFZECY4Ib9ABe7d++JczWkw5EAI7NA3gLgM5jAuPItMU/ScwhIIzh 269u9FFOx5yX0lAo9Mv+l8LmkTn7qo7rMykCZPCDjoiOY9xhUGTy6xqq4A85zm5+tE2s OrQg== X-Gm-Message-State: ALoCoQkl/GUI6V5NbC7OeoeNOshw6kiBjOb+5pSPCGqPAs+F8rU4yiapSTSW/jqGmQakX6s1InaS MIME-Version: 1.0 X-Received: by 10.194.142.146 with SMTP id rw18mr77739876wjb.110.1435241459211; Thu, 25 Jun 2015 07:10:59 -0700 (PDT) Received: by 10.194.16.199 with HTTP; Thu, 25 Jun 2015 07:10:59 -0700 (PDT) In-Reply-To: References: Date: Thu, 25 Jun 2015 08:10:59 -0600 Message-ID: Subject: Re: Running cTAKES through Java From: Bruce Tietjen To: user@ctakes.apache.org Content-Type: multipart/alternative; boundary=089e013a2f0057f7f10519583137 --089e013a2f0057f7f10519583137 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jeff, If your process is working except that it takes 14 minutes, then I suggest that you check to see if cTakes is reading the lookup dictionary files from .jar files. cTakes can run with the dictionary resources in .jar files, but it will be very slow. [image: IMAT Solutions] Bruce Tietjen Senior Software Engineer [image: Mobile:] 801.634.1547 bruce.tietjen@imatsolutions.com On Thu, Jun 25, 2015 at 7:56 AM, Jeff Headley wrote: > I can tell you what I am trying to do, but that is only with limited > success. I am very new to cTAKES. I just put together a simple Spring Boo= t > app and defined the ctakes dependencies in the pom.xml. Then I pass in a > filename on the command line to the app and open it and pass the text on = to > cTAKES. I=E2=80=99m doing something wrong somewhere though because it tak= es 14 > minutes to process the tiny 1-line text file (sits on one of the UMLS > annotators for a long time as I recall) whereas I can put the same text i= n > the CVD and get results back immediately. > > On Jun 25, 2015, at 6:19 AM, Sai Anuroop wrote: > > Hi All, > @Lance,Jeff:Thanks a lot for your posts.Basically I want to run cTAKES i= n > background by choosing File Collection Reader,AE and CAS Consumer using > java code and produce XML output.Presently I have installed the developer > version of cTAKES,So can you please tell me where to write above java cod= e > and how to run it. > > Regards, > Vetsa Sai Anuroop > > > --089e013a2f0057f7f10519583137 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Jeff,

If your process is working except that = it takes 14 minutes, then I suggest that you check to see if cTakes is read= ing the lookup dictionary files=C2=A0 from .jar files.

cTakes = can run with the dictionary resources in .jar files, but it will be very sl= ow.


3D"IMAT
Bruce Tietj= en
Senior Software Engineer
3D"Mobile:" 801.634.1547
bruce.tietjen@imatsolutions.com

On Thu, Jun 25, 2015 at 7:56 AM, Jeff Headle= y <jeffunf96@gmail.com> wrote:
I can tell you what I am trying = to do, but that is only with limited success. I am very new to cTAKES. I ju= st put together a simple Spring Boot app and defined the ctakes dependencie= s in the pom.xml.=C2=A0 Then I pass in a filename on the command line to th= e app and open it and pass the text on to cTAKES. I=E2=80=99m doing somethi= ng wrong somewhere though because it takes 14 minutes to process the tiny 1= -line text file (sits on one of the UMLS annotators for a long time as I re= call) whereas I can put the same text in the CVD and get results back immed= iately.=C2=A0

On Jun 25, 2015, at 6:19 AM, Sai Anuroop <sai.anuroop@abzooba.com> wrote:=

Hi All,
=C2=A0@Lance,Jeff:Thanks a= lot for your posts.Basically I want to run cTAKES in background by choosin= g File Collection Reader,AE and CAS Consumer using java code and produce XM= L output.Presently I have installed the developer version of cTAKES,So can = you please tell me where to write above java code and how to run it.
<= /div>

Regards,
Vetsa Sai Anuroop


--089e013a2f0057f7f10519583137--