Open Bhuvanesh-Verma opened 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.23%. Comparing base (
346cc25
) to head (4bd61a1
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR adds a breaking change to the previous implementation of annotation attributes in
BratDocument
andBratDocumentWithMergedSpans
. Previously, both of these documents had separate layers for span and relation attributes asspan_attributes
andrelation_attributes
respectively. With the new changes, the attributes are stored in each document'sattribute
layer, which targets spans and relations.The following example shows how annotation attributes can be added: