Questions tagged [brat]

Describes usage of brat, a rapid annotation tool for documents.

(Taken from the brat website)

brat is a web-based tool for text annotation; that is, for adding notes to existing text documents.

brat is designed in particular for structured annotation, where the notes are not freeform text but have a fixed form that can be automatically processed and interpreted by a computer.

35 questions
1
vote
1 answer

Brat annotation file to json file conversion

I am new to using brat annotation tool and I want to convert two of my annotation files "test.ann" and "train.ann" to .json files so that I can use them in my neural network. Is there any specific conversion tool for the same? I have tried a cli…
beaderAuro
  • 11
  • 2
1
vote
2 answers

How can I do squence labeling and entities relationships labeling at the same time

Is there an NLP annotation tool can do both of them? Btw, I can't install Brat, the download page is 404 page. I have doccane and tagtog but it seems that they can only do one kind of labeling.
yyddl
  • 9
  • 1
1
vote
0 answers

Keep alignments in Named Entity Recognition tasks after cleaning text

I am working on a Named Entity Recognition (NER) task and the entities are annotated in BRAT format (.txt + .ann). I have implemented some regular expressions to clean the texts before using my model, but if I modify the text I have to align the…
1
vote
1 answer

Create per user workspace in nlplab Brat annotation tool

Is it possible to separate users on one Brat server instance? I know how to create new user accounts in the config.py file, but it seems that all users can view all files (in Brat's data directory) through the collection window in the web app. I…
Ondrej Sotolar
  • 1,352
  • 1
  • 19
  • 29
1
vote
0 answers

brat: multiple tags by multiple choice?

I wish I didn't have to open the New Annotation window for each additional tag I want to assign to the same string. Multiple choice within a single open window would help to speed up the annotation a lot. Is that possible?
arsenrosen
  • 11
  • 1
1
vote
1 answer

How do you set events through the UI in Brat?

I'm trying to use events through the UI, I'm not seeing how to properly use them in the documentation. I'm interested in tagging subject predicate and object and then connecting them (since there can be multiple in each sentence). In this case,…
user3071643
  • 1,405
  • 1
  • 15
  • 18
1
vote
0 answers

Which Cygwin packages does one need to install to run BRAT?

I run BRAT with Cygwin on Windows 7 SP1 x64 Ultimate. To do so, I run in Cygwin: mkdir brat cd brat wget http://weaver.nlplab.org/~brat/releases/brat-v1.3_Crunchy_Frog.tar.gz tar xzf brat-v1.3_Crunchy_Frog.tar.gz cd…
Franck Dernoncourt
  • 77,520
  • 72
  • 342
  • 501
1
vote
1 answer

How do I configure the OpenNLP Brat Annotation Service?

Hi I am trying to get OpenNLP's Brat Annotation Service working with the BRAT annotator. I can get OpenNLP's Brat annotation Service started, with the following command: bin/brat-annotation-service NameFinderAnnService -serverPort 8999…
HowYaDoing
  • 820
  • 2
  • 7
  • 15
1
vote
2 answers

Failed to execute 'getStartPositionOfChar' on 'SVGTextContentElement'

What is the reason of the following exception? DOMException: Failed to execute 'getStartPositionOfChar' on 'SVGTextContentElement': The charnum provided (0) is greater than or equal to the maximum bound (0). Actually, I'm trying to integrate…
Technocrat
  • 99
  • 2
  • 11
1
vote
1 answer

How do you order annotations by offset in brat?

When using the rapid annotator tool brat, it appears that the created annotations file will present the annotation in the order that the annotations were performed by the user. If you start at the beginning of a document and go the end performing…
demongolem
  • 9,474
  • 36
  • 90
  • 105
0
votes
0 answers

How to visualize Stanford Stanza NER results with BRAT

I am using Stanza Biomedical i2b2 processor to identify PROBLEM, TREATMENT and TEST entities in drugs data. Python code is as follows: import stanza stanza.download( "en", package="mimc", processors={"ner": ["i2b2"]}, …
0
votes
0 answers

BRAT annotation logging

According to the Brat features website, there is the following feature: Detailed annotation process measurement brat can optionally be configured to record the precise time that an annotator opens a document, each edit action, and even the time…
Evelin Amorim
  • 1,058
  • 8
  • 12
0
votes
1 answer

How to convert txt.knowtator.xml file to .ann?

I have an annotated dataset in txt.knowtator.xml format Unknown
torakxkz
  • 483
  • 5
  • 17
0
votes
1 answer

How to read multiple ann files (from brat annotation) within a folder into one pandas dataframe?

I can read one ann file into pandas dataframe as follows: df = pd.read_csv('something/something.ann', sep='^([^\s]*)\s', engine='python', header=None).drop(0, axis=1) df.head() But I don't know how to read multiple ann files into one pandas…
Hildee
  • 79
  • 5
0
votes
2 answers

Unable to annotate multiple lines in Brat

When I am trying to annotate multiple lines in Brat, it throws me the following error: What does this error trace mean/say? Also, is this is an expected behavior? How does one annotate multiple lines in Brat?
Dawny33
  • 10,543
  • 21
  • 82
  • 134