lfurrer / bconv

Python library for converting between BioNLP formats
MIT License
20 stars 3 forks source link

Fix Bioc JSON OffsetWriter TypeError #10

Closed coree closed 1 year ago

coree commented 1 year ago

Fixing the TyperError raised by Bioc JSON OffsetWriter by changing OffsetWriter entity() return to yield and iterating through the entity spans to handle discontinuous entities.