Also, of note, Tika now has support for doing this, either from cURL (Tika-Server) or the command line (Tika-app):
http://wiki.apache.org/tika/cTAKESParser ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Chief Architect Instrument Software and Science Data Systems Section (398) NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 168-519, Mailstop: 168-527 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Associate Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: Pei Chen <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Tuesday, October 6, 2015 at 1:21 PM To: "[email protected]" <[email protected]> Subject: Re: How to use cTAKES from the command line? >Hi Franck, >There was a similar questions on this topic: >In particular, you can run CPE directly from the command line w/o the UI. > >Check out: >http://mail-archives.apache.org/mod_mbox/ctakes-dev/201505.mbox/%3CCAOsyzK >[email protected]%3E > >On Sun, Oct 4, 2015 at 3:00 PM, Franck Dernoncourt ><[email protected]> wrote: >> Hi, >> >> I wonder how to use cTAKES from the command line. >> >> E.g. : >> - I have a file note.txt that contains some text like "Patient had >>elevated >> blood sugar but tests confirm no diabetes. Patient's father had adult >>onset >> diabetes." >> - I want to use the provided analysis engine >> >>"\apache-ctakes-3.2.2-bin\apache-ctakes-3.2.2\desc\ctakes-clinical-pipeli >>ne\desc\analysis_engine\AggregatePlaintextUMLSProcessor.xml" >> >> How can I get the analyse engine's output (viz. the annotations) using >>the >> command line (i.e. without using graphical user interfaces such as UIMA >>CAS >> Visual Debugger or the Collection Processing Engine)? I'd prefer to use >>to >> use the provided JAR files rather than having to compile the code. >> >> The question is fairly simple but I couldn't find the information in >> cTAKES's README (https://svn.apache.org/repos/asf/ctakes/trunk/README) >>or on >> Confluence >>(https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+3.0). >> >> Thanks, >> Franck >> >> >> ---- >> Franck Dernoncourt >> [email protected] >> http://francky.me >> >> >>
