Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step

Example

1. Install an SVN client.

Windows:
We used a binary package of Apache Subversion from SlikSVN.
Apache has a larger list here.
Download and run the MSI file.
Click Next.
Accept the license agreement.
Click Next.
Click Next.
Select Typical.
Select Install.
Wait
Click Finish.
Exit and restart any command prompts that were open.

Linux:

Code Block
apt-get install subversion
apt-get install libapache2-svn


Windows:


Linux:

2. Install a Maven 3.0+ client.

Windows:
We downloaded Apache Maven file apache-maven-3.0.4-bin.zip. Install instructions are on the same page.
Unzip the file to the root drive.
C:\apache-maven-3.0.4 will be your MAVEN_HOME.

Linux:
We downloaded Apache Maven file apache-maven-3.0.4-bin.tar.gz. Install instructions are on the same page.
Unzip the file to /usr/local/apache-maven-3.0.4 which will be your MAVEN_HOME.

Info

Run svn --version to check the setup

Windows:


Linux:

3. Set the Maven environment variable values -
M2_HOME=<MAVEN_HOME>
M2=<MAVEN_HOME>/bin
PATH=<existing Path>;<MAVEN_HOME>
where MAVEN_HOME is the path you unzipped to.

Windows:
Right-click on Computer > Properties > Advanced System Settings > Advanced tab > Environment Variables button > New button for User variables. Once the values are entered click OK until you are out of the dialog series.

Linux:

Code Block
export M2_HOME=/usr/local/apache-maven/apache-maven-3.0.4
export M2=$M2_HOME/bin
export PATH=$PATH:$M2
mvn --version
Info

Run mvn --version to check the setup

Windows:





Linux:

3. Checkout the cTAKES project.

Windows/Linux:

Code Block
svn co https://svn.apache.org/repos/asf/incubator/ctakes/trunk cTAKES-3.0

The parameter on the end will be created as a new directory in your current location.

Windows:

Code Block
C:\>svn co https://svn.apache.org/repos/asf/incubator/ctakes/trunk cTAKES-3.0

 ...

A ctakes-3.0\ctakes-type-system\pom.xml
A ctakes-3.0\ctakes-type-system\.settings
A ctakes-3.0\ctakes-type-system\.settings\org.eclipse.jdt.core.prefs
A ctakes-3.0\ctakes-type-system\.settings\org.eclipse.core.resources.prefs
A ctakes-3.0\ctakes-type-system\desc
A ctakes-3.0\DISCLAIMER
Checked out revision 1433729.

C:\>cd cTAKES-3.0
C:\cTAKES-3.0>

Linux:

4. Compile the complete set.

Make sure you are in the proper directory.

Windows/Linux:

Code Block
mvn clean compile package



Windows:

Code Block
...
\[INFO\] \-----------------------------------------------------------------------\-
\[INFO\] Reactor Build OrderSummary:
\[INFO\]
\[INFO\] Apache cTAKES
\[INFO\] Apache cTAKES common type system
\[INFO\] Apache cTAKES utils
\[INFO\ ..................................... SUCCESS [59.140s]
[INFO] Apache cTAKES core
\[INFO\] Apache cTAKES part-of-speech tagger
\[INFO\] Apache cTAKES chunker
\[INFO\] Apache cTAKES document preprocessor
\[INFO\common type system .................. SUCCESS [41.856s]
[INFO] Apache cTAKES dictionary lookup
\[INFO\] Apache cTAKES context dependent tokenizer
\[INFO\] Apache cTAKES LVG lexical tools
\[INFO\utils ............................... SUCCESS [6.255s]
[INFO] Apache cTAKES named entity contexts
\[INFO\] Apache cTAKES Constituency Parser
\[INFO\] Apache cTAKES Dependency Parser
\[INFO\core ................................ SUCCESS [17.940s]
[INFO] Apache cTAKES Assertion's zoner
...part-of-speech tagger ............... SUCCESS [5.148s]
[INFO] Apache cTAKES chunker ............................. SUCCESS [3.027s]
[INFO] Apache cTAKES document preprocessor ............... SUCCESS [4.118s]
[INFO] Apache cTAKES dictionary lookup ................... SUCCESS [1:14.740s]
[INFO] Apache cTAKES context dependent tokenizer ......... SUCCESS [5.975s]
[INFO] Apache cTAKES LVG lexical tools ................... SUCCESS [7.831s]
[INFO] Apache cTAKES named entity contexts ............... SUCCESS [4.743s]
[INFO] Apache cTAKES Constituency Parser ................. SUCCESS [9.516s]
[INFO] Apache cTAKES Dependency Parser ................... SUCCESS [32.386s]
[INFO] Apache cTAKES Assertion's zoner ................... SUCCESS [2.152s]
[INFO] Apache cTAKES Assertion ........................... SUCCESS [12.200s]
[INFO] Apache cTAKES ctakes-clinical-pipeline ............ SUCCESS [4.446s]
[INFO] Apache cTAKES Relation Extractor .................. SUCCESS [13.634s]
[INFO] Apache cTAKES CoReference Resolver ................ SUCCESS [8.923s]
[INFO] Apache cTAKES Drug NER ............................ SUCCESS [6.958s]
[INFO] Apache cTAKES Side Effects ........................ SUCCESS [7.566s]
[INFO] Apache cTAKES Smoking Status ...................... SUCCESS [8.377s]
[INFO] Apache cTAKES Pad Term Spotter .................... SUCCESS [9.048s]
[INFO] Apache cTAKES Temporal Information Extraction ..... SUCCESS [33.993s]
[INFO] Apache cTAKES Distribution ........................ SUCCESS [17:59.809s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24:22.120s
[INFO] Finished at: Wed Jan 16 17:44:35 CST 2013
[INFO] Final Memory: 41M/181M
[INFO] ------------------------------------------------------------------------


Linux:

Process documents using cTAKES