-
Notifications
You must be signed in to change notification settings - Fork 24
Using brat annotation tool
bsharpataz edited this page Nov 29, 2018
·
2 revisions
Currently the brat annotation tool only displays entities and it is geared for annotating Intervention vs Concept.
- download (
http://brat.nlplab.org/index.html) - setup with instructions here:
http://brat.nlplab.org/installation.html - set a username (like
becky) and a lame password (likewm, what you type is shown!)
- replace
annotation.confwith:
[entities]
Intervention
Concept
Ungrounded
[relations]
[events]
[attributes]
- replace
visual.confwith:
[labels]
[drawing]
Intervention bgColor:#ffff00
Concept bgColor:#00ff00
Ungrounded bgColor:#ff0000
- The brat annotations will live in a (sub)directory you make (inside the brat directory,
brat-v1.3_Crunchy_Frog):
cd brat-v1.3_Crunchy_Frog/data
mkdir <eidos_annotations_folder>
chmod 777 <eidos_annotations_folder>
- run the python script over the jsonld output of eidos:
python2 ~/Downloads/jsonld_to_brat.py /path/to/jsonld_files data/<eidos_annotations_folder>/
cd brat-v1.3_Crunchy_Frog
python2 standalone.py
Go to localhost:8001 in your browser and have fun!