A set of classes to be used in projects related to ClinicalTrials.gov.
To use the ctakes classes we need to install cTAKES:
-
Install Maven (This is for OS X, requires [Homebrew][], adapt accordingly)
brew install maven
-
Run the script
ctakes-extras/ctakes-install.sh
, which will:- checkout a copy of cTAKES into
./ctakes-svn
(if you haven't already) or update from the SVN repo - package cTAKES using Maven
- move the compiled version to
./ctakes
- copy over the extras in
./ctakes-extras
- checkout a copy of cTAKES into
-
Create a file named
./umls.sh
containing your UMLS username and password:UMLS_USERNAME='username' UMLS_PASSWORD='password'
This currently does not work correctly.
To use MetaMap, download and install MetaMap:
-
Download from NLM
-
Extract the archive into our root directory and rename it to
metamap
-
Copy the script
metamap-extras/run.sh
tometamap/
-
Run the install script:
./metamap/bin/install.sh
requirements:
- nltk