Skip to content

wincentbalin/opennlp-brat-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker setup of brat annotator and OpenNLP framework

OpenNLP framework contains the connector to the brat annotator. This docker-compose recipe connects the two and enables a quick setup of an OpenNLP+brat annotation environment.

Setup

OpenNLP and brat run in different containers, linked by docker-compose. The brat container listens internally on port 8001, but externally it is exposed on the port 80. Therefore, after executing

docker-compose up

in the project directory, you might simply point your browser to the server, where Docker is running, and start annotating.

Configuration

The credentials to brat environment can be seen at the head of the brat Dockerfile. OpenNLP is configured as the automatic annotator in the file tools.conf. Other settings remained unchanged. Should you wish to change settings, you can extract the configuration files from the brat installation archive, edit them and then COPY them in the Dockerfile.

License

opennlp-brat-docker is released under Apache License 2.0.

About

Docker setup of brat annotator and OpenNLP framework

Topics

Resources

License

Stars

Watchers

Forks