Return-Path: X-Original-To: apmail-ctakes-dev-archive@www.apache.org Delivered-To: apmail-ctakes-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7E4F10E7F for ; Wed, 19 Jun 2013 19:47:06 +0000 (UTC) Received: (qmail 92273 invoked by uid 500); 19 Jun 2013 19:47:06 -0000 Delivered-To: apmail-ctakes-dev-archive@ctakes.apache.org Received: (qmail 92247 invoked by uid 500); 19 Jun 2013 19:47:06 -0000 Mailing-List: contact dev-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list dev@ctakes.apache.org Received: (qmail 92239 invoked by uid 99); 19 Jun 2013 19:47:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 19:47:06 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of girinambari@gmail.com designates 209.85.223.170 as permitted sender) Received: from [209.85.223.170] (HELO mail-ie0-f170.google.com) (209.85.223.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 19:47:00 +0000 Received: by mail-ie0-f170.google.com with SMTP id e11so14501830iej.15 for ; Wed, 19 Jun 2013 12:46:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=fuKpE73VRadzCboNfGqowa7cYWwjDYeKVcSJl5Cj2GQ=; b=Zo6qDO6uG7i/wOCQDnsBiorRUXMvfXUoNFp3nu9kE9FvAHUaTvkgF7ZbhDFNtESbph MCTvNIn+gOqq+UWF9pO0vQDTWprc7fF0OuoNOlABnO2Z4Xoz8icSOqvtONNnIiVQkkrd kOEfo5UCKEVdq/HovnaPS7nkQZrxw+L3b1eaZi7OQMp3GPsmqaKTiCPrMpvz3rT0etfp 4XtK5TAnuNhf45t0Fn6CxKPko/S1UOSTgN565BrjuOtmyRSDnCauys54sDOxRoqdxL3V aEoLyfg3m9dzXsf92It6UESV7YQ0426H2yxBLUyp9qtoPSmze0NcA87b9YLq/XreW0Aq we8Q== X-Received: by 10.50.57.111 with SMTP id h15mr2134152igq.45.1371671199487; Wed, 19 Jun 2013 12:46:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.96.137 with HTTP; Wed, 19 Jun 2013 12:46:19 -0700 (PDT) In-Reply-To: References: From: Girivaraprasad Nambari Date: Wed, 19 Jun 2013 15:46:19 -0400 Message-ID: Subject: Re: docs on running Clinical Document Pipeline from Java? To: "dev@ctakes.apache.org" Content-Type: multipart/alternative; boundary=047d7bdc1b609841a804df8716f7 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bdc1b609841a804df8716f7 Content-Type: text/plain; charset=ISO-8859-1 Hi, Welcome to ctakes. There was a similar discussion initiated by me few months ago (you may be able to find out if you browse through old discussions) . Here is response form Pei Chen & ctakes community: It is not quite prime time ready but, take a look peek at the below (It uses uimaFIT to do the above): ** http://svn.apache.org/repos/asf/ctakes/sandbox/ctakes-gui/src/main/java/org/chboston/cnlp/ctakes/gui/service/LauncherService.java **** ** Essentially, it boils down to a few lines of code: AnalysisEngine aggregateAE = AnalysisEngineFactory.createAggregate(**** engines, componentNames, typeSystemDescription, null,**** new SofaMapping[0]);**** **** JCas jcas = aggregateAE.newJCas();**** jcas.setDocumentText(doc.getText());**** aggregateAE.process(jcas); We need to start from UIMA and UIMAfit to get some basic understanding, then using ctakes component will be easy. Good luck! Thank you, Giri On Wed, Jun 19, 2013 at 3:17 PM, Sandy Ryza wrote: > Hi cTAKES folks, > > I am trying to figure out how to run the Clinical Document Pipeline from > Java. All the documentation I have found so far has been about how to do > this through a GUI. Is there anything on how to run the pipeline > programmatically? > > thanks for any help! > Sandy > --047d7bdc1b609841a804df8716f7--