dirkweissenborn / ctakes-server

A simple REST-server around ctakes clinical pipeline.
30 stars 15 forks source link

Install

ln -s $CTAKES_HOME/resources resources 
ln -s $CTAKES_HOME/desc desc 

Running Server

You can also start a simple REST Server with the following command (assuming you are in root dir):

java -Dctakes.umlsuser=<YOUR_UMLS_ID_HERE> -Dctakes.umlspw=<YOUR_UMLS_PASSSWORD_HERE> -Xmx5g -cp target/ctakes-server-0.1.jar:resources/ de.dfki.lt.ctakes.Server host(e.g. localhost) port(e.g. 9999) desc/path/to/desc.xml

You can then use the REST service via GET requests with parameters "text". E.g., in browser:

http://localhost:9999/ctakes?text=Pain in the left leg.

YTex Install Notes

Recommendations