stevehenderson / coreNLP-brat

Webservices for CoreNLP and brat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoreNLP Server

This project contains:

  1. docker commands for running the Stanford CoreNLP Web Service
  2. docker commands for tunning an API that translates Standford CoreNLP output to brat (see API subfolder)

An effective tagging workflow requires both service to be running.

Stanford CoreNLP Web Service

Start

To start the web service:

./start.sh

Usage

You can send wget command using the CoreNLP Api.

An example is contained in the test-json.sh and test-xml.sh bash files.

./test-json.sh

The corenlp-brat-api accesses this service to create the format needed for brat autotagging.

Docker Check

To see what's running

docker ps

To stop all running containers:

docker stop $(docker ps -aq)

To remove and refresh the installation:

docker rm $(docker ps -aq)

To remove the running coreNLP container:

docker stop coreNLP

docker rm coreNLP

To remove the brat image:

docker rmi [-f] coreNLP

About

Webservices for CoreNLP and brat


Languages

Language:Python 68.3%Language:Shell 31.7%