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 3651317F44 for ; Fri, 3 Apr 2015 03:05:34 +0000 (UTC) Received: (qmail 87326 invoked by uid 500); 3 Apr 2015 03:05:34 -0000 Delivered-To: apmail-ctakes-dev-archive@ctakes.apache.org Received: (qmail 87261 invoked by uid 500); 3 Apr 2015 03:05:34 -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 87250 invoked by uid 99); 3 Apr 2015 03:05:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2015 03:05:33 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcactakesd-dev@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2015 03:05:06 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ydruq-0002xS-0a for dev@ctakes.apache.org; Fri, 03 Apr 2015 05:05:04 +0200 Received: from host-187-161.codecvi.clients.pavlovmedia.com ([68.234.187.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Apr 2015 05:05:03 +0200 Received: from teixeira09 by host-187-161.codecvi.clients.pavlovmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Apr 2015 05:05:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@ctakes.apache.org From: Pedro Teixeira Subject: Re: Running cTAKES via command line Date: Fri, 3 Apr 2015 02:58:37 +0000 (UTC) Lines: 27 Message-ID: References: <1428018358698.661a51a2@Nodemailer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 68.234.187.161 (Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36) X-Virus-Checked: Checked by ClamAV on apache.org John Green writes: > > Hi! > It depends on what you mean by run on the command line... Can you clarify the use case?Jg > > On Thu, Apr 2, 2015 at 5:42 PM, Pedro Teixeira > wrote: > > > Hello, I've got an installation of cTAKES running but am unsure of how to > > run it via commandline only. I'd like to write a script to automate > > processing and skip the GUI. A quick search hasn't turned anything up. Any > > advice on how to do that? Will I have to dig into the code to do this? > > Thanks! I'd like to have as input a string/file/directory with files and then call cTAKES to process and output the XML result (picking one of the analysis engines/setting parameters upon initiation). I want to just run this without having to boot up the GUI and manually select everything and click run. Seems easiest to automate that if I can run it via command line and then just write scripts around that. Thanks!