Skip to content

OHNLP/MedTaggerRESTPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MedTagger as a RESTful Service

Provides access to MedTagger NLP functionality as a REST service as a UIMA-Stream-Server Plugin

Installation

  1. Install the REST server module of UIMA-Stream-Server
  2. Download the distributable ZIP file of the latest MedTagger release (file named MedTagger.zip)
  3. Extract contents as-is to the UIMA-Stream-Server's working directory (medtaggerieresources folder should be at same level as the libs folder)
  4. Move MedTagger.jar into the /libs folder
  5. Download the latest MedTaggerRESTPlugin release (file named MedTaggerRESTPlugin.zip)
  6. Extract contents to UIMA-Stream-Server's working directory (medtagger_rest_config.json should be at same level as the libs folder)
  7. Edit medtagger_rest_config.json file as appropriate

To Use

Direct a POST call to http(s)://www.yourserver.com:portnumber/ with a json body as below:

{
  "streamName": "RULESET_ID_AS_DEFINED_IN_medtagger_rest_config.json",
  "metadata": "",
  "document": "TEXT_TO_PROCESS",
  "serializers": ["medtagger"]
}

For Developers/Local Development To access github package repositories for dependency resolution, you will need to generate an appropriate github token with the read:packages permissions, and edit settings.xml appropriately by replacing ${env.SECRET_ACTOR} with your github username and ${env.SECRET_TOKEN} with the generated token.

Alternatively, fork the repository, go to settings, and add SECRET_ACTOR and SECRET_TOKEN

About

Leverages UIMA-Stream-Server to provide MedTagger functionality as a RESTful Service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages