pelagios / recogito2

Semantic Annotation Without the Pointy Brackets
Apache License 2.0
152 stars 30 forks source link

TEI Standoff annotations #645

Open hcayless opened 5 years ago

hcayless commented 5 years ago

This is an idea I've been mulling for a while, but there should soon be a standard way to embed standoff annotations in the TEI export, meaning you wouldn't need to rewrite the file to embed them, and their targets could fall across element boundaries without breaking anything. I did some work on this for a talk at Balisage this summer (still need to revise the paper or I'd link to it, slides are here).

This is blocked by the fact that <standoff> hasn't been implemented for TEI yet, but that's only a matter of time. There's stuff that would have to happen before it can be done, but I'm pretty sure it's viable. Not sure it should replace the current export, but might provide a more-complete alternative.

rsimon commented 5 years ago

Sounds great. And, compared to the current export code that does the inlining of the annotations into the markup, this should be fairly straightforward I assume? I don't think it needs to replace the current export. We could always give people the option which flavour they prefer? (Although if we do this via, say, a checkbox, we can decide for ourselves what we would like the default to be.)