Search code examples
rnlpctakes

how to use ctakes in R


I am planning to use Ctakes in R for NLP tasks.But I am not clear on how to create a pipeline or use Ctakes in R? Can someone point me to a step by step procedure on how to use cTakes in R?


Solution

  • JSON, Res API Based Ctakes Check out this way of exposing ctakes through JSON & Rest API, you can then use GET/PUT from HTTR to call ctakes with clinical text you want to process.

      Follow instructions to install Ctakes as rest api
      Check out localhost:8080/ctakes-web-rest/
      Call rest services from R/Python by passing clinical text as query params
      Get ctakes output as JSON