Yes indeed.  The chip-nlp and upmc Deep Phenome team uses ctakes as a maven 
dependency.

If the project uses maven just add ctakes poms as dependencies.  For instance, 
if you want to add everything necessary for the clinical pipeline:
      <dependency>
         <groupId>org.apache.ctakes</groupId>
         <artifactId>ctakes-clinical-pipeline</artifactId>
         <version>${ctakes.version}</version>
      </dependency>

To add individual modules:
      <dependency>
         <groupId>org.apache.ctakes</groupId>
         <artifactId>ctakes-temporal</artifactId>
         <version>${ctakes.version}</version>
      </dependency>

Either hardcode the version or use (with your desired version):
   <properties>
      <ctakes.version>3.2.3-SNAPSHOT</ctakes.version>
      ...
   </properties>

You can find the available modules here:
https://mvnrepository.com/artifact/org.apache.ctakes

There is a tiny module in ctakes sandbox named ctakes-the-api.  It consists of 
a simple pom.xml that can be used to do exactly what interests you.  Download 
that pom and look at the comments inside.  It should be pretty self-explanatory.

If you aren't using maven you can download the jar files that you want from the 
same site (https://mvnrepository.com/artifact/org.apache.ctakes ).  Click on a 
module then a version.  There will be -code- for various build systems.  
If your build is manual, click "Download (JAR)".  If you go the jar route you 
will also need to download all of the "compile dependencies" below.

Sean


-----Original Message-----
From: Dligach, Dmitriy [mailto:ddlig...@luc.edu] 
Sent: Friday, April 14, 2017 10:48 AM
To: cTAKES Developer list
Subject: cTAKES as a dependency

Hello,

Has anybody tried to run a cTAKES pipeline without having a local cTAKES 
installation? In other words, is it possible to set up a maven project that 
will use cTAKES as an external dependency?

Dima



Reply via email to