Provides access to MedTagger NLP functionality as a REST service as a UIMA-Stream-Server Plugin
Installation
- Install the REST server module of UIMA-Stream-Server
- Download the distributable ZIP file of the latest MedTagger release (file named MedTagger.zip)
- Extract contents as-is to the UIMA-Stream-Server's working directory (medtaggerieresources folder should be at same level as the libs folder)
- Move MedTagger.jar into the /libs folder
- Download the latest MedTaggerRESTPlugin release (file named MedTaggerRESTPlugin.zip)
- Extract contents to UIMA-Stream-Server's working directory (medtagger_rest_config.json should be at same level as the libs folder)
- Edit
medtagger_rest_config.jsonfile 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