nlplab / brat

brat rapid annotation tool (brat) - for all your textual annotation needs
http://brat.nlplab.org
Other
1.79k stars 511 forks source link

arc space miscalculated for spans with long texts #1015

Open TomokoOhta opened 11 years ago

TomokoOhta commented 11 years ago

To replicate, create .txt

p65 and p50 form NF-kappaB.

.ann

T2  Protein 8 11    p50
T4  Heterodimer_association 12 16   form
E1  Heterodimer_association:T4 Reactant:T2

the resulting visualization has a lot of extra space around the arc label.

The issue does not occur if the span text is shorter, e.g.

T2  Protein 8 11    p50
T4  Binding 12 16   form
E1  Binding:T4 Reactant:T2
TomokoOhta commented 11 years ago

screenshots: with issue bug-report -with-issue

without issue: bug-report