Easy deployment of the brat server for text annotation using docker
-
Configuration: Fill
.env
and / orconfig.py
-
Add users in
userlist.txt
with one user + " " + password per line -
Build image:
docker-compose build
-
Run the server:
docker-compose up -d
Given a corpus of txt files to be annotated. Put the files in a folder in the data directory. Before starting annotation, .ann files needs to be created. You can create them with the following command
find data -name '*.txt' | sed -e 's|\.txt|.ann|g' | xargs touch
For information about using the tool, see the manual