bionlplab / bioc

Data structures and code to read/write BioC XML and Json.
MIT License
29 stars 11 forks source link

Convert BioC to brat? #22

Closed serenalotreck closed 1 year ago

serenalotreck commented 1 year ago

I have a BioC formatted dataset that I'd like to be able to use in brat. I looked at the code for brat2bioc and it looks like there's no way to convert in the opposite direction; however, in the brat2bioc tech report it says that the original code in java allowed conversion in both directions ("that translates annotations originally in brat format into BioC and vice versa").

Is there a way to bring this functionality into the python module?

EDIT: spelling

yfpeng commented 1 year ago

We don't provide a reverse conversion.