Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Clarified resource download/installation instructions.

...

Step

Example

1. Navigate to the cTAKES downloads page on the Apache site and download the binary package. Select a mirror site and press the Change button to modify the URL to your desired mirror location before doing the download or accept the default.

Windows:
Download the ZIP file.
Linux:
Use wget to obtain the *.TAR.GZ file.
wget <URL of the file from downloads>

Info

The download time will be commensurate with ~165MB of data.

Windows:

Linux:

Code Block
languagenone
HTTP request sent, awaiting response... 200 OK
Length: 763500777 (728M) [application/x-gzip]
Saving to: `apache-ctakes-3.1.0-bin.tar.gz'

13% [===========>                                     ] 106,548,331 1.13M/s eta 11m 9s

2. (Optional but recommended) Verify the downloaded files against a file signature to ensure you have the proper and complete file.

No example

3. Unzip the file you downloaded into a directory that you want to be the cTAKES install location. The compressed files contain a single directory at the top level. This folder we will call <cTAKES_HOME>. You will need to refer to this directory later.

Windows:

Code Block
languagenone
C:\apache-ctakes-3.1.0

Linux:

Code Block
languagenone
/usr/local/apache-ctakes-3.1.0

Windows:

Linux:

Code Block
languagenone
tar -xvf apache-ctakes-3.1.0-bin.tar.gz -C /usr/local 

4. Download cTAKES 3.1 Dictionaries and modelsthe cTAKES resources ZIP file with a matching version from the ctakesresources project.(More information). These resources are required to operate cTAKES.

Info

Due to licensing considerations and easy of installability, one download from resources are hosted at an external location was established . For ease of installation, a single package was created with all the resources you will need. Licensing for these resources is found within the download.

Info

Download time will be commensurate with 1GB of data.

Windows:
Go to cTAKES resources and download the ZIP file with a matching version from the ctakesresources project

.


Unzip the files into a temporary location such as C:\temp.
Linux:
Obtain the URL of the version matching ZIP file from cTAKES resources , get the file, and unzip to file into a temporary location.

Windows:


Linux:

Code Block
langnone
cd /tmp
wget http://sourceforge.net/projects/ctakesresources/files/ctakes-resources-3.1.0.zip
sudo unzip ctakes-resources-3.1.0.zip

5. Copy (or move) the resources to cTAKES_HOME.
Copy the contents of the temporary resources directory (and all sub-directories) to <cTAKES_HOME>/resources.

Info

There may be conflicts while taking this action. Overwrite the cTAKES_HOME files with those in the resources download.



Windows:

Code Block
langnone
xcopy /s C:\temp\ctakes-resources-3.1.0\resources C:\apache-ctakes-3.1.0\resources

Linux:

Code Block
langnone
cp -R /tmp/resources/* /usr/local/apache-ctakes-3.1.0/resources

...